edu.udo.cs.yale.gui.properties
Class DefaultPropertyValueCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
edu.udo.cs.yale.gui.properties.DefaultPropertyValueCellEditor
- All Implemented Interfaces:
- PropertyValueCellEditor, java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer, javax.swing.tree.TreeCellEditor
public class DefaultPropertyValueCellEditor
- extends javax.swing.DefaultCellEditor
- implements PropertyValueCellEditor
Editor for parameter values string, int, double, category, and boolean. This
can be used in all PropertyTable
s to show or editing the properties /
parameters. For more special parameter types other solutions exist.
- Version:
- $Id: DefaultPropertyValueCellEditor.java,v 2.17 2006/03/21 15:35:40
ingomierswa Exp $
- Author:
- Ingo Mierswa, Simon Fischer
- See Also:
FileValueCellEditor
,
ListValueCellEditor
,
ColorValueCellEditor
,
OperatorValueValueCellEditor
,
Serialized Form
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor |
javax.swing.DefaultCellEditor.EditorDelegate |
Fields inherited from class javax.swing.DefaultCellEditor |
clickCountToStart, delegate, editorComponent |
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Method Summary |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
|
boolean |
useEditorAsRenderer()
Returns true if this editor should also be used as renderer. |
Methods inherited from class javax.swing.DefaultCellEditor |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableCellEditor |
getTableCellEditorComponent |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
useEditorAsRenderer
private boolean useEditorAsRenderer
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterTypeCategory type)
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterTypeStringCategory type)
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterTypeBoolean type)
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterTypeInt type)
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterTypeDouble type)
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterTypePassword type)
DefaultPropertyValueCellEditor
public DefaultPropertyValueCellEditor(ParameterType type)
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
- Specified by:
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer
useEditorAsRenderer
public boolean useEditorAsRenderer()
- Description copied from interface:
PropertyValueCellEditor
- Returns true if this editor should also be used as renderer. Should not be the case
for components with frames around the component like JTextFields.
- Specified by:
useEditorAsRenderer
in interface PropertyValueCellEditor
Copyright © 2001-2006