Class PropertyGroup

java.lang.Object
com.infoteria.gui.property.AbstractProperty
com.infoteria.gui.property.PropertyGroup
All Implemented Interfaces:
Property, Cloneable
Direct Known Subclasses:
PropertyGroup

public class PropertyGroup extends AbstractProperty
プロパティグループ
プロパティを階層化するためのプロパティです。
プロパティグループ自体はプロパティ値を持ちません
  • Field Details

  • Constructor Details

  • Method Details

    • 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を指定します。
      Specified by:
      setValue in interface Property
      Specified by:
      setValue in class AbstractProperty
      Throws:
      PropertyException
    • setValueAsString

      public UndoableEdit setValueAsString(String o, boolean canUndo) throws PropertyException
      Description copied from interface: Property
      プロパティ値を文字列で設定します。
      Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
      Specified by:
      setValueAsString in interface Property
      Specified by:
      setValueAsString in class AbstractProperty
      Throws:
      PropertyException
    • isEditable

      public boolean isEditable()
      Description copied from interface: Property
      プロパティが編集可能であるかどうかを返します。
      Specified by:
      isEditable in 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
      プロパティのオーナーを設定します。
      Specified by:
      setOwner in interface Property
      Overrides:
      setOwner in class AbstractProperty
    • getAllChilds

      public List<Property> getAllChilds()
    • getAllChildsAndSelf

      public List<Property> getAllChildsAndSelf()
    • isDescendant

      public boolean isDescendant(Property prop)
      引数のPropertyが自分の子孫であるかどうかを返します
    • isVisibleDescendant

      public boolean isVisibleDescendant(Property prop)
      引数のPropertyがVisibleであるかどうかを返します 引数のPropertyは自分の子孫でなければなりません
    • getChildren

      public List<Property> getChildren()
    • expand

      public void expand()
    • collapse

      public void collapse()
    • isExpand

      public boolean isExpand()
    • setExpand

      public void setExpand(boolean b)
    • addPropertyGroupListener

      public void addPropertyGroupListener(com.infoteria.gui.property.event.PropertyGroupListener l)
    • removePropertyGroupListener

      public void removePropertyGroupListener(com.infoteria.gui.property.event.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の要素からプロパティ値を設定します。
      Specified by:
      assign in interface Property
      Overrides:
      assign in class AbstractProperty
    • assignTo

      public void assignTo(Element el)
      Description copied from interface: Property
      XMLの要素にプロパティ値を設定します。
      Specified by:
      assignTo in interface Property
      Overrides:
      assignTo in class AbstractProperty
    • valueEquals

      public boolean valueEquals(Property prop)
      Description copied from interface: Property
      プロパティの設定値を比較します
      Specified by:
      valueEquals in interface Property
      Overrides:
      valueEquals in class AbstractProperty
    • doGetDifference

      protected com.infoteria.gui.diff.Difference doGetDifference(Property prop)
      Overrides:
      doGetDifference in class AbstractProperty