Class PropertyValueEditor
java.lang.Object
javax.swing.AbstractCellEditor
com.inductiveautomation.factorypmi.designer.property.propertytable.PropertyValueEditor
- All Implemented Interfaces:
- PropertyChangeListener,- Serializable,- EventListener,- CellEditor,- TableCellEditor,- TableCellRenderer
public class PropertyValueEditor
extends AbstractCellEditor
implements TableCellEditor, PropertyChangeListener, TableCellRenderer
An editor for types which have a property editor.
- See Also:
- 
Field SummaryFields inherited from class javax.swing.AbstractCellEditorchangeEvent, listenerList
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected PropertyEditorcreateEditor(BeanProperty property) Returns a new instance of the property editor for a given class.Get 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.getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) voidMethods inherited from class javax.swing.AbstractCellEditoraddCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditoraddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
- 
Constructor Details- 
PropertyValueEditor
 
- 
- 
Method Details- 
getTableCellRendererComponentpublic Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
- getTableCellRendererComponentin interface- TableCellRenderer
 
- 
getTableCellEditorComponentpublic 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:
- getTableCellEditorComponentin interface- TableCellEditor
 
- 
getCellEditorValueGet cellEditorValue for current editor- Specified by:
- getCellEditorValuein interface- CellEditor
 
- 
propertyChange- Specified by:
- propertyChangein interface- PropertyChangeListener
 
- 
createEditorReturns a new instance of the property editor for a given class. If an editor is not specified in the property descriptor then it is looked up in the PropertyEditorManager.
 
-