|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor org.openide.nodes.Node.Property org.openide.nodes.PropertySupport
Support class for Node.Property
.
Node.Property
Nested Class Summary | |
static class |
PropertySupport.Name
Support for the name property of a node. |
static class |
PropertySupport.ReadOnly
A simple read-only property. |
static class |
PropertySupport.ReadWrite
A simple read/write property. |
static class |
PropertySupport.Reflection
Support for properties from Java Reflection. |
static class |
PropertySupport.WriteOnly
A simple write-only property. |
Constructor Summary | |
PropertySupport(String name,
Class type,
String displayName,
String shortDescription,
boolean canR,
boolean canW)
Constructs a new support. |
Method Summary | |
boolean |
canRead()
Test whether the property is readable. |
boolean |
canWrite()
Test whether the property is writable. |
Methods inherited from class org.openide.nodes.Node.Property |
equals, getHtmlDisplayName, getPropertyEditor, getValue, getValueType, hashCode, isDefaultValue, restoreDefaultValue, setValue, supportsDefaultValue |
Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertySupport(String name, Class type, String displayName, String shortDescription, boolean canR, boolean canW)
name
- the name of the propertytype
- the class type of the propertydisplayName
- the display name of the propertycanR
- whether the property is readablecanW
- whether the property is writableMethod Detail |
public boolean canRead()
Node.Property
canRead
in class Node.Property
true
if it ispublic boolean canWrite()
Node.Property
canWrite
in class Node.Property
true
if the read of the value is supported
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |