org.das2.components.propertyeditor
Class ColorEditor
java.lang.Object
javax.swing.AbstractCellEditor
org.das2.components.propertyeditor.ColorEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor, java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class ColorEditor
- extends javax.swing.AbstractCellEditor
- implements java.beans.PropertyEditor, javax.swing.table.TableCellEditor
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Constructor Summary |
ColorEditor()
Creates a new instance of ColorEditor |
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 |
ColorEditor
public ColorEditor()
- Creates a new instance of ColorEditor
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interface java.beans.PropertyEditor
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interface java.beans.PropertyEditor
getCustomEditor
public java.awt.Component getCustomEditor()
- Specified by:
getCustomEditor
in interface java.beans.PropertyEditor
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Specified by:
addPropertyChangeListener
in interface java.beans.PropertyEditor
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
getJavaInitializationString
public java.lang.String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interface java.beans.PropertyEditor
getTags
public java.lang.String[] getTags()
- Specified by:
getTags
in interface java.beans.PropertyEditor
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface java.beans.PropertyEditor
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable
in interface java.beans.PropertyEditor
paintValue
public void paintValue(java.awt.Graphics graphics,
java.awt.Rectangle rectangle)
- Specified by:
paintValue
in interface java.beans.PropertyEditor
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
- Specified by:
removePropertyChangeListener
in interface java.beans.PropertyEditor
setAsText
public void setAsText(java.lang.String str)
throws java.lang.IllegalArgumentException
- Specified by:
setAsText
in interface java.beans.PropertyEditor
- Throws:
java.lang.IllegalArgumentException
setValue
public void setValue(java.lang.Object obj)
- Specified by:
setValue
in interface java.beans.PropertyEditor
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean selected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
getSmallEditor
public java.awt.Component getSmallEditor()