com.infoteria.asteria.flowbuilder2.property
Class PluginCallProperty

java.lang.Object
  |
  +--com.infoteria.gui.property.AbstractProperty
        |
        +--com.infoteria.gui.property.StringProperty
              |
              +--com.infoteria.asteria.flowbuilder2.property.PluginCallProperty
All Implemented Interfaces:
com.infoteria.gui.property.provider.ChoiceItemProvider, Cloneable, com.infoteria.gui.util.DisplayNameProvider, MetaData, Property

public class PluginCallProperty
extends StringProperty
implements com.infoteria.gui.property.provider.ChoiceItemProvider, MetaData, com.infoteria.gui.util.DisplayNameProvider

pluginCallの実行によって値のリストを取得するプロパティです。
実行したpluginCallのPluginResponseに
<ItemList><Item>アイテム1</Item><Item>アイテム2</Item></ItemList> のようなXMLが設定されていればItem要素の内容をドロップダウンリスト化します。


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
PluginCallProperty(PropertyHolder owner, String name)
           
PluginCallProperty(String name)
           
 
Method Summary
 Object getAdapter(Class clazz)
           
 DisplayNameProvider getChoiceItemDisplayNameProvider()
           
 Object[] getChoiceItems()
           
 String getDisplayName(Object obj)
           
 Object getRealObject(String displayName)
           
 String getType()
           
 boolean isChoiceOnly()
           
 void setup(Element el)
           
 
Methods inherited from class com.infoteria.gui.property.StringProperty
setValue, setValueAsString
 
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, 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
 
Methods inherited from interface com.infoteria.gui.util.MetaData
clone
 

Field Detail

PROPERTY_TYPE

public static final String PROPERTY_TYPE
Constructor Detail

PluginCallProperty

public PluginCallProperty(PropertyHolder owner,
                          String name)

PluginCallProperty

public PluginCallProperty(String name)
Method Detail

getType

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

setup

public void setup(Element el)
Description copied from interface: MetaData
定義情報のある要素から設定情報を自身に反映します。
Specified by:
setup in interface MetaData

getAdapter

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

getChoiceItems

public Object[] getChoiceItems()
Specified by:
getChoiceItems in interface com.infoteria.gui.property.provider.ChoiceItemProvider

getChoiceItemDisplayNameProvider

public DisplayNameProvider getChoiceItemDisplayNameProvider()
Specified by:
getChoiceItemDisplayNameProvider in interface com.infoteria.gui.property.provider.ChoiceItemProvider

isChoiceOnly

public boolean isChoiceOnly()
Specified by:
isChoiceOnly in interface com.infoteria.gui.property.provider.ChoiceItemProvider

getDisplayName

public String getDisplayName(Object obj)
Specified by:
getDisplayName in interface com.infoteria.gui.util.DisplayNameProvider

getRealObject

public Object getRealObject(String displayName)
Specified by:
getRealObject in interface com.infoteria.gui.util.DisplayNameProvider