| |
|
| java.lang.Object org.netbeans.modules.form.RADConnectionPropertyEditor
RADConnectionPropertyEditor | public class RADConnectionPropertyEditor implements PropertyEditor,FormAwareEditor,XMLPropertyEditor,NamedPropertyEditor(Code) | | RADConnectionPropertyEditor is a special property editor that can set
properties (of any type) indirectly - e.g. as a property of some bean
or as the result of a method call or as a code entered by the user, etc.
Only the source code is generated for such property (usually) so it
doesn't take effect until runtime.
author: Ian Formanek |
Inner Class :public enum Type | |
Inner Class :public static class RADConnectionDesignValue implements FormDesignValue | |
ATTR_COMPONENT | final public static String ATTR_COMPONENT(Code) | | |
ATTR_REQUIRED_TYPE | final public static String ATTR_REQUIRED_TYPE(Code) | | |
VALUE_PROPERTY | final public static String VALUE_PROPERTY(Code) | | |
XML_CONNECTION | final public static String XML_CONNECTION(Code) | | |
RADConnectionPropertyEditor | public RADConnectionPropertyEditor(Class propertyType)(Code) | | Creates a new RADConnectionPropertyEditor
Parameters: propertyType - type of the property. |
RADConnectionPropertyEditor | public RADConnectionPropertyEditor(Class propertyType, Type editorType)(Code) | | |
getDisplayName | public String getDisplayName()(Code) | | display name of the property editor |
getEditorType | public Type getEditorType()(Code) | | |
getJavaInitializationString | public String getJavaInitializationString()(Code) | | |
isPaintable | public boolean isPaintable()(Code) | | |
readFromXML | public void readFromXML(org.w3c.dom.Node element) throws java.io.IOException(Code) | | Called to load property value from specified XML subtree. If succesfully loaded,
the value should be available via the getValue method.
An IOException should be thrown when the value cannot be restored from the specified XML element
Parameters: element - the XML DOM element representing a subtree of XML from which the value should be loaded throws: java.io.IOException - thrown when the value cannot be restored from the specified XML element |
setContext | public void setContext(FormModel model, FormProperty prop)(Code) | | If a property editor or customizer implements the FormAwareEditor
interface, this method is called immediately after the PropertyEditor
instance is created or the Customizer is obtained from getCustomizer().
Parameters: model - The FormModel representing data of opened form. Parameters: prop - property. |
storeToXML | public org.w3c.dom.Node storeToXML(org.w3c.dom.Document doc)(Code) | | Called to store current property value into XML subtree. The property
value should be set using the setValue method prior to calling this method.
Parameters: doc - The XML document to store the XML in - should be used for creating nodes only the XML DOM element representing a subtree of XML from which thevalue should be loaded |
supportsCustomEditor | public boolean supportsCustomEditor()(Code) | | |
updateFormVersionLevel | public void updateFormVersionLevel()(Code) | | |
|
|
|