Package xyz.cofe.text.table
Class CellFormatMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.Object,CellFormat>
-
- xyz.cofe.text.table.CellFormatMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.Object,CellFormat>
public class CellFormatMap extends java.util.LinkedHashMap<java.lang.Object,CellFormat>
- Author:
- Kamnev Georgiy (nt.gocha@gmail.com)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCellFormatMap.ColumnIndexPredicatestatic classCellFormatMap.ColumnNamePredicate
-
Constructor Summary
Constructors Constructor Description CellFormatMap()CellFormatMap(CellFormatMap src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellFormatMapclone()CellFormat[]getByIndex(int colidx)CellFormat[]getByName(java.lang.String colname)voidput(int colIndex, CellFormat cf)voidput(java.lang.String colName, boolean ignoreCase, CellFormat cf)voidput(java.lang.String colName, CellFormat cf)-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Constructor Detail
-
CellFormatMap
public CellFormatMap()
-
CellFormatMap
public CellFormatMap(CellFormatMap src)
-
-
Method Detail
-
put
public void put(int colIndex, CellFormat cf)
-
put
public void put(java.lang.String colName, CellFormat cf)
-
put
public void put(java.lang.String colName, boolean ignoreCase, CellFormat cf)
-
clone
public CellFormatMap clone()
- Overrides:
clonein classjava.util.HashMap<java.lang.Object,CellFormat>
-
getByName
public CellFormat[] getByName(java.lang.String colname)
-
getByIndex
public CellFormat[] getByIndex(int colidx)
-
-