org.embl.ebi.escience.scuflui.facets
Class PropertySheet.Editor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.embl.ebi.escience.scuflui.facets.PropertySheet.Editor
All Implemented Interfaces:
java.beans.PropertyEditor
Enclosing class:
PropertySheet

public static class PropertySheet.Editor
extends java.beans.PropertyEditorSupport

A property editor that delegates all editing work to a style sheet.

Author:
Matthew Pocock

Constructor Summary
PropertySheet.Editor()
          Create a new editor.
 
Method Summary
 java.awt.Component getCustomEditor()
           
 void setValue(java.lang.Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySheet.Editor

public PropertySheet.Editor()
Create a new editor.

Method Detail

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport

getCustomEditor

public java.awt.Component getCustomEditor()
Specified by:
getCustomEditor in interface java.beans.PropertyEditor
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface java.beans.PropertyEditor
Overrides:
setValue in class java.beans.PropertyEditorSupport