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 and 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 and Description |
|---|---|
String |
getValue()
Get the value.
|
void |
setValue(String val)
Set the value.
|
canRead, canWriteequals, getHtmlDisplayName, getPropertyEditor, getValueType, hashCode, isDefaultValue, restoreDefaultValue, supportsDefaultValueattributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringpublic 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 August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.