java.lang.Object
javax.swing.AbstractCellEditor
org.autogui.swing.table.ObjectTableColumnValue.ObjectTableCellEditor
org.autogui.swing.table.GuiSwingTableColumnBoolean.CheckBoxEditor
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
,ObjectTableColumnValue.ObjectTableColumnCellView
- Enclosing class:
GuiSwingTableColumnBoolean
public static class GuiSwingTableColumnBoolean.CheckBoxEditor
extends ObjectTableColumnValue.ObjectTableCellEditor
an editor for a boolean value
- See Also:
-
Field Summary
Fields inherited from class org.autogui.swing.table.ObjectTableColumnValue.ObjectTableCellEditor
borderSameAsRenderer, clickCount, component, lastTriggerIsSelection, marginBorder, originalBorder, skipShutDown, specifierIndex
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
ConstructorsConstructorDescriptionCheckBoxEditor
(JComponent component, boolean skipShutDown, GuiSwingTableColumn.SpecifierManagerIndex specifierIndex) -
Method Summary
Modifier and TypeMethodDescriptiongetTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) boolean
boolean
Methods inherited from class org.autogui.swing.table.ObjectTableColumnValue.ObjectTableCellEditor
getCellBackgroundEditing, getCellBackgroundEditingBorder, getCellEditorValue, getClickCount, getComponent, isSkippingSet, notifyEditStart, setBorders, setBorderSameAsRenderer, setClickCount, setMarginBorder
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, 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, removeCellEditorListener, shouldSelectCell, stopCellEditing
Methods inherited from interface org.autogui.swing.table.ObjectTableColumnValue.ObjectTableColumnCellView
setForComponent
-
Constructor Details
-
CheckBoxEditor
public CheckBoxEditor(JComponent component, boolean skipShutDown, GuiSwingTableColumn.SpecifierManagerIndex specifierIndex)
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
- Overrides:
getTableCellEditorComponent
in classObjectTableColumnValue.ObjectTableCellEditor
-
isCellEditable
- Specified by:
isCellEditable
in interfaceCellEditor
- Overrides:
isCellEditable
in classObjectTableColumnValue.ObjectTableCellEditor
-
getComponentAsCheckBox
- Returns:
- the checkbox of the component, might be a wrapped
- Since:
- 1.6
-
isComponentCheckBoxCenter
public boolean isComponentCheckBoxCenter()- Returns:
- the checkboxes vertical alignment is center
- Since:
- 1.6
-