com.infoteria.asteria.flowbuilder2.base
クラス BaseObject

java.lang.Object
  |
  +--com.infoteria.asteria.flowbuilder2.base.BaseObject
すべての実装インタフェース:
Cloneable, com.infoteria.gui.property.inspector.PropertyEditable, PropertyHolder, com.infoteria.asteria.flowbuilder2.util.Releasable
直系の既知のサブクラス:
SimpleObject

public abstract class BaseObject
extends Object
implements com.infoteria.gui.property.inspector.PropertyEditable, PropertyHolder, Cloneable, com.infoteria.asteria.flowbuilder2.util.Releasable

ComponentやFunctionの基底となるベースクラスです。


フィールドの概要
static String CATEGORY_OBJECT
           
static String CATEGORY_SYSTEM
           
 
コンストラクタの概要
protected BaseObject(BaseObjectMetaData meta)
           
 
メソッドの概要
 void addAdditionalProperty(AdditionalPropertyInterface prop)
          拡張プロパティを追加します。
 void addProperty(Property prop)
          プロパティを追加します。
 boolean canDelete()
          オブジェクトが削除可能であるかどうかを返します。
 boolean canDescriptionVisible()
          説明が表示可能かどうかを返します。
 Object clone()
           
 boolean contains(Point p)
          オブジェクトの境界にPointが含まれているかどうかを返します。
 boolean contains(Point p, boolean bIncludeDecolation)
          オブジェクトの境界にPointが含まれているかどうかを返します。
 void firePropertyValueChanged(PropertyChangeEvent event)
          プロパティ値の変更があったことを通知します。
 void fireStateChanged()
          状態変更のあったことを通知します。
 void fireStructureChanged()
          構造の変更があったことを通知します。
 Iterator getAdditionalProperties()
          拡張プロパティの一覧を返すIterator。
 AdditionalPropertyInterface getAdditionalProperty(String name)
          名前を指定して拡張プロパティを取得します。
 AdditionalPropertyInterface getAdditionalPropertyByDisplayName(String name)
          表示名を指定して拡張プロパティを取得します。
 Object getAttribute(String key)
          keyにヒモづけられた任意のオブジェクトを取得します。
 Color getBorderColor()
          オブジェクトの枠線の色を返します。
 Rectangle getBounds()
          オブジェクトの境界を返します。
abstract  Connector getConnectorByPoint(Point p)
          指定のポイントにあるコネクタを返します。
abstract  Connector getConnectorByPoint(Point p, boolean bInput)
          指定のポイントにあるコネクタを返します。
abstract  Point getConnectorPoint(Connector con)
          コネクタの位置を返します。
abstract  Iterator getConnectors()
          コネクタの位置を返します。
 Icon getDefaultIcon()
          オブジェクトのデフォルトのアイコンを返します。
abstract  Connector getDefaultInputConnector()
          デフォルトの入力コネクタを返します。
abstract  Connector getDefaultOutputConnector()
          デフォルトの出力コネクタを返します。
 com.infoteria.gui.description.Description getDescription()
          説明を返します。
 String getDisplayName()
          オブジェクトの表示名を返します。
 Icon getIcon()
          アイコンを返します。
 Rectangle getIconBounds()
          オブジェクトの境界を返します。
 Point getIconLocation()
          オブジェクトの位置を返します。
 String getLayer()
          オブジェクトのあるレイヤー名を返します。
 BaseObjectMetaData getMetaData()
          オブジェクトのメタデータを返します。
 String getName()
          オブジェクト名を返します。
 StringProperty getNameProperty()
          NamePropertyを返します。
 String getObjectName()
          オブジェクトのタイプ名を返します。
 Iterator getProperties()
          プロパティのイテレータを返します。
 Iterator getProperties(boolean bExpandGroup)
          プロパティの一覧を返すIterator。
 Property getProperty(String name)
          名前を指定してプロパティを取得します。
 Property getPropertyByDisplayName(String name)
          表示名を指定してプロパティを取得します。
 int getPropertyCount()
          プロパティの数を返します。
 Properties getSystemProperties()
          システムプロパティのホルダを返します。
 String getTooltip()
          ツールチップを返します。
 boolean isDescriptionVisible()
          説明が表示されているか否かを返します。
 boolean isLoading()
          オブジェクトがロード中の場合はtrueを返します。
 boolean isReadOnly()
          オブジェクトが編集可能かどうかを返します。
 boolean isSelected()
          オブジェクトが選択されているかどうかを返します。
 void putAttribute(String key, Object value)
          任意のオブジェクトをkeyにヒモづけらて保存します。
 void removeAdditionalProperty(AdditionalPropertyInterface prop)
          拡張プロパティを削除します。
 Object removeAttribute(String key)
          keyにヒモづけられた任意のオブジェクトを削除します。
 void removeProperty(Property prop)
          プロパティを削除します。
 void setBorderColor(Color c)
          オブジェクトの枠線の色を設定します。
 void setDescription(com.infoteria.gui.description.Description desc)
          説明を設定します。
 void setDescriptionLocationToDefault()
          説明をデフォルト位置に移動します。
 void setDescriptionVisible(boolean b)
          説明が表示されているか否かを設定します。
 void setIcon(Icon icon)
          アイコンを設定します。
 void setIcon(String filename)
          アイコン(pngファイル)を設定します。
 void setIconLocation(Point p)
          オブジェクトの位置を設定します。
 void setLayer(String s)
          オブジェクトのあるレイヤー名を設定します。
 void setName(String value)
          オブジェクト名を設定します。
 void setReadOnly(boolean b)
          オブジェクトが編集可能かどうかを設定します。
 void setSelected(boolean b)
          オブジェクトが選択されているかどうかを設定します。
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.infoteria.gui.property.inspector.PropertyEditable から継承したメソッド
addPropertyEditableListener, getCategoryNames, getDisplayCategoryName, getPropertyHolder, removePropertyEditableListener
 
インタフェース com.infoteria.asteria.flowbuilder2.util.Releasable から継承したメソッド
release
 

フィールドの詳細

CATEGORY_SYSTEM

public static final String CATEGORY_SYSTEM

CATEGORY_OBJECT

public static final String CATEGORY_OBJECT
コンストラクタの詳細

BaseObject

protected BaseObject(BaseObjectMetaData meta)
メソッドの詳細

isReadOnly

public boolean isReadOnly()
オブジェクトが編集可能かどうかを返します。
定義:
インタフェース com.infoteria.gui.property.inspector.PropertyEditable 内の isReadOnly

setReadOnly

public void setReadOnly(boolean b)
オブジェクトが編集可能かどうかを設定します。

getObjectName

public String getObjectName()
オブジェクトのタイプ名を返します。

getMetaData

public BaseObjectMetaData getMetaData()
オブジェクトのメタデータを返します。

getNameProperty

public StringProperty getNameProperty()
NamePropertyを返します。

getName

public String getName()
オブジェクト名を返します。
定義:
インタフェース PropertyHolder 内の getName

setName

public void setName(String value)
オブジェクト名を設定します。

getLayer

public String getLayer()
オブジェクトのあるレイヤー名を返します。

setLayer

public void setLayer(String s)
オブジェクトのあるレイヤー名を設定します。

getIcon

public Icon getIcon()
アイコンを返します。

setIcon

public void setIcon(String filename)
             throws PropertyException
アイコン(pngファイル)を設定します。

setIcon

public void setIcon(Icon icon)
アイコンを設定します。

getDefaultIcon

public Icon getDefaultIcon()
オブジェクトのデフォルトのアイコンを返します。

getDisplayName

public String getDisplayName()
オブジェクトの表示名を返します。

canDelete

public boolean canDelete()
オブジェクトが削除可能であるかどうかを返します。

isSelected

public boolean isSelected()
オブジェクトが選択されているかどうかを返します。

setSelected

public void setSelected(boolean b)
オブジェクトが選択されているかどうかを設定します。

getBorderColor

public Color getBorderColor()
オブジェクトの枠線の色を返します。

setBorderColor

public void setBorderColor(Color c)
オブジェクトの枠線の色を設定します。

getIconLocation

public Point getIconLocation()
オブジェクトの位置を返します。

setIconLocation

public void setIconLocation(Point p)
オブジェクトの位置を設定します。

getBounds

public Rectangle getBounds()
オブジェクトの境界を返します。

getIconBounds

public Rectangle getIconBounds()
オブジェクトの境界を返します。

contains

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

contains

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

getConnectorByPoint

public abstract Connector getConnectorByPoint(Point p)
指定のポイントにあるコネクタを返します。

getConnectorByPoint

public abstract Connector getConnectorByPoint(Point p,
                                              boolean bInput)
指定のポイントにあるコネクタを返します。
パラメータ:
bInput - 対象コネクタが入力コネクタかどうか

getConnectorPoint

public abstract Point getConnectorPoint(Connector con)
コネクタの位置を返します。

getConnectors

public abstract Iterator getConnectors()
コネクタの位置を返します。

getDefaultInputConnector

public abstract Connector getDefaultInputConnector()
デフォルトの入力コネクタを返します。

getDefaultOutputConnector

public abstract Connector getDefaultOutputConnector()
デフォルトの出力コネクタを返します。

addProperty

public void addProperty(Property prop)
プロパティを追加します。
定義:
インタフェース PropertyHolder 内の addProperty

removeProperty

public void removeProperty(Property prop)
プロパティを削除します。
定義:
インタフェース PropertyHolder 内の removeProperty

getProperty

public Property getProperty(String name)
名前を指定してプロパティを取得します。
定義:
インタフェース PropertyHolder 内の getProperty

getPropertyByDisplayName

public Property getPropertyByDisplayName(String name)
表示名を指定してプロパティを取得します。

getProperties

public Iterator getProperties()
プロパティのイテレータを返します。
PropertyGroupは展開されません
定義:
インタフェース PropertyHolder 内の getProperties

getPropertyCount

public int getPropertyCount()
プロパティの数を返します。
定義:
インタフェース PropertyHolder 内の getPropertyCount

getProperties

public Iterator getProperties(boolean bExpandGroup)
プロパティの一覧を返すIterator。
bExpandGroupをtrueにした場合はPropertyGroupは展開されます。

addAdditionalProperty

public void addAdditionalProperty(AdditionalPropertyInterface prop)
拡張プロパティを追加します。

removeAdditionalProperty

public void removeAdditionalProperty(AdditionalPropertyInterface prop)
拡張プロパティを削除します。

getAdditionalProperties

public Iterator getAdditionalProperties()
拡張プロパティの一覧を返すIterator。

getAdditionalProperty

public AdditionalPropertyInterface getAdditionalProperty(String name)
名前を指定して拡張プロパティを取得します。

getAdditionalPropertyByDisplayName

public AdditionalPropertyInterface getAdditionalPropertyByDisplayName(String name)
表示名を指定して拡張プロパティを取得します。

getAttribute

public Object getAttribute(String key)
keyにヒモづけられた任意のオブジェクトを取得します。

putAttribute

public void putAttribute(String key,
                         Object value)
任意のオブジェクトをkeyにヒモづけらて保存します。

removeAttribute

public Object removeAttribute(String key)
keyにヒモづけられた任意のオブジェクトを削除します。

clone

public Object clone()
オーバーライド:
クラス Object 内の clone

getSystemProperties

public Properties getSystemProperties()
システムプロパティのホルダを返します。

getTooltip

public String getTooltip()
ツールチップを返します。

fireStateChanged

public void fireStateChanged()
状態変更のあったことを通知します。

firePropertyValueChanged

public void firePropertyValueChanged(PropertyChangeEvent event)
プロパティ値の変更があったことを通知します。

fireStructureChanged

public void fireStructureChanged()
構造の変更があったことを通知します。

isLoading

public boolean isLoading()
オブジェクトがロード中の場合はtrueを返します。

getDescription

public com.infoteria.gui.description.Description getDescription()
説明を返します。

setDescription

public void setDescription(com.infoteria.gui.description.Description desc)
説明を設定します。

isDescriptionVisible

public boolean isDescriptionVisible()
説明が表示されているか否かを返します。

canDescriptionVisible

public boolean canDescriptionVisible()
説明が表示可能かどうかを返します。

setDescriptionVisible

public void setDescriptionVisible(boolean b)
説明が表示されているか否かを設定します。

setDescriptionLocationToDefault

public void setDescriptionLocationToDefault()
説明をデフォルト位置に移動します。