|
|||||||||
| Home >> All >> org >> integralsource >> monsoon >> [ jfc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.integralsource.monsoon.jfc
Class BooleanCellEditor

java.lang.Objectjavax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.integralsource.monsoon.jfc.BooleanCellEditor
- All Implemented Interfaces:
- javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor
- public class BooleanCellEditor
- extends javax.swing.DefaultCellEditor
| Nested Class Summary |
| Nested classes inherited from class javax.swing.DefaultCellEditor |
javax.swing.DefaultCellEditor.EditorDelegate |
| Field Summary | |
private int |
_lastRow
|
private java.awt.Color |
_selectedColor
|
private javax.swing.ListSelectionModel |
_selectionModel
|
| Fields inherited from class javax.swing.DefaultCellEditor |
clickCountToStart, delegate, editorComponent |
| Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
| Constructor Summary | |
BooleanCellEditor(javax.swing.JCheckBox box)
Override checkbox constructor to set the background and to add the edit listener |
|
| Method Summary | |
int |
getLastRow()
Returns the index of the last row edited |
javax.swing.ListSelectionModel |
getSelectionModel()
Returns the list selection model of the table edited |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Get the cell editor component that will perform the editing session. |
| Methods inherited from class javax.swing.DefaultCellEditor |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing |
| Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener |
| 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, removeCellEditorListener |
| Field Detail |
_selectionModel
private javax.swing.ListSelectionModel _selectionModel
_lastRow
private int _lastRow
_selectedColor
private java.awt.Color _selectedColor
| Constructor Detail |
BooleanCellEditor
public BooleanCellEditor(javax.swing.JCheckBox box)
- Override checkbox constructor to set the background and
to add the edit listener
| Method Detail |
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
- Description copied from class:
javax.swing.DefaultCellEditor - Get the cell editor component that will perform the editing session. If
returned once, the same component is also returned on the repetetive calls
again (reused).
getLastRow
public int getLastRow()
- Returns the index of the last row edited
getSelectionModel
public javax.swing.ListSelectionModel getSelectionModel()
- Returns the list selection model of the table
edited
|
|||||||||
| Home >> All >> org >> integralsource >> monsoon >> [ jfc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC