com.eliad.model.defaults
Class DefaultStyleModel.BooleanEditor

java.lang.Object
  |
  +--javax.swing.AbstractCellEditor
        |
        +--com.eliad.model.defaults.DefaultGridCellEditor
              |
              +--com.eliad.model.defaults.DefaultStyleModel.BooleanEditor

public static class DefaultStyleModel.BooleanEditor
extends DefaultGridCellEditor
implements javax.swing.SwingConstants

A specific editor for truth values

See Also:
Serialized Form

Inner classes inherited from class com.eliad.model.defaults.DefaultGridCellEditor
DefaultGridCellEditor.EditorDelegate
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
DefaultStyleModel.BooleanEditor()
          The default constructor.
 
Method Summary
 java.awt.Component getComponent(java.lang.Object value, boolean isSelected, int row, int column, GridContext gridContext)
           
 
Methods inherited from class com.eliad.model.defaults.DefaultGridCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, removeCellEditorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStyleModel.BooleanEditor

public DefaultStyleModel.BooleanEditor()
The default constructor. Uses a JCheckBox
Method Detail

getComponent

public java.awt.Component getComponent(java.lang.Object value,
                                       boolean isSelected,
                                       int row,
                                       int column,
                                       GridContext gridContext)
Overrides:
getComponent in class DefaultGridCellEditor