com.infoteria.gui.property
Class PropertyGroup
java.lang.Object
|
+--com.infoteria.gui.property.AbstractProperty
|
+--com.infoteria.gui.property.PropertyGroup
- All Implemented Interfaces:
- Cloneable, Property
- Direct Known Subclasses:
- PropertyGroup
- public class PropertyGroup
- extends AbstractProperty
プロパティグループ
プロパティを階層化するためのプロパティです。
プロパティグループ自体はプロパティ値を持ちません
Methods inherited from class com.infoteria.gui.property.AbstractProperty |
addPropertyChangeListener, clone, createUndoableEdit, doSetValue, getAdapter, getDifference, getDisplayName, getEditor, getName, getOwner, getPropertyChangeListeners, getRenderer, getTooltip, getValue, getValueAsString, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setRenderer, setTooltip, setValue, setValueAsString, setVisible |
PROPERTY_TYPE
public static final String PROPERTY_TYPE
PropertyGroup
public PropertyGroup(PropertyHolder owner,
String name)
PropertyGroup
public PropertyGroup(String name)
getType
public String getType()
- Description copied from interface:
Property
- プロパティ型を返します。
setValue
public UndoableEdit setValue(Object o,
boolean canUndo)
throws PropertyException
- Description copied from interface:
Property
- プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
- Overrides:
setValue
in class AbstractProperty
setValueAsString
public UndoableEdit setValueAsString(String o,
boolean canUndo)
throws PropertyException
- Description copied from interface:
Property
- プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
- Overrides:
setValueAsString
in class AbstractProperty
isEditable
public boolean isEditable()
- Description copied from interface:
Property
- プロパティが編集可能であるかどうかを返します。
- Overrides:
isEditable
in class AbstractProperty
addChild
public void addChild(Property prop)
removeChild
public void removeChild(Property prop)
clear
public void clear()
getChildCount
public int getChildCount()
getChild
public Property getChild(String name)
getChild
public Property getChild(int idx)
setOwner
public void setOwner(PropertyHolder owner)
- Description copied from interface:
Property
- プロパティのオーナーを設定します。
- Overrides:
setOwner
in class AbstractProperty
getAllChilds
public List getAllChilds()
getAllChildsAndSelf
public List getAllChildsAndSelf()
isDescendant
public boolean isDescendant(Property prop)
- 引数のPropertyが自分の子孫であるかどうかを返します
isVisibleDescendant
public boolean isVisibleDescendant(Property prop)
- 引数のPropertyがVisibleであるかどうかを返します
引数のPropertyは自分の子孫でなければなりません
getChildren
public List getChildren()
expand
public void expand()
collapse
public void collapse()
isExpand
public boolean isExpand()
setExpand
public void setExpand(boolean b)
addPropertyGroupListener
public void addPropertyGroupListener(PropertyGroupListener l)
removePropertyGroupListener
public void removePropertyGroupListener(PropertyGroupListener l)
doClone
protected void doClone(AbstractProperty prop)
- Description copied from class:
AbstractProperty
- cloneメソッドの実装部分
DeepCopyが必要な場合はオーバーライドしてください。
- Overrides:
doClone
in class AbstractProperty
assign
public void assign(Element el)
- Description copied from interface:
Property
- XMLの要素からプロパティ値を設定します。
- Overrides:
assign
in class AbstractProperty
assignTo
public void assignTo(Element el)
- Description copied from interface:
Property
- XMLの要素にプロパティ値を設定します。
- Overrides:
assignTo
in class AbstractProperty
valueEquals
public boolean valueEquals(Property prop)
- Description copied from interface:
Property
- プロパティの設定値を比較します
- Overrides:
valueEquals
in class AbstractProperty
doGetDifference
protected com.infoteria.gui.diff.Difference doGetDifference(Property prop)
- Overrides:
doGetDifference
in class AbstractProperty