org.jplot2d.swing.proptable.property
Interface Property<T>
-
- All Known Implementing Classes:
- AxisTypeProperty, BasicStrokeProperty, Dimension2DProperty, DimensionProperty, Insets2DProperty, MainProperty, Point2DProperty, PointProperty, RangeProperty, SizeModeProperty, SubProperty, SymbolShapeProperty
public interface Property<T>A property to be displayed in PropertyTable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Object[]getAvailableValues()If the returned value is notnull, The table will use a JComboBox to edit this property.intgetDisplayDigits()java.lang.StringgetDisplayName()java.lang.StringgetName()java.lang.StringgetShortDescription()Property<?>[]getSubProperties()java.lang.Class<T>getType()TgetValue()booleanisEditable()voidsetValue(T value)
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getDisplayName
java.lang.String getDisplayName()
-
getShortDescription
java.lang.String getShortDescription()
-
getDisplayDigits
int getDisplayDigits()
-
getType
java.lang.Class<T> getType()
-
getValue
T getValue()
-
setValue
void setValue(T value)
-
isEditable
boolean isEditable()
-
getSubProperties
Property<?>[] getSubProperties()
-
getAvailableValues
java.lang.Object[] getAvailableValues()
If the returned value is notnull, The table will use a JComboBox to edit this property.- Returns:
- all available values
-
-
DMelt 3.0 © DataMelt by jWork.ORG