org.openide.explorer.propertysheet
Interface ExPropertyEditor

All Superinterfaces:
PropertyEditor

public interface ExPropertyEditor
extends PropertyEditor

An extension interface for property editors that hides all the necessary communication with the IDE. ExPropertyEditor is able to accept an instance of PropertyEnv class - this environment passes additional information to the editor. Whatever should be ever added to the mechanism should go into the PropertyEnv class.


Field Summary
static String PROP_VALUE_VALID
          If you want to enable/disable the OK button on the custom property editor panel you can fire a property change event with boolean value.
 
Method Summary
 void attachEnv(PropertyEnv env)
          This method is called by the IDE to pass the environment to the property editor.
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor
 

Field Detail

PROP_VALUE_VALID

public static final String PROP_VALUE_VALID
If you want to enable/disable the OK button on the custom property editor panel you can fire a property change event with boolean value. You don't have to implement the ExPropertyEditor interface for this feature to be turned on. When firing property change event PROP_VALUE_VALID is the name and an instance of java.lang.Boolean should be passed as a value.
Method Detail

attachEnv

public void attachEnv(PropertyEnv env)
This method is called by the IDE to pass the environment to the property editor.


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.