com.infoteria.asteria.flowbuilder2.property
Class IconProperty

java.lang.Object
  |
  +--com.infoteria.gui.property.AbstractProperty
        |
        +--com.infoteria.asteria.flowbuilder2.property.IconProperty
All Implemented Interfaces:
Cloneable, com.infoteria.gui.property.provider.FileSelectionInfoProvider, Property

public class IconProperty
extends AbstractProperty
implements com.infoteria.gui.property.provider.FileSelectionInfoProvider

アイコンを選択するためのプロパティです。


Field Summary
static 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
IconProperty(PropertyHolder owner, String name)
           
IconProperty(String name)
           
 
Method Summary
protected  void doClone(AbstractProperty prop)
           
 Object getAdapter(Class clazz)
           
 FileFilter[] getChoosableFileFilters()
           
 int getFileSelectionMode()
           
 Icon getIcon()
           
 String getType()
           
 void setIcon(Icon icon)
           
 UndoableEdit setValue(Object o, boolean canUndo)
           
 UndoableEdit setValueAsString(String o, boolean canUndo)
           
 
Methods inherited from class com.infoteria.gui.property.AbstractProperty
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_TYPE

public static final String PROPERTY_TYPE
Constructor Detail

IconProperty

public IconProperty(PropertyHolder owner,
                    String name)

IconProperty

public IconProperty(String name)
Method Detail

getType

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

getIcon

public Icon getIcon()

setIcon

public void setIcon(Icon icon)

getChoosableFileFilters

public FileFilter[] getChoosableFileFilters()
Specified by:
getChoosableFileFilters in interface com.infoteria.gui.property.provider.FileSelectionInfoProvider

getFileSelectionMode

public int getFileSelectionMode()
Specified by:
getFileSelectionMode in interface com.infoteria.gui.property.provider.FileSelectionInfoProvider

setValue

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

setValueAsString

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

getAdapter

public Object getAdapter(Class clazz)
Description copied from interface: Property
Adapterを返します。
Overrides:
getAdapter in class AbstractProperty

doClone

protected void doClone(AbstractProperty prop)
Description copied from class: AbstractProperty
cloneメソッドの実装部分 DeepCopyが必要な場合はオーバーライドしてください。
Overrides:
doClone in class AbstractProperty