java.lang.Object
javax.swing.AbstractCellEditor
org.autogui.swing.table.ObjectTableColumnValue.ObjectTableCellEditor
org.autogui.swing.table.GuiSwingTableColumnBoolean.CheckBoxEditor
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor,ObjectTableColumn.PopupMenuBuilderSourceForHeader,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, specifierIndexFields 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) booleanbooleanMethods inherited from class org.autogui.swing.table.ObjectTableColumnValue.ObjectTableCellEditor
getCellBackgroundEditing, getCellBackgroundEditingBorder, getCellEditorValue, getClickCount, getComponent, getHeaderMenuItems, isSkippingSet, notifyEditStart, setBorders, setBorderSameAsRenderer, setClickCount, setMarginBorderMethods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditingMethods 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:
getTableCellEditorComponentin interfaceTableCellEditor- Overrides:
getTableCellEditorComponentin classObjectTableColumnValue.ObjectTableCellEditor
-
isCellEditable
- Specified by:
isCellEditablein interfaceCellEditor- Overrides:
isCellEditablein 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
-