DESY ACOP Beans Home

com.cosylab.gui
Class IconPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by com.cosylab.gui.IconPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class IconPropertyEditor
extends java.beans.PropertyEditorSupport
implements java.beans.PropertyEditor

IconPropertyEditor is an implementation of the java.beans.PropertyEditor which enables setting of an icon.

Author:
Jaka Bobnar, Cosylab

Constructor Summary
IconPropertyEditor()
          Creates new instance of SelectorPropertyEditor.
 
Method Summary
 java.awt.Component getCustomEditor()
           
 java.lang.String getJavaInitializationString()
           
 void setValue(java.lang.Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getAsText, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText
 

Constructor Detail

IconPropertyEditor

public IconPropertyEditor()
Creates new instance of SelectorPropertyEditor.

Method Detail

getCustomEditor

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

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor
Overrides:
getJavaInitializationString in class java.beans.PropertyEditorSupport

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor
Overrides:
supportsCustomEditor 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


Copyright © 2010. All Rights Reserved.