jcreek.gui.representation
Class IntegerTypeField

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byjcreek.gui.representation.AbstractEntityTypeField
          extended byjcreek.gui.representation.IntegerTypeField
All Implemented Interfaces:
javax.swing.CellEditor, EntityTypeField, javax.swing.ListCellRenderer, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer

public class IntegerTypeField
extends AbstractEntityTypeField

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
IntegerTypeField()
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getEditorComponent(java.lang.Object value)
          Implement this method to make a generic editor component that can be used in lists, tables and as parts of components.
 java.awt.Component getRendererComponent(java.lang.Object value)
          Implement this method to make a generic render component that can be used in lists, tables and as parts of components.
 
Methods inherited from class jcreek.gui.representation.AbstractEntityTypeField
addFocusListener, getListCellRendererComponent, getTableCellEditorComponent, getTableCellRendererComponent, getTreeCellEditorComponent
 
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
 

Constructor Detail

IntegerTypeField

public IntegerTypeField()
Method Detail

getRendererComponent

public java.awt.Component getRendererComponent(java.lang.Object value)
Description copied from interface: EntityTypeField
Implement this method to make a generic render component that can be used in lists, tables and as parts of components.

Parameters:
value - The value of the field currently
Returns:
The render component.

getEditorComponent

public java.awt.Component getEditorComponent(java.lang.Object value)
Description copied from interface: EntityTypeField
Implement this method to make 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