Package com.sun.javatest.tool
Class TreeSelectionPane.SelectNode
- java.lang.Object
-
- com.sun.javatest.tool.TreeSelectionPane.SelectNode
-
- All Implemented Interfaces:
com.sun.javatest.tool.selectiontree.selection.SelectionElement
- Enclosing class:
- TreeSelectionPane
protected static class TreeSelectionPane.SelectNode extends java.lang.Object implements com.sun.javatest.tool.selectiontree.selection.SelectionElement
-
-
Constructor Summary
Constructors Constructor Description SelectNode(TreeSelectionPane.Model model, java.lang.Object object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.sun.javatest.tool.selectiontree.selection.SelectionElement>getChildren()Answer the list with children.java.lang.StringgetDisplayableName()Answers the UI displayable element name.com.sun.javatest.tool.selectiontree.selection.SelectionTypegetSelectionType()Answers whether the interface implementor is selected, unselected or have partially selected children.java.lang.StringgetToolTip()Answers tooltip text for this element.booleanisToolTipAlwaysShown()Answers whether the tooltip should be always shown regardless the displayable name visibility.voidsetSelectionType(com.sun.javatest.tool.selectiontree.selection.SelectionType selectionType)Sets whether the interface implementor is selected, unselected or have partially selected children.
-
-
-
Constructor Detail
-
SelectNode
public SelectNode(TreeSelectionPane.Model model, java.lang.Object object)
-
-
Method Detail
-
getSelectionType
public com.sun.javatest.tool.selectiontree.selection.SelectionType getSelectionType()
Description copied from interface:com.sun.javatest.tool.selectiontree.selection.SelectionElementAnswers whether the interface implementor is selected, unselected or have partially selected children.- Specified by:
getSelectionTypein interfacecom.sun.javatest.tool.selectiontree.selection.SelectionElement
-
setSelectionType
public void setSelectionType(com.sun.javatest.tool.selectiontree.selection.SelectionType selectionType)
Description copied from interface:com.sun.javatest.tool.selectiontree.selection.SelectionElementSets whether the interface implementor is selected, unselected or have partially selected children.- Specified by:
setSelectionTypein interfacecom.sun.javatest.tool.selectiontree.selection.SelectionElement
-
getDisplayableName
public java.lang.String getDisplayableName()
Description copied from interface:com.sun.javatest.tool.selectiontree.selection.SelectionElementAnswers the UI displayable element name.- Specified by:
getDisplayableNamein interfacecom.sun.javatest.tool.selectiontree.selection.SelectionElement
-
getToolTip
public java.lang.String getToolTip()
Description copied from interface:com.sun.javatest.tool.selectiontree.selection.SelectionElementAnswers tooltip text for this element. If the return ed value is null, tooltip will not be displayed in UI.- Specified by:
getToolTipin interfacecom.sun.javatest.tool.selectiontree.selection.SelectionElement
-
isToolTipAlwaysShown
public boolean isToolTipAlwaysShown()
Description copied from interface:com.sun.javatest.tool.selectiontree.selection.SelectionElementAnswers whether the tooltip should be always shown regardless the displayable name visibility.- Specified by:
isToolTipAlwaysShownin interfacecom.sun.javatest.tool.selectiontree.selection.SelectionElement
-
getChildren
public java.util.List<com.sun.javatest.tool.selectiontree.selection.SelectionElement> getChildren()
Description copied from interface:com.sun.javatest.tool.selectiontree.selection.SelectionElementAnswer the list with children.- Specified by:
getChildrenin interfacecom.sun.javatest.tool.selectiontree.selection.SelectionElement
-
-