java.lang.Object
com.flexstor.common.awt.tree.TreeSingleSelection
- All Implemented Interfaces:
- TreeSelectionI
- public class TreeSingleSelection
- extends java.lang.Object
- implements TreeSelectionI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
current
FlexTreeNode current
TreeSingleSelection
public TreeSingleSelection()
isSelected
public boolean isSelected(FlexTreeNode node)
- Specified by:
isSelected in interface TreeSelectionI
clearSelected
public void clearSelected()
- Specified by:
clearSelected in interface TreeSelectionI
getSelectedCount
public int getSelectedCount()
- Specified by:
getSelectedCount in interface TreeSelectionI
getSelectedNodes
public java.util.ArrayList getSelectedNodes()
- Specified by:
getSelectedNodes in interface TreeSelectionI
unselectNode
public void unselectNode(FlexTreeNode node)
- Specified by:
unselectNode in interface TreeSelectionI
selectNode
public void selectNode(FlexTreeNode node)
- Specified by:
selectNode in interface TreeSelectionI
handleMouseSelection
public void handleMouseSelection(FlexTreeNode node,
boolean bShift,
boolean bCTRL)
- Specified by:
handleMouseSelection in interface TreeSelectionI
setCurrentNode
public void setCurrentNode(FlexTreeNode n)
- Specified by:
setCurrentNode in interface TreeSelectionI
getCurrentNode
public FlexTreeNode getCurrentNode()
- Specified by:
getCurrentNode in interface TreeSelectionI