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 and Description |
---|
WriteOnly(String name,
Class<T> type,
String displayName,
String shortDescription)
Construct a new support.
|
Modifier and Type | Method and Description |
---|---|
T |
getValue()
Get the value.
|
canRead, canWrite, readOnly, readWrite, withDisplayName, withShortDescription, writeOnly
equals, getHtmlDisplayName, getPropertyEditor, getValueType, hashCode, isDefaultValue, restoreDefaultValue, setValue, supportsDefaultValue
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
public WriteOnly(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 T getValue() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
Node.Property
getValue
in class Node.Property<T>
IllegalAccessException
- cannot access the called methodInvocationTargetException
- an exception during invocationIllegalArgumentException