PropertySupport.Name, PropertySupport.ReadOnly, PropertySupport.ReadWrite, PropertySupport.WriteOnlypublic abstract class PropertySupport<T> extends Node.Property<T>
Node.Property.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PropertySupport.Name |
Support for the name property of a node.
|
static class |
PropertySupport.ReadOnly<T> |
A simple read-only property.
|
static class |
PropertySupport.ReadWrite<T> |
A simple read/write property.
|
static class |
PropertySupport.Reflection<T> |
Support for properties from Java Reflection.
|
static class |
PropertySupport.WriteOnly<T> |
A simple write-only property.
|
| Constructor | Description |
|---|---|
PropertySupport(java.lang.String name,
java.lang.Class<T> type,
java.lang.String displayName,
java.lang.String shortDescription,
boolean canR,
boolean canW) |
Constructs a new support.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canRead() |
Test whether the property is readable.
|
boolean |
canWrite() |
Test whether the property is writable.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringequals, getHtmlDisplayName, getPropertyEditor, getValue, getValueType, hashCode, isDefaultValue, restoreDefaultValue, setValue, supportsDefaultValuepublic PropertySupport(java.lang.String name,
java.lang.Class<T> type,
java.lang.String displayName,
java.lang.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 writablepublic boolean canRead()
Node.PropertycanRead in class Node.Property<T>true if it ispublic boolean canWrite()
Node.PropertycanWrite in class Node.Property<T>true if the read of the value is supportedBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.