|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowbuilder2.base.BaseObject
ComponentやFunctionの基底となるベースクラスです。
Field Summary | |
static String |
CATEGORY_OBJECT
|
static String |
CATEGORY_SYSTEM
|
Constructor Summary | |
protected |
BaseObject(BaseObjectMetaData meta)
|
Method Summary | |
void |
addAdditionalProperty(AdditionalPropertyInterface prop)
拡張プロパティを追加します。 |
void |
addProperty(Property prop)
プロパティを追加します。 |
UndoableEdit |
assign(BaseObject target)
|
boolean |
canDelete()
オブジェクトが削除可能であるかどうかを返します。 |
boolean |
canDescriptionVisible()
説明が表示可能かどうかを返します。 |
Object |
clone()
|
boolean |
contains(Point p)
オブジェクトの境界にPointが含まれているかどうかを返します。 |
boolean |
contains(Point p,
boolean bIncludeDecolation)
オブジェクトの境界にPointが含まれているかどうかを返します。 |
protected void |
doAssign(List list,
BaseObject target)
|
UndoableEdit |
doDropAction()
|
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()
プロパティのイテレータを返します。 PropertyGroupは展開されません |
Iterator |
getProperties(boolean bExpandGroup)
プロパティの一覧を返すIterator。 bExpandGroupをtrueにした場合はPropertyGroupは展開されます。 |
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)
オブジェクトが選択されているかどうかを設定します。 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
public static final String CATEGORY_SYSTEM
public static final String CATEGORY_OBJECT
Constructor Detail |
protected BaseObject(BaseObjectMetaData meta)
Method Detail |
public boolean isReadOnly()
isReadOnly
in interface com.infoteria.gui.property.inspector.PropertyEditable
public void setReadOnly(boolean b)
public String getObjectName()
public BaseObjectMetaData getMetaData()
public StringProperty getNameProperty()
public String getName()
getName
in interface PropertyHolder
public void setName(String value)
public String getLayer()
public void setLayer(String s)
public Icon getIcon()
public void setIcon(String filename) throws PropertyException
public void setIcon(Icon icon)
public Icon getDefaultIcon()
public String getDisplayName()
public boolean canDelete()
public boolean isSelected()
public void setSelected(boolean b)
public Color getBorderColor()
public void setBorderColor(Color c)
public Point getIconLocation()
public void setIconLocation(Point p)
public Rectangle getBounds()
public Rectangle getIconBounds()
public boolean contains(Point p)
public boolean contains(Point p, boolean bIncludeDecolation)
public abstract Connector getConnectorByPoint(Point p)
public abstract Connector getConnectorByPoint(Point p, boolean bInput)
bInput
- 対象コネクタが入力コネクタかどうかpublic abstract Point getConnectorPoint(Connector con)
public abstract Iterator getConnectors()
public abstract Connector getDefaultInputConnector()
public abstract Connector getDefaultOutputConnector()
public void addProperty(Property prop)
addProperty
in interface PropertyHolder
public void removeProperty(Property prop)
removeProperty
in interface PropertyHolder
public Property getProperty(String name)
getProperty
in interface PropertyHolder
public Property getPropertyByDisplayName(String name)
public Iterator getProperties()
getProperties
in interface PropertyHolder
public int getPropertyCount()
getPropertyCount
in interface PropertyHolder
public Iterator getProperties(boolean bExpandGroup)
public void addAdditionalProperty(AdditionalPropertyInterface prop)
public void removeAdditionalProperty(AdditionalPropertyInterface prop)
public Iterator getAdditionalProperties()
public AdditionalPropertyInterface getAdditionalProperty(String name)
public AdditionalPropertyInterface getAdditionalPropertyByDisplayName(String name)
public Object getAttribute(String key)
public void putAttribute(String key, Object value)
public Object removeAttribute(String key)
public Object clone()
clone
in class Object
public Properties getSystemProperties()
public String getTooltip()
public void fireStateChanged()
public void firePropertyValueChanged(PropertyChangeEvent event)
public void fireStructureChanged()
public boolean isLoading()
public com.infoteria.gui.description.Description getDescription()
public void setDescription(com.infoteria.gui.description.Description desc)
public boolean isDescriptionVisible()
public boolean canDescriptionVisible()
public void setDescriptionVisible(boolean b)
public void setDescriptionLocationToDefault()
public UndoableEdit assign(BaseObject target)
protected void doAssign(List list, BaseObject target)
public UndoableEdit doDropAction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |