public static final class PropertySupport.Name extends PropertySupport<java.lang.String>
setValue(java.lang.String) and getValue()
to Node.setName(java.lang.String) and FeatureDescriptor.getName().PropertySupport.Name, PropertySupport.ReadOnly<T>, PropertySupport.ReadWrite<T>, PropertySupport.Reflection<T>, PropertySupport.WriteOnly<T>| Constructor | Description |
|---|---|
Name(Node node) |
Create the name property for a node with the standard name and hint.
|
Name(Node node,
java.lang.String propName,
java.lang.String hint) |
Create the name property for a node.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getValue() |
Get the value.
|
void |
setValue(java.lang.String val) |
Set the value.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringequals, getHtmlDisplayName, getPropertyEditor, getValueType, hashCode, isDefaultValue, restoreDefaultValue, supportsDefaultValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanRead, canWritepublic Name(Node node)
node - the nodepublic Name(Node node, java.lang.String propName, java.lang.String hint)
node - the nodepropName - name of the "name" propertyhint - hint message for the "name" propertypublic java.lang.String getValue()
throws java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
Node.PropertygetValue in class Node.Property<java.lang.String>java.lang.IllegalAccessException - cannot access the called methodjava.lang.reflect.InvocationTargetException - an exception during invocationjava.lang.IllegalArgumentExceptionpublic void setValue(java.lang.String val)
throws java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
Node.PropertysetValue in class Node.Property<java.lang.String>val - the new value of the propertyjava.lang.IllegalAccessException - cannot access the called methodjava.lang.IllegalArgumentException - wrong argumentjava.lang.reflect.InvocationTargetException - an exception during invocationBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.