com.infoteria.gui.property
Class BigDecimalProperty

java.lang.Object
  |
  +--com.infoteria.gui.property.AbstractProperty
        |
        +--com.infoteria.gui.property.NumberProperty
              |
              +--com.infoteria.gui.property.BigDecimalProperty
All Implemented Interfaces:
java.lang.Cloneable, com.infoteria.gui.property.provider.NumberInfoProvider, Property

public class BigDecimalProperty
extends NumberProperty

BigDecimalプロパティ
java.math.BigDecimalを扱うためのプロパティです。


Field Summary
static java.lang.String PROPERTY_TYPE
           
 
Fields 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
BigDecimalProperty(PropertyHolder owner, java.lang.String name)
           
BigDecimalProperty(java.lang.String name)
           
 
Method Summary
 java.math.BigDecimal decimalValue()
           
 java.lang.String getType()
           
 java.lang.String getValueAsString()
           
 boolean isBigDecimal()
           
 boolean isInteger()
           
 javax.swing.undo.UndoableEdit setValue(java.lang.Object o, boolean canUndo)
           
 javax.swing.undo.UndoableEdit setValueAsString(java.lang.String o, boolean canUndo)
           
 
Methods inherited from class com.infoteria.gui.property.NumberProperty
getAdapter, getFormat, isAllowNegative, setAllowNegative, setFormat
 
Methods 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, isEditable, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setOwner, setRenderer, setTooltip, setValue, setValueAsString, setVisible, valueEquals
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_TYPE

public static final java.lang.String PROPERTY_TYPE
Constructor Detail

BigDecimalProperty

public BigDecimalProperty(PropertyHolder owner,
                          java.lang.String name)

BigDecimalProperty

public BigDecimalProperty(java.lang.String name)
Method Detail

getType

public java.lang.String getType()
Description copied from interface: Property
プロパティ型を返します。

setValue

public javax.swing.undo.UndoableEdit setValue(java.lang.Object o,
                                              boolean canUndo)
                                       throws PropertyException
Description copied from interface: Property
プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
Overrides:
setValue in class AbstractProperty

setValueAsString

public javax.swing.undo.UndoableEdit setValueAsString(java.lang.String o,
                                                      boolean canUndo)
                                               throws PropertyException
Description copied from interface: Property
プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
Overrides:
setValueAsString in class AbstractProperty

isInteger

public boolean isInteger()
Description copied from class: NumberProperty
このNumberプロパティが整数型の場合はtrue
Overrides:
isInteger in class NumberProperty

isBigDecimal

public boolean isBigDecimal()
Description copied from class: NumberProperty
このNumberプロパティがBigDecimal型の場合はtrue
Overrides:
isBigDecimal in class NumberProperty

decimalValue

public java.math.BigDecimal decimalValue()

getValueAsString

public java.lang.String getValueAsString()
Description copied from interface: Property
プロパティ値を文字列で返します。
Overrides:
getValueAsString in class AbstractProperty