| |
|
| java.lang.Object java.beans.PropertyEditorSupport org.netbeans.beaninfo.editors.URLEditor
URLEditor | public class URLEditor extends PropertyEditorSupport implements org.openide.explorer.propertysheet.editors.XMLPropertyEditor(Code) | | A property editor for java.net.URL class.
author: Ian Formanek |
getAsText | public String getAsText()(Code) | | the current value as String |
getJavaInitializationString | public String getJavaInitializationString()(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 exception: IOException - thrown when the value cannot be restored from the specified XML element |
setAsText | public void setAsText(String s)(Code) | | sets new value
|
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 the value should be loaded |
supportsCustomEditor | public boolean supportsCustomEditor()(Code) | | |
|
|
|