com.infoteria.gui.property
クラス ChoiceProperty

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

public class ChoiceProperty
extends StringProperty
implements com.infoteria.gui.property.provider.ChoiceItemProvider

選択プロパティ


フィールドの概要
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
 
コンストラクタの概要
ChoiceProperty(PropertyHolder owner, String name)
           
ChoiceProperty(String name)
           
 
メソッドの概要
 void addChoiceItem(String item)
           
 void clearChoiceItems()
           
protected  void doClone(AbstractProperty prop)
           
 Object getAdapter(Class clazz)
           
 com.infoteria.gui.util.DisplayNameProvider getChoiceItemDisplayNameProvider()
           
 Object[] getChoiceItems()
           
 String getType()
           
 boolean isChoiceOnly()
           
 void setChoiceItemDisplayNameProvider(com.infoteria.gui.util.DisplayNameProvider dnp)
           
 void setChoiceItems(String[] items)
           
 void setChoiceOnly(boolean b)
           
 UndoableEdit setValue(Object o, boolean canUndo)
           
 
クラス com.infoteria.gui.property.StringProperty から継承したメソッド
setValueAsString
 
クラス com.infoteria.gui.property.AbstractProperty から継承したメソッド
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, 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
コンストラクタの詳細

ChoiceProperty

public ChoiceProperty(PropertyHolder owner,
                      String name)

ChoiceProperty

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

getType

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

setValue

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

getAdapter

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

getChoiceItems

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

setChoiceItems

public void setChoiceItems(String[] items)

addChoiceItem

public void addChoiceItem(String item)

clearChoiceItems

public void clearChoiceItems()

setChoiceItemDisplayNameProvider

public void setChoiceItemDisplayNameProvider(com.infoteria.gui.util.DisplayNameProvider dnp)

getChoiceItemDisplayNameProvider

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

isChoiceOnly

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

setChoiceOnly

public void setChoiceOnly(boolean b)

doClone

protected void doClone(AbstractProperty prop)
オーバーライド:
クラス AbstractProperty 内の doClone