com.infoteria.gui.property
クラス DoubleProperty

java.lang.Object
  |
  +--com.infoteria.gui.property.AbstractProperty
        |
        +--com.infoteria.gui.property.NumberProperty
              |
              +--com.infoteria.gui.property.DoubleProperty
すべての実装インタフェース:
Cloneable, com.infoteria.gui.property.provider.NumberInfoProvider, Property

public class DoubleProperty
extends NumberProperty

浮動小数点プロパティ


フィールドの概要
static String PROPERTY_TYPE
           
 
クラス com.infoteria.gui.property.AbstractProperty から継承したフィールド
_listenerList, ATTR_DISPLAY_NAME, ATTR_NAME, ATTR_READONLY, ATTR_TYPE, ATTR_VISIBLE, ELEM_PROPERTY, PROPERTY_NSURI
 
コンストラクタの概要
DoubleProperty(PropertyHolder owner, String name)
           
DoubleProperty(String name)
           
 
メソッドの概要
 double doubleValue()
           
 String getType()
           
 boolean isInteger()
           
 UndoableEdit setValue(double value)
           
 UndoableEdit setValue(double value, boolean canUndo)
           
 UndoableEdit setValue(Object o, boolean canUndo)
           
 UndoableEdit setValueAsString(String o, boolean canUndo)
           
 
クラス com.infoteria.gui.property.NumberProperty から継承したメソッド
getAdapter, getFormat, isAllowNegative, setAllowNegative, setFormat
 
クラス com.infoteria.gui.property.AbstractProperty から継承したメソッド
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, doClone, doSetValue, getDisplayName, getEditor, getName, getOwner, getRenderer, getTooltip, getValue, getValueAsString, isEditable, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setOwner, setRenderer, setTooltip, setValue, setValueAsString, setVisible
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

PROPERTY_TYPE

public static final String PROPERTY_TYPE
コンストラクタの詳細

DoubleProperty

public DoubleProperty(PropertyHolder owner,
                      String name)

DoubleProperty

public DoubleProperty(String name)
メソッドの詳細

getType

public String getType()
インタフェース Property の記述:
プロパティ型を返します。

setValue

public UndoableEdit setValue(Object o,
                             boolean canUndo)
                      throws PropertyException
インタフェース Property の記述:
プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
オーバーライド:
クラス AbstractProperty 内の setValue

setValueAsString

public UndoableEdit setValueAsString(String o,
                                     boolean canUndo)
                              throws PropertyException
インタフェース Property の記述:
プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
オーバーライド:
クラス AbstractProperty 内の setValueAsString

isInteger

public boolean isInteger()
クラス NumberProperty の記述:
このNumberプロパティが整数型の場合はtrue
オーバーライド:
クラス NumberProperty 内の isInteger

doubleValue

public double doubleValue()

setValue

public UndoableEdit setValue(double value)
                      throws PropertyException

setValue

public UndoableEdit setValue(double value,
                             boolean canUndo)
                      throws PropertyException