public abstract class ColumnInfo<Item,Aspect>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ColumnInfo[] |
EMPTY_ARRAY |
Constructor and Description |
---|
ColumnInfo(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static <I,A> ColumnInfo<I,A> [] |
emptyArray() |
boolean |
equals(java.lang.Object o) |
int |
getAdditionalWidth() |
java.lang.Class<?> |
getColumnClass() |
java.util.Comparator<Item> |
getComparator() |
javax.swing.table.TableCellRenderer |
getCustomizedRenderer(Item o,
javax.swing.table.TableCellRenderer renderer) |
javax.swing.table.TableCellEditor |
getEditor(Item item) |
javax.swing.Icon |
getIcon() |
java.lang.String |
getMaxStringValue() |
java.lang.String |
getName() |
java.lang.String |
getPreferredStringValue() |
javax.swing.table.TableCellRenderer |
getRenderer(Item item) |
java.lang.String |
getTooltipText() |
int |
getWidth(javax.swing.JTable table) |
boolean |
hasError() |
int |
hashCode() |
boolean |
isCellEditable(Item item) |
boolean |
isSortable() |
void |
setName(java.lang.String s) |
void |
setValue(Item item,
Aspect value) |
java.lang.String |
toString() |
abstract Aspect |
valueOf(Item item) |
public static final ColumnInfo[] EMPTY_ARRAY
public static <I,A> ColumnInfo<I,A> [] emptyArray()
public javax.swing.Icon getIcon()
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean isSortable()
public java.util.Comparator<Item> getComparator()
public java.lang.String getName()
public java.lang.Class<?> getColumnClass()
public boolean isCellEditable(Item item)
public javax.swing.table.TableCellRenderer getRenderer(Item item)
IconTableCellRenderer
,
LocalPathCellEditor
public javax.swing.table.TableCellRenderer getCustomizedRenderer(Item o, javax.swing.table.TableCellRenderer renderer)
public javax.swing.table.TableCellEditor getEditor(Item item)
ComboBoxTableCellEditor
public java.lang.String getMaxStringValue()
public java.lang.String getPreferredStringValue()
public int getAdditionalWidth()
public int getWidth(javax.swing.JTable table)
public void setName(java.lang.String s)
public java.lang.String getTooltipText()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean hasError()