Class ConnectorSet
java.lang.Object
com.infoteria.asteria.flowbuilder2.base.ConnectorSet
- All Implemented Interfaces:
Cloneable
入出力のコネクタセットです。
一つのデフォルトコネクタを持ち複数のサブコネクタを持つことができます。
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic String -
Constructor Summary
ConstructorsConstructorDescriptionConnectorSet(Connector def, int location) ConnectorSet(Connector def, int location, String state, boolean bDefault) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubConnector(Connector con) サブコネクタを追加します。clone()getConnector(String name) 名前を指定してコネクタを取得します。int所持するコネクタ数を返します。所持するコネクタを配列で返します。デフォルトコネクタを返します。intコネクタセットのアイコン上での位置を返します。getOwner()コネクタセットを所持するオーナーオブジェクトを返します。getState()コネクタセットのState(分岐に対応)を返します。intサブコネクタの位置を返します。voidinsertSubConnector(Connector con, int idx) サブコネクタを挿入します。booleanデフォルトのStateであるかどうかを返します。static StringlocationToString(int loc) voidサブコネクタを削除します。voidsetOwner(BaseObject owner) コネクタセットを所持するオーナーオブジェクトを設定します。voidコネクタセットのState(分岐に対応)を設定します。static inttoString()
-
Field Details
-
STATE_DEFAULT
-
LOCATION_UNKNOWN
public static final int LOCATION_UNKNOWN- See Also:
-
LOCATION_TOP
public static final int LOCATION_TOP- See Also:
-
LOCATION_LEFT
public static final int LOCATION_LEFT- See Also:
-
LOCATION_BOTTOM
public static final int LOCATION_BOTTOM- See Also:
-
LOCATION_RIGHT
public static final int LOCATION_RIGHT- See Also:
-
-
Constructor Details
-
ConnectorSet
-
ConnectorSet
-
-
Method Details
-
strToLocation
-
locationToString
-
getOwner
コネクタセットを所持するオーナーオブジェクトを返します。 -
setOwner
コネクタセットを所持するオーナーオブジェクトを設定します。 -
getState
コネクタセットのState(分岐に対応)を返します。 -
setState
コネクタセットのState(分岐に対応)を設定します。 -
isDefaultState
public boolean isDefaultState()デフォルトのStateであるかどうかを返します。 -
getDefaultConnector
デフォルトコネクタを返します。 -
getConnector
名前を指定してコネクタを取得します。 -
getConnectorCount
public int getConnectorCount()所持するコネクタ数を返します。 -
getConnectors
所持するコネクタを配列で返します。 -
addSubConnector
サブコネクタを追加します。 -
insertSubConnector
サブコネクタを挿入します。 -
removeSubConnector
サブコネクタを削除します。 -
indexOfSubConnector
サブコネクタの位置を返します。 -
getLocation
public int getLocation()コネクタセットのアイコン上での位置を返します。 -
clone
-
toString
-