org.jplot2d.swing.proptable.property
Class SubProperty<T>
- java.lang.Object
-
- org.jplot2d.swing.proptable.property.SubProperty<T>
-
-
Constructor Summary
Constructors Constructor and Description SubProperty(MainProperty<?> mainProp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description T[]getAvailableValues()If the returned value is notnull, The table will use a JComboBox to edit this property.intgetDisplayDigits()java.lang.StringgetDisplayName()MainProperty<?>getMainProperty()java.lang.StringgetName()java.lang.StringgetShortDescription()Property<?>[]getSubProperties()java.lang.Class<T>getType()booleanisEditable()
-
-
-
Constructor Detail
-
SubProperty
public SubProperty(MainProperty<?> mainProp)
-
-
Method Detail
-
getMainProperty
public MainProperty<?> getMainProperty()
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein interfaceProperty<T>
-
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescriptionin interfaceProperty<T>
-
getDisplayDigits
public int getDisplayDigits()
- Specified by:
getDisplayDigitsin interfaceProperty<T>
-
getSubProperties
public Property<?>[] getSubProperties()
- Specified by:
getSubPropertiesin interfaceProperty<T>
-
isEditable
public boolean isEditable()
- Specified by:
isEditablein interfaceProperty<T>
-
getAvailableValues
public T[] getAvailableValues()
Description copied from interface:PropertyIf the returned value is notnull, The table will use a JComboBox to edit this property.- Specified by:
getAvailableValuesin interfaceProperty<T>- Returns:
- all available values
-
-
DMelt 3.0 © DataMelt by jWork.ORG