jcreek.gui.representation
Class StringTypeField
java.lang.Object
javax.swing.AbstractCellEditor
jcreek.gui.representation.AbstractEntityTypeField
jcreek.gui.representation.StringTypeField
- All Implemented Interfaces:
- javax.swing.CellEditor, EntityTypeField, javax.swing.ListCellRenderer, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer
- public class StringTypeField
- extends AbstractEntityTypeField
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Method Summary |
java.lang.Object |
getCellEditorValue()
|
java.awt.Component |
getEditorComponent(java.lang.Object value)
Makes a generic editor component that can be used in lists, tables and as
parts of components. |
java.awt.Component |
getRendererComponent(java.lang.Object value)
Makes a generic rendering component that can be used in lists, tables and as
parts of components. |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
renderComponent
protected javax.swing.JLabel renderComponent
editorComponent
protected javax.swing.JTextField editorComponent
editingClass
protected java.lang.Class editingClass
StringTypeField
public StringTypeField()
getRendererComponent
public java.awt.Component getRendererComponent(java.lang.Object value)
- Makes a generic rendering component that can be used in lists, tables and as
parts of components.
- Parameters:
value
- The value of the field currently
- Returns:
- The editor component.
getEditorComponent
public java.awt.Component getEditorComponent(java.lang.Object value)
- Makes a generic editor component that can be used in lists, tables and as
parts of components.
- Parameters:
value
- The value of the field currently
- Returns:
- The editor component.
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
- Overrides:
getCellEditorValue
in class AbstractEntityTypeField
Created at IDI, NTNU by the Artificial Intelligence and Learning group