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 protectedAbstractColumnAdapter(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.StringgetColumnId()java.lang.StringgetName()Get the name to be displayed in the table column header.java.lang.StringgetResource(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:
getColumnIdin 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:ColumnAdapterGet a resource value for the table column.- Specified by:
getResourcein interfaceColumnAdapter<Bean,Value>
-
getName
public java.lang.String getName()
Description copied from interface:ColumnAdapterGet the name to be displayed in the table column header.- Specified by:
getNamein interfaceColumnAdapter<Bean,Value>
-
-