Class ButtonEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.gvsig.catalog.utils.resourcestable.ButtonEditor
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor,TreeCellEditor
- Author:
- Jorge Piera Llodra (piera_jor@gva.es)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate -
Field Summary
FieldsFields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponentFields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
ConstructorsConstructorDescriptionButtonEditor(JCheckBox checkBox, Collection resources, ChooseResourceDialogPanel dialog) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) booleanMethods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCellMethods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
Field Details
-
button
-
-
Constructor Details
-
ButtonEditor
- Parameters:
checkBox-resources-dialog-
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor- Overrides:
getTableCellEditorComponentin classDefaultCellEditor- Parameters:
table-value-isSelected-row-column-- Returns:
-
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor- Overrides:
getCellEditorValuein classDefaultCellEditor- Returns:
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditingin interfaceCellEditor- Overrides:
stopCellEditingin classDefaultCellEditor- Returns:
-
fireEditingStopped
protected void fireEditingStopped()- Overrides:
fireEditingStoppedin classAbstractCellEditor
-