org.jplot2d.swing.proptable.property
Class PointProperty
- java.lang.Object
-
- org.jplot2d.swing.proptable.property.MainProperty<T>
-
- org.jplot2d.swing.proptable.property.PointProperty
-
- All Implemented Interfaces:
- Property<java.awt.Point>
public class PointProperty extends MainProperty<T>
-
-
Constructor Summary
Constructors Constructor and Description PointProperty(PropertyInfo descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetDisplayDigits()java.lang.StringgetDisplayName()java.lang.StringgetName()java.lang.StringgetShortDescription()Property<?>[]getSubProperties()java.lang.Class<T>getType()booleanisEditable()voidreadFromObject(java.lang.Object object)Load property from the given object, by the PropertyDescriptor's read method.voidwriteToObject(java.lang.Object object)Write property to the given object, by the PropertyDescriptor's write method.-
Methods inherited from class org.jplot2d.swing.proptable.property.MainProperty
addPropertyChangeListener, getAvailableValues, getValue, removePropertyChangeListener, setValue, toString
-
-
-
-
Constructor Detail
-
PointProperty
public PointProperty(PropertyInfo descriptor)
-
-
Method Detail
-
getSubProperties
public Property<?>[] getSubProperties()
- Specified by:
getSubPropertiesin interfaceProperty<java.awt.Point>- Overrides:
getSubPropertiesin classMainProperty<java.awt.Point>
-
readFromObject
public void readFromObject(java.lang.Object object)
Load property from the given object, by the PropertyDescriptor's read method.
-
getName
public java.lang.String getName()
-
getDisplayName
public java.lang.String getDisplayName()
-
getShortDescription
public java.lang.String getShortDescription()
-
getDisplayDigits
public int getDisplayDigits()
-
getType
public java.lang.Class<T> getType()
-
writeToObject
public void writeToObject(java.lang.Object object) throws java.lang.ThrowableWrite property to the given object, by the PropertyDescriptor's write method.- Specified by:
writeToObjectin classMainProperty<T>- Throws:
java.lang.Throwable
-
isEditable
public boolean isEditable()
-
-
DMelt 3.0 © DataMelt by jWork.ORG