com.infoteria.gui.property
Class PointProperty
java.lang.Object
|
+--com.infoteria.gui.property.AbstractProperty
|
+--com.infoteria.gui.property.PointProperty
- All Implemented Interfaces:
- Cloneable, Property
- public class PointProperty
- extends AbstractProperty
Pointプロパティ
java.awt.Pointを扱うためのプロパティです。
Methods inherited from class com.infoteria.gui.property.AbstractProperty |
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, doClone, doGetDifference, doSetValue, getAdapter, getDifference, getDisplayName, getEditor, getName, getOwner, getPropertyChangeListeners, getRenderer, getTooltip, getValue, isEditable, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setOwner, setRenderer, setTooltip, setValue, setValueAsString, setVisible, valueEquals |
PROPERTY_TYPE
public static final String PROPERTY_TYPE
PointProperty
public PointProperty(PropertyHolder owner,
String name)
PointProperty
public PointProperty(String name)
getType
public String getType()
- Description copied from interface:
Property
- プロパティ型を返します。
setValue
public UndoableEdit setValue(Object o,
boolean canUndo)
throws PropertyException
- Description copied from interface:
Property
- プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
- Overrides:
setValue
in class AbstractProperty
setValueAsString
public UndoableEdit setValueAsString(String o,
boolean canUndo)
throws PropertyException
- Description copied from interface:
Property
- プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
- Overrides:
setValueAsString
in class AbstractProperty
getPoint
public Point getPoint()
getValueAsString
public String getValueAsString()
- Description copied from interface:
Property
- プロパティ値を文字列で返します。
- Overrides:
getValueAsString
in class AbstractProperty