Class MatchingSocketsTreeModel
- java.lang.Object
-
- org.zkoss.zul.AbstractTreeModel<MatchingSocketsTreeModelInternalNode>
-
- com.hybris.cockpitng.admin.model.tree.MatchingSocketsTreeModel
-
- All Implemented Interfaces:
java.io.Serializable,org.zkoss.zul.ext.Openable<MatchingSocketsTreeModelInternalNode>,org.zkoss.zul.ext.Pageable,org.zkoss.zul.ext.Selectable<MatchingSocketsTreeModelInternalNode>,org.zkoss.zul.ext.TreeOpenableModel,org.zkoss.zul.ext.TreeSelectableModel,org.zkoss.zul.PageableModel,org.zkoss.zul.TreeModel<MatchingSocketsTreeModelInternalNode>
public class MatchingSocketsTreeModel extends org.zkoss.zul.AbstractTreeModel<MatchingSocketsTreeModelInternalNode>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MatchingSocketsTreeModel(Widget selectedWidget, WidgetSocket sourceSocket, java.util.List<WidgetSocketMatchStrategy> socketMatchStrategies, CockpitComponentDefinitionService widgetDefinitionService, WidgetService widgetService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchingSocketsTreeModelInternalNodegetChild(MatchingSocketsTreeModelInternalNode parent, int index)intgetChildCount(MatchingSocketsTreeModelInternalNode parent)protected WidgetDefinitiongetWidgetDefinition(Widget widget)booleanisLeaf(MatchingSocketsTreeModelInternalNode node)-
Methods inherited from class org.zkoss.zul.AbstractTreeModel
addOpenObject, addOpenPath, addOpenPaths, addPagingEventListener, addSelectionPath, addSelectionPaths, addToSelection, addTreeDataListener, afterSort, beforeSort, clearOpen, clearSelection, clone, fireEvent, fireEvent, fireEvent, fireOpenChanged, fireSelectionChanged, getActivePage, getChild, getIndexOfChild, getOpenCount, getOpenObjects, getOpenPath, getOpenPaths, getPageCount, getPageSize, getPath, getRoot, getSelection, getSelectionControl, getSelectionCount, getSelectionPath, getSelectionPaths, isMultiple, isObjectOpened, isOpenEmpty, isPathOpened, isPathSelected, isSelected, isSelectionEmpty, removeFromSelection, removeOpenObject, removeOpenPath, removeOpenPaths, removePagingEventListener, removeSelectionPath, removeSelectionPaths, removeTreeDataListener, setActivePage, setMultiple, setOpenObjects, setPageSize, setSelection, setSelectionControl
-
-
-
-
Constructor Detail
-
MatchingSocketsTreeModel
public MatchingSocketsTreeModel(Widget selectedWidget, WidgetSocket sourceSocket, java.util.List<WidgetSocketMatchStrategy> socketMatchStrategies, CockpitComponentDefinitionService widgetDefinitionService, WidgetService widgetService)
-
-
Method Detail
-
getWidgetDefinition
protected WidgetDefinition getWidgetDefinition(Widget widget)
-
isLeaf
public boolean isLeaf(MatchingSocketsTreeModelInternalNode node)
-
getChild
public MatchingSocketsTreeModelInternalNode getChild(MatchingSocketsTreeModelInternalNode parent, int index)
-
getChildCount
public int getChildCount(MatchingSocketsTreeModelInternalNode parent)
-
-