org.pm4j.core.pm
Interface PmTreeNode

All Superinterfaces:
java.lang.Comparable<PmObject>, PmObject
All Known Subinterfaces:
PmAttrPmList<T_ITEM_PM>, PmBean<T_BEAN>, PmConversation, PmElement, PmTableRowPm, PmTabSet
All Known Implementing Classes:
PmAttrPmListImpl, PmBeanBase, PmBeanBase.Nested, PmConversationImpl, PmConversationImpl.ChildSession, PmElementBase, PmElementImpl, PmPagerImpl, PmPagerImpl.SelectableItemPm, PmTabSetImpl

public interface PmTreeNode
extends PmObject

Interface for presentation models that may be displayed as tree node items.

Author:
olaf boede

Field Summary
 
Fields inherited from interface org.pm4j.core.pm.PmObject
STYLE_CLASS_DISABLED, STYLE_CLASS_ERROR, STYLE_CLASS_INFO, STYLE_CLASS_REQUIRED, STYLE_CLASS_WARN
 
Method Summary
 PmObject getNodeDetailsPm()
          This method supports master-detail views.
 java.util.List<PmTreeNode> getPmChildNodes()
           
 boolean isPmTreeLeaf()
           
 
Methods inherited from interface org.pm4j.core.pm.PmObject
accept, canSetPmTitle, compareTo, getPmConversation, getPmIconPath, getPmName, getPmParent, getPmProperty, getPmRelativeName, getPmShortTitle, getPmStyleClasses, getPmTitle, getPmTooltip, isPmEnabled, isPmReadonly, isPmValid, isPmVisible, setPmEnabled, setPmParent, setPmProperty, setPmTitle, setPmVisible
 

Method Detail

getPmChildNodes

java.util.List<PmTreeNode> getPmChildNodes()
Returns:
The set of sub-nodes to display for this item.

getNodeDetailsPm

PmObject getNodeDetailsPm()
This method supports master-detail views.

Returns:
The (optional) details PM to present in a details view.

isPmTreeLeaf

boolean isPmTreeLeaf()
Returns:
true if this instance should be presented as a tree leaf node.