DESY ACOP Beans Home

com.cosylab.gui.components
Class ValuePolicyPropertyEditor

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

public class ValuePolicyPropertyEditor
extends java.beans.PropertyEditorSupport

RangedValuePolicy property editor for gui builders.

Version:
$Id: ValuePolicyPropertyEditor.java,v 1.7 2008-04-22 12:28:40 jbobnar Exp $
Author:
Jaka Bobnar

Constructor Summary
ValuePolicyPropertyEditor()
           
 
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
 

Constructor Detail

ValuePolicyPropertyEditor

public ValuePolicyPropertyEditor()
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.