public class EditorJTextfield extends EditorBase
validator
CONFIG_FOLDER, G4P_LIB, G4P_TOOL_DATA_FOLDER, GUI_MODEL_FILE, GUI_MODEL_FILE_FILTER, GUI_MODEL_FILENAME, GUI_PDE_BASE, PDE_TAB_NAME, PDE_TAB_PRETTY_NAME, SEP, TAB0_PDE_BASE
Constructor and Description |
---|
EditorJTextfield()
Create an integer editor component that accepts any valid integer.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCellEditorValue()
This is called when the editor component loses focus and retrieves the final
value for the table model
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
This is called when the table cell gets focus and returns the editor component.
|
boolean |
stopCellEditing()
Get the latest value and make sure it is valid or empty.
|
setSelected
addCellEditorListener, cancelCellEditing, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell
public EditorJTextfield()
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
stopCellEditing
in class AbstractCellEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
public Object getCellEditorValue()
Processing tool G4PTool by Peter Lager. (C) 2015