Package com.infoteria.gui.property
Class DoubleProperty
java.lang.Object
com.infoteria.gui.property.AbstractProperty
com.infoteria.gui.property.NumberProperty
com.infoteria.gui.property.DoubleProperty
- All Implemented Interfaces:
Property,com.infoteria.gui.property.provider.NumberInfoProvider,Cloneable
浮動小数点プロパティ
java.lang.Doubleを扱うためのプロパティです。
java.lang.Doubleを扱うためのプロパティです。
-
Field Summary
FieldsFields inherited from class com.infoteria.gui.property.AbstractProperty
_listenerList, ATTR_DISPLAY_NAME, ATTR_NAME, ATTR_READONLY, ATTR_TYPE, ATTR_VISIBLE, ELEM_PROPERTY, PROPERTY_NSURI -
Constructor Summary
ConstructorsConstructorDescriptionDoubleProperty(PropertyHolder owner, String name) DoubleProperty(String name) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetType()プロパティ型を返します。booleanこのNumberプロパティがBigDecimal型の場合はtruebooleanこのNumberプロパティが整数型の場合はtruesetValue(double value) setValue(double value, boolean canUndo) プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。setValueAsString(String o, boolean canUndo) プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。Methods inherited from class com.infoteria.gui.property.NumberProperty
getAdapter, getFormat, isAllowNegative, setAllowNegative, setFormatMethods inherited from class com.infoteria.gui.property.AbstractProperty
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, doClone, doGetDifference, doSetValue, getDifference, getDisplayName, getEditor, getName, getOwner, getPropertyChangeListeners, getRenderer, getTooltip, getValue, getValueAsString, isEditable, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setOwner, setRenderer, setTooltip, setValue, setValueAsString, setVisible, valueEquals
-
Field Details
-
PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DoubleProperty
-
DoubleProperty
-
-
Method Details
-
getType
Description copied from interface:Propertyプロパティ型を返します。 -
setValue
Description copied from interface:Propertyプロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。- Specified by:
setValuein interfaceProperty- Specified by:
setValuein classAbstractProperty- Throws:
PropertyException
-
setValueAsString
Description copied from interface:Propertyプロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。- Specified by:
setValueAsStringin interfaceProperty- Specified by:
setValueAsStringin classAbstractProperty- Throws:
PropertyException
-
isInteger
public boolean isInteger()Description copied from class:NumberPropertyこのNumberプロパティが整数型の場合はtrue- Specified by:
isIntegerin interfacecom.infoteria.gui.property.provider.NumberInfoProvider- Specified by:
isIntegerin classNumberProperty
-
isBigDecimal
public boolean isBigDecimal()Description copied from class:NumberPropertyこのNumberプロパティがBigDecimal型の場合はtrue- Specified by:
isBigDecimalin interfacecom.infoteria.gui.property.provider.NumberInfoProvider- Specified by:
isBigDecimalin classNumberProperty
-
doubleValue
public double doubleValue() -
setValue
- Throws:
PropertyException
-
setValue
- Throws:
PropertyException
-