Class PluginCallProperty

All Implemented Interfaces:
Property, com.infoteria.gui.property.provider.ChoiceItemProvider, com.infoteria.gui.util.DisplayNameProvider, MetaData, Cloneable

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 Details

  • Constructor Details

    • PluginCallProperty

      public PluginCallProperty(PropertyHolder owner, String name)
    • PluginCallProperty

      public PluginCallProperty(String name)
  • Method Details

    • getType

      public String getType()
      Description copied from interface: Property
      プロパティ型を返します。
      Specified by:
      getType in 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を返します。
      Specified by:
      getAdapter in interface Property
      Overrides:
      getAdapter in class AbstractProperty
    • getChoiceItems

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

      public com.infoteria.gui.util.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