public abstract static class PropertySupport.ReadOnly<T> extends PropertySupport<T>
Node.Property.getValue().PropertySupport.Name, PropertySupport.ReadOnly<T>, PropertySupport.ReadWrite<T>, PropertySupport.Reflection<T>, PropertySupport.WriteOnly<T>| Constructor and Description |
|---|
ReadOnly(String name,
Class<T> type,
String displayName,
String shortDescription)
Construct a new support.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setValue(T val)
Set the value.
|
canRead, canWriteequals, getHtmlDisplayName, getPropertyEditor, getValue, getValueType, hashCode, isDefaultValue, restoreDefaultValue, supportsDefaultValueattributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringpublic ReadOnly(String name, Class<T> type, String displayName, String shortDescription)
name - the name of the propertytype - the class type of the propertydisplayName - the display name of the propertyshortDescription - a short description of the propertypublic void setValue(T val) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
Node.PropertysetValue in class Node.Property<T>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.