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 | Description |
|---|---|
ReadOnly(java.lang.String name,
java.lang.Class<T> type,
java.lang.String displayName,
java.lang.String shortDescription) |
Construct a new support.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
setValue(T val) |
Set the value.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringequals, getHtmlDisplayName, getPropertyEditor, getValue, getValueType, hashCode, isDefaultValue, restoreDefaultValue, supportsDefaultValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanRead, canWritepublic ReadOnly(java.lang.String name,
java.lang.Class<T> type,
java.lang.String displayName,
java.lang.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 java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
Node.PropertysetValue in class Node.Property<T>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.