Class AbstractColumnAdapter<Bean,Value>
- java.lang.Object
-
- io.github.jonestimd.swing.table.model.AbstractColumnAdapter<Bean,Value>
-
- All Implemented Interfaces:
ReadAccessor<Bean,Value>
,ReadWriteAccessor<Bean,Value>
,WriteAccessor<Bean,Value>
,ColumnAdapter<Bean,Value>
- Direct Known Subclasses:
ConstantColumnAdapter
public abstract class AbstractColumnAdapter<Bean,Value> extends java.lang.Object implements ColumnAdapter<Bean,Value>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractColumnAdapter(java.util.ResourceBundle bundle, java.lang.String tableResourcePrefix, java.lang.String columnId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getColumnId()
java.lang.String
getName()
Get the name to be displayed in the table column header.java.lang.String
getResource(java.lang.String resourceId, java.lang.String defaultValue)
Get a resource value for the table column.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.jonestimd.swing.table.model.ColumnAdapter
getCursor, getType, handleClick, isEditable
-
Methods inherited from interface io.github.jonestimd.beans.ReadAccessor
getValue
-
Methods inherited from interface io.github.jonestimd.beans.WriteAccessor
setValue
-
-
-
-
Method Detail
-
getColumnId
public java.lang.String getColumnId()
- Specified by:
getColumnId
in interfaceColumnAdapter<Bean,Value>
- Returns:
- the table column ID
-
getResource
public java.lang.String getResource(java.lang.String resourceId, java.lang.String defaultValue)
Description copied from interface:ColumnAdapter
Get a resource value for the table column.- Specified by:
getResource
in interfaceColumnAdapter<Bean,Value>
-
getName
public java.lang.String getName()
Description copied from interface:ColumnAdapter
Get the name to be displayed in the table column header.- Specified by:
getName
in interfaceColumnAdapter<Bean,Value>
-
-