cz.cuni.pogamut.posh.properties
Class ComboBoxProperty<T>

Package class diagram package ComboBoxProperty
java.lang.Object
  extended by java.beans.FeatureDescriptor
      extended by org.openide.nodes.Node.Property<T>
          extended by org.openide.nodes.PropertySupport.Reflection<Integer>
              extended by cz.cuni.pogamut.posh.properties.ComboBoxProperty<T>

public class ComboBoxProperty<T>
extends org.openide.nodes.PropertySupport.Reflection<Integer>

Create combo box property editor. It has array of T items that are used as possible values of property. Should be mainly for enums. TODO: Perhaps remove

Author:
Honza

Field Summary
 
Fields inherited from class org.openide.nodes.PropertySupport.Reflection
instance
 
Constructor Summary
ComboBoxProperty(T[] items, Class tClass, Object propertyObject, String getter, String setter)
           
 
Method Summary
 
Methods inherited from class org.openide.nodes.PropertySupport.Reflection
canRead, canWrite, getPropertyEditor, getValue, setPropertyEditorClass, setValue
 
Methods inherited from class org.openide.nodes.Node.Property
equals, getHtmlDisplayName, 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
 

Constructor Detail

ComboBoxProperty

public ComboBoxProperty(T[] items,
                        Class tClass,
                        Object propertyObject,
                        String getter,
                        String setter)
                 throws NoSuchMethodException
Throws:
NoSuchMethodException


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.