public final class NPropertyInfo extends NMemberInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
NPropertyInfo.StdValueCollection
Represents a collection of standard property values.
|
NObject.FromHandle, NObject.NObjectCallback, NObject.NObjectPropertyChangedCallbackchangedCallback, changingCallback, FLAG_REF_RET, propertyChangedCallback, stateChangedCallback| Modifier and Type | Method and Description |
|---|---|
boolean |
canResetValue()
Checks whether the value of the specified component can be reset.
|
Object |
getDefaultValue()
Retrieves the default value of the current property.
|
String |
getFormat()
Retrieves the format string of the current property.
|
NMethodInfo |
getGetMethod()
Retrieves the method which gets the value of the property.
|
Object |
getMaxValue()
Retrieves the maximum value of the current property.
|
Object |
getMinValue()
Retrieves the minimum value of the current property.
|
NType |
getPropertyType()
Retrieves the type of the current property.
|
NMethodInfo |
getSetMethod()
Retrieves the method which sets the value of the property.
|
NPropertyInfo.StdValueCollection |
getStdValues()
Retrieves a collection of standard value for the current property.
|
Object |
getValue(NObject object)
Gets the current value of the property on a component.
|
<E> E |
getValue(NObject object,
Class<E> cls)
Gets the current value of the property on a component.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
resetValue(NObject object)
Resets the value of the specified component.
|
<E> void |
setValue(NObject object,
Class<E> cls,
E value)
Sets the value of the component to a different value.
|
void |
setValue(NObject object,
Object value)
Sets the value of the component to a different value.
|
getAttributes, getDeclaringType, getNameaddListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementscheck, dispose, finalizepublic static NType nativeTypeOf()
public NType getPropertyType()
public String getFormat()
public Object getDefaultValue()
public Object getMinValue()
public Object getMaxValue()
public NMethodInfo getGetMethod()
public NMethodInfo getSetMethod()
public NPropertyInfo.StdValueCollection getStdValues()
public Object getValue(NObject object)
object - The component.public <E> E getValue(NObject object, Class<E> cls)
object - The component.cls - The type of the property.public void setValue(NObject object, Object value)
object - The component.value - The new property value.public <E> void setValue(NObject object, Class<E> cls, E value)
object - The component.cls - The type of the property.value - The new property value.public boolean canResetValue()
public void resetValue(NObject object)
object - The object to be reset.Copyright © 2016 Neurotechnology. All rights reserved.