com.infoteria.asteria.flowbuilder2.component
Class Component

java.lang.Object
  |
  +--com.infoteria.asteria.flowbuilder2.base.BaseObject
        |
        +--com.infoteria.asteria.flowbuilder2.base.SimpleObject
              |
              +--com.infoteria.asteria.flowbuilder2.component.Component
All Implemented Interfaces:
Cloneable, com.infoteria.asteria.flowbuilder2.util.DescriptionHolder, com.infoteria.asteria.flowbuilder2.stream.field.FieldEditable, com.infoteria.asteria.flowbuilder2.mapper.MappingHolder, com.infoteria.gui.property.inspector.PropertyEditable, PropertyHolder, com.infoteria.asteria.flowbuilder2.util.Releasable

public class Component
extends SimpleObject
implements com.infoteria.asteria.flowbuilder2.stream.field.FieldEditable, com.infoteria.asteria.flowbuilder2.mapper.MappingHolder

コンポーネントのラッパークラスです。


Field Summary
static String CATEGORY_EXCEPTION
           
static int TYPE_END
           
static int TYPE_INDEPENDENCE
           
static int TYPE_NORMAL
           
static int TYPE_START
           
 
Fields inherited from class com.infoteria.asteria.flowbuilder2.base.SimpleObject
_connectorList
 
Fields inherited from class com.infoteria.asteria.flowbuilder2.base.BaseObject
CATEGORY_OBJECT, CATEGORY_SYSTEM
 
Constructor Summary
Component(ComponentMetaData meta)
           
 
Method Summary
 boolean canDelete()
           
 boolean contains(Point p, boolean bIncludeDecolation)
          オブジェクトの境界にPointが含まれているかどうかを返します。
 boolean containsByExceptionIcon(Point p)
           
 boolean containsByLogIcon(Point p)
           
protected  void doAssign(List list, BaseObject target)
           
 UndoableEdit doDropAction()
           
protected  void doExternalVariableSearch(SearchEvent e)
           
 LogItem getLogItem()
          アプリケーションログ設定を返します。
 StreamDefinition getStreamDefinition(String sdName)
          ストリーム定義を返します。
 String[] getStreamDefinitionNames()
          保持するストリーム定義の名前の配列を返します。
 int getType()
          開始/終了/通常/独立のコンポーネント種別を返します。
 boolean isBreakPoint()
          ブレイクポイントが設定されているかどうかを返します。
 boolean isDrawExceptionIcon()
          Exceptionアイコンを描画するかどうかを返します。
 boolean isDrawStreamPassThroughIcon()
          ストリームパススルーアイコンを描画するかどうかを返します。
 boolean isEnd()
          終了コンポーネントの場合はtrueを返します。
 boolean isStart()
          開始コンポーネントの場合はtrueを返します。
 boolean isStreamEditable(String name)
          ストリーム定義が編集可能であるかどうかを返します。
 void setBreakPoint(boolean b)
          ブレイクポイントを設定します。
 void setDrawStreamPassThroughIcon(boolean b)
          ストリームパススルーアイコンを描画するかどうかを設定します。
 void setLogItem(LogItem item)
          アプリケーションログを設定します。
 
Methods inherited from class com.infoteria.asteria.flowbuilder2.base.SimpleObject
addOutputConnectorSet, getConnectorByPoint, getConnectorByPoint, getConnectorPoint, getConnectors, getDefaultInputConnector, getDefaultOutputConnector, getInputConnectors, getInputConnectorSet, getOutputConnectors, getOutputConnectorSet, getOutputConnectorSet, getOutputConnectorSetCount, getVisibleConnectors, indexOfOutputConnectorSet, insertOutputConnectorSet, removeOutputConnectorSet, setIconLocation, setInputConnectorSet
 
Methods inherited from class com.infoteria.asteria.flowbuilder2.base.BaseObject
addAdditionalProperty, addProperty, assign, canDescriptionVisible, clone, contains, firePropertyValueChanged, fireStateChanged, fireStructureChanged, getAdditionalProperties, getAdditionalProperty, getAdditionalPropertyByDisplayName, getAttribute, getBorderColor, getBounds, getDefaultIcon, getDescription, getDisplayName, getIcon, getIconBounds, getIconLocation, getLayer, getMetaData, getName, getNameProperty, getObjectName, getProperties, getProperties, getProperty, getPropertyByDisplayName, getPropertyCount, getSystemProperties, getTooltip, isDescriptionVisible, isLoading, isReadOnly, isSelected, putAttribute, removeAdditionalProperty, removeAttribute, removeProperty, setBorderColor, setDescription, setDescriptionLocationToDefault, setDescriptionVisible, setIcon, setIcon, setLayer, setName, setReadOnly, setSelected
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingHolder
getMappingItem, getMappingItemCount, getName
 
Methods inherited from interface com.infoteria.asteria.flowbuilder2.util.DescriptionHolder
canDescriptionVisible, getDescription, isDescriptionVisible, setDescription, setDescriptionLocationToDefault, setDescriptionVisible
 
Methods inherited from interface com.infoteria.gui.property.inspector.PropertyEditable
addPropertyEditableListener, getCategoryNames, getDisplayCategoryName, getPropertyHolder, removePropertyEditableListener
 
Methods inherited from interface com.infoteria.asteria.flowbuilder2.util.Releasable
release
 

Field Detail

CATEGORY_EXCEPTION

public static final String CATEGORY_EXCEPTION

TYPE_NORMAL

public static final int TYPE_NORMAL

TYPE_START

public static final int TYPE_START

TYPE_END

public static final int TYPE_END

TYPE_INDEPENDENCE

public static final int TYPE_INDEPENDENCE
Constructor Detail

Component

public Component(ComponentMetaData meta)
Method Detail

getType

public int getType()
開始/終了/通常/独立のコンポーネント種別を返します。

isStart

public boolean isStart()
開始コンポーネントの場合はtrueを返します。

isEnd

public boolean isEnd()
終了コンポーネントの場合はtrueを返します。

canDelete

public boolean canDelete()
Description copied from class: BaseObject
オブジェクトが削除可能であるかどうかを返します。
Overrides:
canDelete in class BaseObject

getStreamDefinition

public StreamDefinition getStreamDefinition(String sdName)
ストリーム定義を返します。
Specified by:
getStreamDefinition in interface com.infoteria.asteria.flowbuilder2.stream.field.FieldEditable

isStreamEditable

public boolean isStreamEditable(String name)
ストリーム定義が編集可能であるかどうかを返します。
Specified by:
isStreamEditable in interface com.infoteria.asteria.flowbuilder2.stream.field.FieldEditable

getStreamDefinitionNames

public String[] getStreamDefinitionNames()
保持するストリーム定義の名前の配列を返します。
Specified by:
getStreamDefinitionNames in interface com.infoteria.asteria.flowbuilder2.stream.field.FieldEditable

containsByExceptionIcon

public boolean containsByExceptionIcon(Point p)

containsByLogIcon

public boolean containsByLogIcon(Point p)

contains

public boolean contains(Point p,
                        boolean bIncludeDecolation)
オブジェクトの境界にPointが含まれているかどうかを返します。
Overrides:
contains in class BaseObject

isBreakPoint

public boolean isBreakPoint()
ブレイクポイントが設定されているかどうかを返します。

setBreakPoint

public void setBreakPoint(boolean b)
ブレイクポイントを設定します。

isDrawStreamPassThroughIcon

public boolean isDrawStreamPassThroughIcon()
ストリームパススルーアイコンを描画するかどうかを返します。

setDrawStreamPassThroughIcon

public void setDrawStreamPassThroughIcon(boolean b)
ストリームパススルーアイコンを描画するかどうかを設定します。

isDrawExceptionIcon

public boolean isDrawExceptionIcon()
Exceptionアイコンを描画するかどうかを返します。

getLogItem

public LogItem getLogItem()
アプリケーションログ設定を返します。

setLogItem

public void setLogItem(LogItem item)
アプリケーションログを設定します。

doExternalVariableSearch

protected void doExternalVariableSearch(SearchEvent e)
Overrides:
doExternalVariableSearch in class BaseObject

doAssign

protected void doAssign(List list,
                        BaseObject target)
Overrides:
doAssign in class BaseObject

doDropAction

public UndoableEdit doDropAction()
Overrides:
doDropAction in class BaseObject