Package org.iplass.mtp.view.treeview
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 classTreeViewItem.TreeSortTypeソート種別 -
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringaction詳細表示用アクションprotected java.lang.StringdefNameEntity定義の名前protected booleandisplayDefinitionNodeEntity定義ノードを表示するかprotected java.lang.StringdisplayPropertyName表示するプロパティ名protected java.lang.StringentityDefinitionNodeCssStyleEntity定義のノードに設定するスタイルシートのクラスprotected java.lang.StringentityDefinitionNodeIconEntity定義のノードに表示するアイコンのURLprotected java.lang.StringentityNodeCssStyleEntityのノードに設定するスタイルシートのクラスprotected java.lang.StringentityNodeIconEntityのノードに表示するアイコンのURLprotected java.lang.StringindexNodeCssStyleIndexのノードに設定するスタイルシートのクラスprotected java.lang.StringindexNodeIconIndexのノードに表示するアイコンのURLprotected intlimit表示上限protected java.util.List<TreeViewGridColModelMapping>mappingColModelのマッピングprotected java.util.List<ReferenceTreeViewItem>referenceTreeViewItems参照のツリービューアイテムprotected java.lang.StringsortItemソートアイテムprotected TreeViewItem.TreeSortTypesortTypeソート種別protected java.lang.StringviewNameビュー名 -
Constructor Summary
Constructors Constructor Description TreeViewItem() -
Method Summary
Modifier and Type Method Description voidaddMapping(TreeViewGridColModelMapping mapping)ColModelのマッピングを追加します。voidaddReferenceTreeItem(ReferenceTreeViewItem referenceTreeViewItem)参照のツリービューアイテムを追加する。java.lang.StringgetAction()詳細表示用アクションを取得する。java.lang.StringgetDefName()Entity定義の名前を取得する。java.lang.StringgetDisplayPropertyName()表示するプロパティ名を取得する。java.lang.StringgetEntityDefinitionNodeCssStyle()Entity定義のノードに設定するスタイルシートのクラスを取得する。java.lang.StringgetEntityDefinitionNodeIcon()Entity定義のノードに表示するアイコンのURLを取得する。java.lang.StringgetEntityNodeCssStyle()Entityのノードに設定するスタイルシートのクラスを取得する。java.lang.StringgetEntityNodeIcon()Entityのノードに表示するアイコンのURLを取得する。java.lang.StringgetIndexNodeCssStyle()Indexのノードに設定するスタイルシートのクラスを取得する。java.lang.StringgetIndexNodeIcon()Indexのノードに表示するアイコンのURLを取得する。TreeViewItemgetItem(java.lang.String path)pathを解析して自身を含む階層構造からアイテムを取得する。intgetLimit()表示上限を取得する。java.util.List<TreeViewGridColModelMapping>getMapping()ColModelのマッピングを取得します。java.util.List<ReferenceTreeViewItem>getReferenceTreeViewItems()参照のツリービューアイテムを取得する。java.lang.StringgetSortItem()ソートアイテムを取得する。TreeViewItem.TreeSortTypegetSortType()ソート種別を取得する。java.lang.StringgetViewName()ビュー名を取得します。booleanisDisplayDefinitionNode()Entity定義ノードを表示するかを取得する。voidsetAction(java.lang.String action)詳細表示用アクションを設定する。voidsetDefName(java.lang.String defName)Entity定義の名前を設定する。voidsetDisplayDefinitionNode(boolean displayDefinitionNode)Entity定義ノードを表示するかを設定する。voidsetDisplayPropertyName(java.lang.String displayPropertyName)表示するプロパティ名を設定する。voidsetEntityDefinitionNodeCssStyle(java.lang.String entityDefinitionNodeCssStyle)Entity定義のノードに設定するスタイルシートのクラスを設定する。voidsetEntityDefinitionNodeIcon(java.lang.String entityDefinitionNodeIcon)Entity定義のノードに表示するアイコンのURLを設定する。voidsetEntityNodeCssStyle(java.lang.String entityNodeCssStyle)Entityのノードに設定するスタイルシートのクラスを設定する。voidsetEntityNodeIcon(java.lang.String entityNodeIcon)Entityのノードに表示するアイコンのURLを設定する。voidsetIndexNodeCssStyle(java.lang.String indexNodeCssStyle)Indexのノードに設定するスタイルシートのクラスを設定する。voidsetIndexNodeIcon(java.lang.String indexNodeIcon)Indexのノードに表示するアイコンのURLを設定する。voidsetLimit(int limit)表示上限を設定する。voidsetMapping(java.util.List<TreeViewGridColModelMapping> mapping)ColModelのマッピングを設定します。voidsetReferenceTreeViewItems(java.util.List<ReferenceTreeViewItem> referenceTreeViewItems)参照のツリービューアイテムを設定する。voidsetSortItem(java.lang.String sortItem)ソートアイテムを設定する。voidsetSortType(TreeViewItem.TreeSortType sortType)ソート種別を設定する。voidsetViewName(java.lang.String viewName)ビュー名を設定します。
-
Field Details
-
defName
protected java.lang.String defNameEntity定義の名前 -
action
protected java.lang.String action詳細表示用アクション -
viewName
protected java.lang.String viewNameビュー名 -
sortItem
protected java.lang.String sortItemソートアイテム -
sortType
ソート種別 -
limit
protected int limit表示上限 -
displayPropertyName
protected java.lang.String displayPropertyName表示するプロパティ名 -
displayDefinitionNode
protected boolean displayDefinitionNodeEntity定義ノードを表示するか -
referenceTreeViewItems
参照のツリービューアイテム -
entityNodeIcon
protected java.lang.String entityNodeIconEntityのノードに表示するアイコンのURL -
indexNodeIcon
protected java.lang.String indexNodeIconIndexのノードに表示するアイコンのURL -
entityDefinitionNodeIcon
protected java.lang.String entityDefinitionNodeIconEntity定義のノードに表示するアイコンのURL -
entityNodeCssStyle
protected java.lang.String entityNodeCssStyleEntityのノードに設定するスタイルシートのクラス -
indexNodeCssStyle
protected java.lang.String indexNodeCssStyleIndexのノードに設定するスタイルシートのクラス -
entityDefinitionNodeCssStyle
protected java.lang.String entityDefinitionNodeCssStyleEntity定義のノードに設定するスタイルシートのクラス -
mapping
ColModelのマッピング
-
-
Constructor Details
-
TreeViewItem
public TreeViewItem()
-
-
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
ソート種別を取得する。- Returns:
- ソート種別
-
setSortType
ソート種別を設定する。- 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
参照のツリービューアイテムを取得する。- Returns:
- 参照のツリービューアイテム
-
addReferenceTreeItem
参照のツリービューアイテムを追加する。- 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
ColModelのマッピングを取得します。- Returns:
- ColModelのマッピング
-
setMapping
ColModelのマッピングを設定します。- Parameters:
mapping- ColModelのマッピング
-
addMapping
ColModelのマッピングを追加します。- Parameters:
mapping- ColModelのマッピング
-
getItem
pathを解析して自身を含む階層構造からアイテムを取得する。- Parameters:
path- ツリー構造のパス- Returns:
- パスの示すアイテムの定義
-