public static final class PropertySupport.Name extends PropertySupport<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,
String propName,
String hint) |
Create the name property for a node.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getValue() |
Get the value.
|
void |
setValue(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 String getValue() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
Node.PropertygetValue in class Node.Property<String>IllegalAccessException - cannot access the called methodInvocationTargetException - an exception during invocationIllegalArgumentExceptionpublic void setValue(String val) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
Node.PropertysetValue in class Node.Property<String>val - the new value of the propertyIllegalAccessException - cannot access the called methodIllegalArgumentException - wrong argumentInvocationTargetException - an exception during invocationBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.