NODE
- is the generic type of the nodes of the tree.public class UiWidgetAdapterTestTree<NODE> extends UiWidgetAdapterTestSelectedValue<NODE> implements UiWidgetAdapterTree<NODE>
UiWidgetAdapterTree
for testing without a native toolkit.HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
PROPERTY_SUMMARY
PROPERTY_TITLE
ATTRIBUTE_COLSPAN
Constructor and Description |
---|
UiWidgetAdapterTestTree()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
collapseAllNodes() |
void |
expandNodes() |
UiWidgetAbstractTree.UiWidgetTreeNode<NODE> |
getTreeNodeWidget(NODE node) |
void |
setRootNode(NODE node) |
void |
setTreeModel(UiWidgetAbstractTree.UiTreeModel<NODE> model) |
void |
setTreeNodeRenderer(UiWidgetAbstractTree.UiTreeNodeRenderer<NODE,?> renderer) |
getSelectedValue, getSelectedValues, getSelectionCount, hasSelectedValue, setSelectedValue, setSelectedValues
clearValidationFailureSetCount, createAbsoluteImageUrl, createToplevelWidget, dispose, getHeightInPixel, getLength, getSummary, getValidationFailure, getValidationFailureSetCount, getWidthInPixel, isCollapsed, isTitleVisible, removeFromParent, setAccessKey, setAltText, setAttribute, setCollapsed, setEnabled, setEventSender, setFocused, setId, setImage, setLabel, setLength, setMaximumTextLength, setSelectionMode, setStyles, setSummary, setTitle, setTitleVisible, setTooltip, setUrl, setValidationFailure, setVisible, verifyNotDisposed
addStyle, createLabel, getAccessKey, getActiveWidget, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getImage, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, hasStyle, isDisposed, isEnabled, isFocused, isResizable, isStyleDeltaSupported, removeStyle, setMode, setParent, setPrimaryStyle, setUiWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
isFocused
setFocused
setAccessKey
getAccessKey
setSelectionMode
getSelectionMode
setSummary
getSummary
setTitle
getTitle
setTitleVisible
isTitleVisible
getMaximumTextLength
getAltText
getUrl
getImage
public void setRootNode(NODE node)
setRootNode
in interface UiWidgetAdapterTree<NODE>
node
- is the root node.public void setTreeModel(UiWidgetAbstractTree.UiTreeModel<NODE> model)
setTreeModel
in interface UiWidgetAdapterTree<NODE>
model
- is the UiWidgetAbstractTree.UiTreeModel
.public void setTreeNodeRenderer(UiWidgetAbstractTree.UiTreeNodeRenderer<NODE,?> renderer)
setTreeNodeRenderer
in interface UiWidgetAdapterTree<NODE>
renderer
- is the UiWidgetAbstractTree.UiTreeNodeRenderer
.UiWidgetAdapterTree#setTreeNodeRenderer(UiTreeNodeRenderer)
public UiWidgetAbstractTree.UiWidgetTreeNode<NODE> getTreeNodeWidget(NODE node)
getTreeNodeWidget
in interface UiWidgetAdapterTree<NODE>
node
- is the <NODE>.UiWidgetAbstractTree.UiWidgetTreeNode
or null
.UiWidgetAdapterTree.getTreeNodeWidget(Object)
public void collapseAllNodes()
collapseAllNodes
in interface UiWidgetAdapterTree<NODE>
UiWidgetAdapterTree.collapseAllNodes()
public void expandNodes()
expandNodes
in interface UiWidgetAdapterTree<NODE>
UiWidgetAdapterTree.expandNodes()
Copyright © 2001–2016 mmm-Team. All rights reserved.