|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowbuilder2.property.category.CategoryProperty
カテゴリープロパティです。
Field Summary | |
protected EventListenerList |
_listenerList
|
Constructor Summary | |
CategoryProperty(String name)
名前を指定してCategoryPropertyを作成します。 |
Method Summary | |
UndoableEdit |
addItem(CategoryItem item)
行を追加します。 |
UndoableEdit |
addItem(CategoryItem item,
int idx)
行を挿入します。 |
protected void |
addProperty(Property prop)
|
UndoableEdit |
assign(AdditionalPropertyInterface api)
他のCaetegoryPropertyの内容をコピーします。 |
void |
assign(Element el)
要素からategoryPropertyの内容を読み込んで設定します。 |
void |
assignTo(Element el)
このCategoryPropertyの内容を要素に出力します。 |
void |
clearItems()
すべての行をクリアします。 |
Object |
clone()
|
Component |
createEditorComponent()
このCategoryPropertyを編集するエディタコンポーネントを作成します。 作成したエディタコンポーネントは使用終了後はreleaseEditorComponentメソッドで解放しなければなりません。 |
CategoryItem |
createNewItem()
新しいCategoryItemを作成します。 作成されたItemにはデフォルト値が設定されています。 |
int |
getColumnCount()
列数を返します。 |
Object |
getDefaultValue(String name)
nameに対応する列のデフォルト値を返します。 |
String |
getDisplayName()
表示名を返します。 |
CategoryItem |
getItem(int idx)
idx番目の行に対応するCategoryItemを返します。 |
CategoryItem |
getItemByKey(Object key)
キー列の値を指定してCategoryItemを取得します。 |
List |
getItemList()
行(CategoryItem)のListを返します。 |
Property |
getKeyProperty()
キー列に対応するPropertyを返します。 |
int |
getMappingTypeForHelp()
|
String |
getName()
名前を返します。 |
BaseObject |
getOwner()
このCategoryPropertyを所持するオーナー(ComponentかFunction)を返します。 |
Property |
getProperty(int idx)
idx番目の列の設定に使用するPropertyを返します。 |
Property |
getProperty(String name)
nameに対応する列の設定に使用するPropertyを返します。 |
Font |
getPropertyFont()
フォントを返します。 |
int |
getRowCount()
行数を返します。 |
Property |
getValueProperty()
値列に対応するPropertyを返します。 |
int |
indexOfProperty(Property prop)
指定のプロパティの列位置を返します。 |
boolean |
isDeletable()
各行が削除可能かどうかを返します。 |
boolean |
isEnableMacro()
|
boolean |
isKeyColumn(int idx)
idx番目の列がキー列(CategoryItem#getNameに対応する列であるかどうかを返します。 |
boolean |
isReadOnly()
編集可能かどうかを返します。 |
boolean |
isSaveRequired()
xfpファイルへの保存が必要かどうかを返します。 |
boolean |
isVisible()
インスペクタに表示するかどうかを返します。 |
void |
releaseEditorComponent(Component c)
このCategoryPropertyを編集するエディタコンポーネントを解放します。 |
UndoableEdit |
removeItem(int idx)
idx番目の行を削除します。 |
UndoableEdit |
replace(Pattern pattern,
String targetStr,
String replaceStr)
|
void |
setDeletable(boolean b)
各行が削除可能かどうかを設定します。 |
void |
setDisplayName(String name)
表示名を設定します。 |
void |
setEditable(Component c,
boolean b)
このCategoryPropertyを編集するエディタコンポーネントに対して編集可能かどうかを設定します。 |
UndoableEdit |
setItemList(List list)
行(CategoryItem)をListからまとめて設定します。 |
protected void |
setKeyProperty(Property prop)
キー列に対応するPropertyを設定します。 |
void |
setMappingTypeForHelp(int n)
|
void |
setPropertyFont(Font f)
フォントを設定します。 |
void |
setReadOnly(boolean b)
編集可能かどうかを設定します。 |
void |
setSaveRequired(boolean b)
xfpファイルへの保存が必要かどうかを設定します。 |
protected void |
setValueProperty(Property prop)
値列に対応するPropertyを設定します。 |
void |
setVisible(boolean b)
インスペクタに表示するかどうかを設定します。 |
UndoableEdit |
swap(int idx1,
int idx2)
行を入れ替えます。 idx1とidx2は連続した行番号でなければなりません。 |
VariableList |
toVariableList()
このCategoryPropertyに設定されている内容をVariableList化します。 |
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.MappingHolderEx |
addMappingHolderListener, getMappingType, removeMappingHolderListener |
Methods inherited from interface com.infoteria.asteria.flowbuilder2.mapper.MappingHolder |
getMappingItem, getMappingItemCount |
Methods inherited from interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface |
cleanup, getDifference, getUndoManager, setUndoManager, setup, setup |
Methods inherited from interface com.infoteria.asteria.flowbuilder2.search.SearchTarget |
getTargetStrings |
Field Detail |
protected EventListenerList _listenerList
Constructor Detail |
public CategoryProperty(String name)
Method Detail |
public String getName()
getName
in interface com.infoteria.asteria.flowbuilder2.mapper.MappingHolder
public Font getPropertyFont()
getPropertyFont
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void setPropertyFont(Font f)
setPropertyFont
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public String getDisplayName()
getDisplayName
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void setDisplayName(String name)
public boolean isSaveRequired()
isSaveRequired
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void setSaveRequired(boolean b)
public boolean isVisible()
isVisible
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void setVisible(boolean b)
setVisible
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public boolean isDeletable()
public void setDeletable(boolean b)
protected void addProperty(Property prop)
public Object getDefaultValue(String name)
public Property getProperty(int idx)
public BaseObject getOwner()
public boolean isReadOnly()
public void setReadOnly(boolean b)
public Property getProperty(String name)
public int indexOfProperty(Property prop)
public boolean isKeyColumn(int idx)
public int getColumnCount()
public int getRowCount()
public CategoryItem getItem(int idx)
public CategoryItem getItemByKey(Object key)
public UndoableEdit addItem(CategoryItem item)
public UndoableEdit removeItem(int idx)
public UndoableEdit addItem(CategoryItem item, int idx)
public void clearItems()
public List getItemList()
public UndoableEdit setItemList(List list)
public UndoableEdit assign(AdditionalPropertyInterface api)
assign
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public UndoableEdit swap(int idx1, int idx2)
public Property getKeyProperty()
protected void setKeyProperty(Property prop)
public Property getValueProperty()
protected void setValueProperty(Property prop)
public int getMappingTypeForHelp()
public void setMappingTypeForHelp(int n)
public boolean isEnableMacro()
public Object clone()
clone
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
clone
in class Object
public Component createEditorComponent()
createEditorComponent
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void releaseEditorComponent(Component c)
releaseEditorComponent
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void setEditable(Component c, boolean b)
setEditable
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public CategoryItem createNewItem()
public void assign(Element el)
assign
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public void assignTo(Element el)
assignTo
in interface com.infoteria.asteria.flowbuilder2.property.AdditionalPropertyInterface
public UndoableEdit replace(Pattern pattern, String targetStr, String replaceStr) throws PropertyException, PropertyChangeVetoException
com.infoteria.asteria.flowbuilder2.search.SearchTarget
replace
in interface com.infoteria.asteria.flowbuilder2.search.SearchTarget
public VariableList toVariableList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |