public abstract static class PropertySupport.WriteOnly<T> extends PropertySupport<T>
Node.Property.setValue(T).PropertySupport.Name, PropertySupport.ReadOnly<T>, PropertySupport.ReadWrite<T>, PropertySupport.Reflection<T>, PropertySupport.WriteOnly<T>| Constructor | Description |
|---|---|
WriteOnly(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 |
|---|---|---|
T |
getValue() |
Get the value.
|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toStringequals, getHtmlDisplayName, getPropertyEditor, getValueType, hashCode, isDefaultValue, restoreDefaultValue, setValue, supportsDefaultValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanRead, canWritepublic WriteOnly(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 T getValue() throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
Node.PropertygetValue in class Node.Property<T>java.lang.IllegalAccessException - cannot access the called methodjava.lang.reflect.InvocationTargetException - an exception during invocationjava.lang.IllegalArgumentExceptionBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.