Class PropertyValueEditor
java.lang.Object
javax.swing.AbstractCellEditor
com.inductiveautomation.factorypmi.designer.property.PropertyValueEditor
- All Implemented Interfaces:
PropertyChangeListener
,Serializable
,EventListener
,CellEditor
,TableCellEditor
public class PropertyValueEditor
extends AbstractCellEditor
implements TableCellEditor, PropertyChangeListener
An editor for types which have a property editor. Note: Should consolidate with the PropertyValueRenderer
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet cellEditorValue for current editorgetTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) Get UI for current editor, including custom editor button if applicable.void
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, 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, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Constructor Details
-
PropertyValueEditor
public PropertyValueEditor()
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) Get UI for current editor, including custom editor button if applicable.- Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getCellEditorValue
Get cellEditorValue for current editor- Specified by:
getCellEditorValue
in interfaceCellEditor
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-