Class TreeViewItem

java.lang.Object
org.iplass.mtp.view.treeview.TreeViewItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EntityTreeViewItem

public abstract class TreeViewItem
extends java.lang.Object
implements java.io.Serializable
ツリービューのアイテム
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  TreeViewItem.TreeSortType
    ソート種別
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String action
    詳細表示用アクション
    protected java.lang.String defName
    Entity定義の名前
    protected boolean displayDefinitionNode
    Entity定義ノードを表示するか
    protected java.lang.String displayPropertyName
    表示するプロパティ名
    protected java.lang.String entityDefinitionNodeCssStyle
    Entity定義のノードに設定するスタイルシートのクラス
    protected java.lang.String entityDefinitionNodeIcon
    Entity定義のノードに表示するアイコンのURL
    protected java.lang.String entityNodeCssStyle
    Entityのノードに設定するスタイルシートのクラス
    protected java.lang.String entityNodeIcon
    Entityのノードに表示するアイコンのURL
    protected java.lang.String indexNodeCssStyle
    Indexのノードに設定するスタイルシートのクラス
    protected java.lang.String indexNodeIcon
    Indexのノードに表示するアイコンのURL
    protected int limit
    表示上限
    protected java.util.List<TreeViewGridColModelMapping> mapping
    ColModelのマッピング
    protected java.util.List<ReferenceTreeViewItem> referenceTreeViewItems
    参照のツリービューアイテム
    protected java.lang.String sortItem
    ソートアイテム
    protected TreeViewItem.TreeSortType sortType
    ソート種別
    protected java.lang.String viewName
    ビュー名
  • Constructor Summary

    Constructors 
    Constructor Description
    TreeViewItem()  
  • Method Summary

    Modifier and Type Method Description
    void addMapping​(TreeViewGridColModelMapping mapping)
    ColModelのマッピングを追加します。
    void addReferenceTreeItem​(ReferenceTreeViewItem referenceTreeViewItem)
    参照のツリービューアイテムを追加する。
    java.lang.String getAction()
    詳細表示用アクションを取得する。
    java.lang.String getDefName()
    Entity定義の名前を取得する。
    java.lang.String getDisplayPropertyName()
    表示するプロパティ名を取得する。
    java.lang.String getEntityDefinitionNodeCssStyle()
    Entity定義のノードに設定するスタイルシートのクラスを取得する。
    java.lang.String getEntityDefinitionNodeIcon()
    Entity定義のノードに表示するアイコンのURLを取得する。
    java.lang.String getEntityNodeCssStyle()
    Entityのノードに設定するスタイルシートのクラスを取得する。
    java.lang.String getEntityNodeIcon()
    Entityのノードに表示するアイコンのURLを取得する。
    java.lang.String getIndexNodeCssStyle()
    Indexのノードに設定するスタイルシートのクラスを取得する。
    java.lang.String getIndexNodeIcon()
    Indexのノードに表示するアイコンのURLを取得する。
    TreeViewItem getItem​(java.lang.String path)
    pathを解析して自身を含む階層構造からアイテムを取得する。
    int getLimit()
    表示上限を取得する。
    java.util.List<TreeViewGridColModelMapping> getMapping()
    ColModelのマッピングを取得します。
    java.util.List<ReferenceTreeViewItem> getReferenceTreeViewItems()
    参照のツリービューアイテムを取得する。
    java.lang.String getSortItem()
    ソートアイテムを取得する。
    TreeViewItem.TreeSortType getSortType()
    ソート種別を取得する。
    java.lang.String getViewName()
    ビュー名を取得します。
    boolean isDisplayDefinitionNode()
    Entity定義ノードを表示するかを取得する。
    void setAction​(java.lang.String action)
    詳細表示用アクションを設定する。
    void setDefName​(java.lang.String defName)
    Entity定義の名前を設定する。
    void setDisplayDefinitionNode​(boolean displayDefinitionNode)
    Entity定義ノードを表示するかを設定する。
    void setDisplayPropertyName​(java.lang.String displayPropertyName)
    表示するプロパティ名を設定する。
    void setEntityDefinitionNodeCssStyle​(java.lang.String entityDefinitionNodeCssStyle)
    Entity定義のノードに設定するスタイルシートのクラスを設定する。
    void setEntityDefinitionNodeIcon​(java.lang.String entityDefinitionNodeIcon)
    Entity定義のノードに表示するアイコンのURLを設定する。
    void setEntityNodeCssStyle​(java.lang.String entityNodeCssStyle)
    Entityのノードに設定するスタイルシートのクラスを設定する。
    void setEntityNodeIcon​(java.lang.String entityNodeIcon)
    Entityのノードに表示するアイコンのURLを設定する。
    void setIndexNodeCssStyle​(java.lang.String indexNodeCssStyle)
    Indexのノードに設定するスタイルシートのクラスを設定する。
    void setIndexNodeIcon​(java.lang.String indexNodeIcon)
    Indexのノードに表示するアイコンのURLを設定する。
    void setLimit​(int limit)
    表示上限を設定する。
    void setMapping​(java.util.List<TreeViewGridColModelMapping> mapping)
    ColModelのマッピングを設定します。
    void setReferenceTreeViewItems​(java.util.List<ReferenceTreeViewItem> referenceTreeViewItems)
    参照のツリービューアイテムを設定する。
    void setSortItem​(java.lang.String sortItem)
    ソートアイテムを設定する。
    void setSortType​(TreeViewItem.TreeSortType sortType)
    ソート種別を設定する。
    void setViewName​(java.lang.String viewName)
    ビュー名を設定します。

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • defName

      protected java.lang.String defName
      Entity定義の名前
    • action

      protected java.lang.String action
      詳細表示用アクション
    • viewName

      protected java.lang.String viewName
      ビュー名
    • sortItem

      protected java.lang.String sortItem
      ソートアイテム
    • sortType

      protected TreeViewItem.TreeSortType sortType
      ソート種別
    • limit

      protected int limit
      表示上限
    • displayPropertyName

      protected java.lang.String displayPropertyName
      表示するプロパティ名
    • displayDefinitionNode

      protected boolean displayDefinitionNode
      Entity定義ノードを表示するか
    • referenceTreeViewItems

      protected java.util.List<ReferenceTreeViewItem> referenceTreeViewItems
      参照のツリービューアイテム
    • entityNodeIcon

      protected java.lang.String entityNodeIcon
      Entityのノードに表示するアイコンのURL
    • indexNodeIcon

      protected java.lang.String indexNodeIcon
      Indexのノードに表示するアイコンのURL
    • entityDefinitionNodeIcon

      protected java.lang.String entityDefinitionNodeIcon
      Entity定義のノードに表示するアイコンのURL
    • entityNodeCssStyle

      protected java.lang.String entityNodeCssStyle
      Entityのノードに設定するスタイルシートのクラス
    • indexNodeCssStyle

      protected java.lang.String indexNodeCssStyle
      Indexのノードに設定するスタイルシートのクラス
    • entityDefinitionNodeCssStyle

      protected java.lang.String entityDefinitionNodeCssStyle
      Entity定義のノードに設定するスタイルシートのクラス
    • mapping

      protected java.util.List<TreeViewGridColModelMapping> mapping
      ColModelのマッピング
  • Constructor Details

  • Method Details

    • getDefName

      public java.lang.String getDefName()
      Entity定義の名前を取得する。
      Returns:
      Entity定義の名前
    • setDefName

      public void setDefName​(java.lang.String defName)
      Entity定義の名前を設定する。
      Parameters:
      defName - Entity定義の名前
    • getAction

      public java.lang.String getAction()
      詳細表示用アクションを取得する。
      Returns:
      詳細表示用アクション
    • setAction

      public void setAction​(java.lang.String action)
      詳細表示用アクションを設定する。
      Parameters:
      action - 詳細表示用アクション
    • getViewName

      public java.lang.String getViewName()
      ビュー名を取得します。
      Returns:
      ビュー名
    • setViewName

      public void setViewName​(java.lang.String viewName)
      ビュー名を設定します。
      Parameters:
      viewName - ビュー名
    • getSortItem

      public java.lang.String getSortItem()
      ソートアイテムを取得する。
      Returns:
      ソートアイテム
    • setSortItem

      public void setSortItem​(java.lang.String sortItem)
      ソートアイテムを設定する。
      Parameters:
      sortItem - ソートアイテム
    • getSortType

      public TreeViewItem.TreeSortType getSortType()
      ソート種別を取得する。
      Returns:
      ソート種別
    • setSortType

      public void setSortType​(TreeViewItem.TreeSortType sortType)
      ソート種別を設定する。
      Parameters:
      sortType - ソート種別
    • getLimit

      public int getLimit()
      表示上限を取得する。
      Returns:
      表示上限
    • setLimit

      public void setLimit​(int limit)
      表示上限を設定する。
      Parameters:
      limit - 表示上限
    • getDisplayPropertyName

      public java.lang.String getDisplayPropertyName()
      表示するプロパティ名を取得する。
      Returns:
      表示するプロパティ名
    • setDisplayPropertyName

      public void setDisplayPropertyName​(java.lang.String displayPropertyName)
      表示するプロパティ名を設定する。
      Parameters:
      displayPropertyName - 表示するプロパティ名
    • isDisplayDefinitionNode

      public boolean isDisplayDefinitionNode()
      Entity定義ノードを表示するかを取得する。
      Returns:
      Entity定義ノードを表示するか
    • setDisplayDefinitionNode

      public void setDisplayDefinitionNode​(boolean displayDefinitionNode)
      Entity定義ノードを表示するかを設定する。
      Parameters:
      displayDefinitionNode - Entity定義ノードを表示するか
    • setReferenceTreeViewItems

      public void setReferenceTreeViewItems​(java.util.List<ReferenceTreeViewItem> referenceTreeViewItems)
      参照のツリービューアイテムを設定する。
      Parameters:
      referenceTreeViewItems - 参照のツリービューアイテム
    • getReferenceTreeViewItems

      public java.util.List<ReferenceTreeViewItem> getReferenceTreeViewItems()
      参照のツリービューアイテムを取得する。
      Returns:
      参照のツリービューアイテム
    • addReferenceTreeItem

      public void addReferenceTreeItem​(ReferenceTreeViewItem referenceTreeViewItem)
      参照のツリービューアイテムを追加する。
      Parameters:
      referenceTreeViewItem - 参照のツリービューアイテムを追加する。
    • getEntityNodeIcon

      public java.lang.String getEntityNodeIcon()
      Entityのノードに表示するアイコンのURLを取得する。
      Returns:
      Entityのノードに表示するアイコンのURL
    • setEntityNodeIcon

      public void setEntityNodeIcon​(java.lang.String entityNodeIcon)
      Entityのノードに表示するアイコンのURLを設定する。
      Parameters:
      entityNodeIcon - Entityのノードに表示するアイコンのURL
    • getIndexNodeIcon

      public java.lang.String getIndexNodeIcon()
      Indexのノードに表示するアイコンのURLを取得する。
      Returns:
      Indexのノードに表示するアイコンのURL
    • setIndexNodeIcon

      public void setIndexNodeIcon​(java.lang.String indexNodeIcon)
      Indexのノードに表示するアイコンのURLを設定する。
      Parameters:
      indexNodeIcon - Indexのノードに表示するアイコンのURL
    • getEntityDefinitionNodeIcon

      public java.lang.String getEntityDefinitionNodeIcon()
      Entity定義のノードに表示するアイコンのURLを取得する。
      Returns:
      Entity定義のノードに表示するアイコンのURL
    • setEntityDefinitionNodeIcon

      public void setEntityDefinitionNodeIcon​(java.lang.String entityDefinitionNodeIcon)
      Entity定義のノードに表示するアイコンのURLを設定する。
      Parameters:
      entityDefinitionNodeIcon - Entity定義のノードに表示するアイコンのURL
    • getEntityNodeCssStyle

      public java.lang.String getEntityNodeCssStyle()
      Entityのノードに設定するスタイルシートのクラスを取得する。
      Returns:
      Entityのノードに設定するスタイルシートのクラス
    • setEntityNodeCssStyle

      public void setEntityNodeCssStyle​(java.lang.String entityNodeCssStyle)
      Entityのノードに設定するスタイルシートのクラスを設定する。
      Parameters:
      entityNodeCssStyle - Entityのノードに設定するスタイルシートのクラス
    • getIndexNodeCssStyle

      public java.lang.String getIndexNodeCssStyle()
      Indexのノードに設定するスタイルシートのクラスを取得する。
      Returns:
      Indexのノードに設定するスタイルシートのクラス
    • setIndexNodeCssStyle

      public void setIndexNodeCssStyle​(java.lang.String indexNodeCssStyle)
      Indexのノードに設定するスタイルシートのクラスを設定する。
      Parameters:
      indexNodeCssStyle - Indexのノードに設定するスタイルシートのクラス
    • getEntityDefinitionNodeCssStyle

      public java.lang.String getEntityDefinitionNodeCssStyle()
      Entity定義のノードに設定するスタイルシートのクラスを取得する。
      Returns:
      Entity定義のノードに設定するスタイルシートのクラス
    • setEntityDefinitionNodeCssStyle

      public void setEntityDefinitionNodeCssStyle​(java.lang.String entityDefinitionNodeCssStyle)
      Entity定義のノードに設定するスタイルシートのクラスを設定する。
      Parameters:
      entityDefinitionNodeCssStyle - Entity定義のノードに設定するスタイルシートのクラス
    • getMapping

      public java.util.List<TreeViewGridColModelMapping> getMapping()
      ColModelのマッピングを取得します。
      Returns:
      ColModelのマッピング
    • setMapping

      public void setMapping​(java.util.List<TreeViewGridColModelMapping> mapping)
      ColModelのマッピングを設定します。
      Parameters:
      mapping - ColModelのマッピング
    • addMapping

      public void addMapping​(TreeViewGridColModelMapping mapping)
      ColModelのマッピングを追加します。
      Parameters:
      mapping - ColModelのマッピング
    • getItem

      public TreeViewItem getItem​(java.lang.String path)
      pathを解析して自身を含む階層構造からアイテムを取得する。
      Parameters:
      path - ツリー構造のパス
      Returns:
      パスの示すアイテムの定義