cz.cuni.amis.nb.util
Class PeriodicalyUpdatedProperty<T>
java.lang.Object
java.beans.FeatureDescriptor
org.openide.nodes.Node.Property<T>
org.openide.nodes.PropertySupport<T>
cz.cuni.amis.nb.util.AutoNamedProp<T>
cz.cuni.amis.nb.util.PeriodicalyUpdatedProperty<T>
public class PeriodicalyUpdatedProperty<T>
- extends AutoNamedProp<T>
Read only property that will be regularly updated.
- Author:
- ik
| Nested classes/interfaces inherited from class org.openide.nodes.PropertySupport |
org.openide.nodes.PropertySupport.Name, org.openide.nodes.PropertySupport.ReadOnly<T>, org.openide.nodes.PropertySupport.ReadWrite<T>, org.openide.nodes.PropertySupport.Reflection<T>, org.openide.nodes.PropertySupport.WriteOnly<T> |
| Methods inherited from class org.openide.nodes.PropertySupport |
canRead, canWrite |
| Methods inherited from class org.openide.nodes.Node.Property |
equals, getHtmlDisplayName, getPropertyEditor, getValueType, hashCode, isDefaultValue, restoreDefaultValue, supportsDefaultValue |
| Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
PeriodicalyUpdatedProperty
public PeriodicalyUpdatedProperty(Object source,
String propName,
Class<T> type,
String displayName,
String shortDescription)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
getValue
public T getValue()
throws IllegalAccessException,
InvocationTargetException
- Specified by:
getValue in class org.openide.nodes.Node.Property<T>
- Throws:
IllegalAccessException
InvocationTargetException
setValue
public void setValue(T val)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
- Specified by:
setValue in class org.openide.nodes.Node.Property<T>
- Throws:
IllegalAccessException
IllegalArgumentException
InvocationTargetException
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.