|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node.Property<T>
org.openide.nodes.PropertySupport<T>
org.openide.nodes.PropertySupport.ReadWrite
cz.cuni.amis.nb.pogamut.base.introspection.PropertyAdapter
public class PropertyAdapter
Adapts Pogamut property to Netbeans property.
| Nested Class Summary | |
|---|---|
static class |
PropertyAdapter.NamedAdapter
Automaticaly assign string identifier to the property. |
| 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> |
| Field Summary | |
|---|---|
protected cz.cuni.amis.introspection.Property |
property
Property represented by this adapter. |
protected static int |
propertyId
Property counter used to make unique identifiers. |
protected static String |
propertyPrefix
Prefix used to make unique identiiers. |
protected String |
propId
Unigue identifier of this property. |
| Constructor Summary | |
|---|---|
PropertyAdapter(String propId,
cz.cuni.amis.introspection.Property property)
Creates a new instance of PropertyAdapter, with string property identifier equal to property name. |
|
| Method Summary | |
|---|---|
String |
getPropertyID()
|
Object |
getValue()
|
void |
setValue(Object object)
Sets new value of this property. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int propertyId
protected static final String propertyPrefix
protected cz.cuni.amis.introspection.Property property
protected String propId
| Constructor Detail |
|---|
public PropertyAdapter(String propId,
cz.cuni.amis.introspection.Property property)
throws cz.cuni.amis.introspection.IntrospectionException
propId - Unique ID of this property.property - Pogamut property to be adapted.
cz.cuni.amis.introspection.IntrospectionException| Method Detail |
|---|
public String getPropertyID()
public Object getValue()
throws IllegalAccessException,
InvocationTargetException
getValue in class org.openide.nodes.Node.PropertyIllegalAccessException
InvocationTargetException
public void setValue(Object object)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
setValue in class org.openide.nodes.Node.Propertyobject - New value.
IllegalAccessException
IllegalArgumentException
InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||