DESY ACOP Beans Home

com.cosylab.gui
Class ValueIconPropertyEditor

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

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

ValueIconPropertyEditor is an implementation of the java.beans.PropertyEditor used for creating ValueIconPairs and setting the value as a bean property.

Author:
Jaka Bobnar, Cosylab

Constructor Summary
ValueIconPropertyEditor()
          Creates new instance of SelectorPropertyEditor.
 
Method Summary
 java.lang.String getAsText()
           
 java.awt.Component getCustomEditor()
           
 java.lang.String getJavaInitializationString()
           
static void main(java.lang.String[] args)
           
 void setValue(java.lang.Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, 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, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText
 

Constructor Detail

ValueIconPropertyEditor

public ValueIconPropertyEditor()
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

getAsText

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

main

public static void main(java.lang.String[] args)


Copyright © 2010. All Rights Reserved.