com.infoteria.gui.property
クラス BooleanProperty

java.lang.Object
  |
  +--com.infoteria.gui.property.AbstractProperty
        |
        +--com.infoteria.gui.property.BooleanProperty
すべての実装インタフェース:
com.infoteria.gui.property.provider.ChoiceItemProvider, Cloneable, com.infoteria.gui.util.DisplayNameProvider, com.infoteria.gui.util.MetaData, Property

public class BooleanProperty
extends AbstractProperty
implements com.infoteria.gui.property.provider.ChoiceItemProvider, com.infoteria.gui.util.MetaData, com.infoteria.gui.util.DisplayNameProvider

Booleanプロパティ


フィールドの概要
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
 
コンストラクタの概要
BooleanProperty(PropertyHolder owner, String name)
           
BooleanProperty(String name)
           
 
メソッドの概要
 boolean booleanValue()
           
 Object getAdapter(Class clazz)
           
 com.infoteria.gui.util.DisplayNameProvider getChoiceItemDisplayNameProvider()
           
 Object[] getChoiceItems()
           
 String getDisplayName(Object obj)
           
 String getFalseValue()
           
 Object getRealObject(String displayName)
           
 String getTrueValue()
           
 String getType()
           
 boolean isChoiceOnly()
           
 void setFalseValue(String s)
           
 void setTrueValue(String s)
           
 void setup(Element el)
           
 UndoableEdit setValue(boolean value)
           
 UndoableEdit setValue(boolean value, boolean canUndo)
           
 UndoableEdit setValue(Object o, boolean canUndo)
           
 UndoableEdit setValueAsString(String o, boolean canUndo)
           
 
クラス 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
 
インタフェース com.infoteria.gui.util.MetaData から継承したメソッド
clone
 

フィールドの詳細

PROPERTY_TYPE

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

BooleanProperty

public BooleanProperty(PropertyHolder owner,
                       String name)

BooleanProperty

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

getType

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

setup

public void setup(Element el)
定義:
インタフェース com.infoteria.gui.util.MetaData 内の setup

getAdapter

public Object getAdapter(Class clazz)
インタフェース Property の記述:
Adapterを返します。
オーバーライド:
クラス AbstractProperty 内の getAdapter

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

getChoiceItems

public Object[] getChoiceItems()
定義:
インタフェース com.infoteria.gui.property.provider.ChoiceItemProvider 内の getChoiceItems

getChoiceItemDisplayNameProvider

public com.infoteria.gui.util.DisplayNameProvider getChoiceItemDisplayNameProvider()
定義:
インタフェース com.infoteria.gui.property.provider.ChoiceItemProvider 内の getChoiceItemDisplayNameProvider

getDisplayName

public String getDisplayName(Object obj)
定義:
インタフェース com.infoteria.gui.util.DisplayNameProvider 内の getDisplayName

getRealObject

public Object getRealObject(String displayName)
定義:
インタフェース com.infoteria.gui.util.DisplayNameProvider 内の getRealObject

isChoiceOnly

public boolean isChoiceOnly()
定義:
インタフェース com.infoteria.gui.property.provider.ChoiceItemProvider 内の isChoiceOnly

booleanValue

public boolean booleanValue()

setValue

public UndoableEdit setValue(boolean value)
                      throws PropertyException

setValue

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

getTrueValue

public String getTrueValue()

setTrueValue

public void setTrueValue(String s)

getFalseValue

public String getFalseValue()

setFalseValue

public void setFalseValue(String s)