public class SelectedState extends Object implements Serializable
Constructor and Description |
---|
SelectedState() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the selected state, so that no TreePath is selected.
|
void |
clearAndSelect(TreePath path)
Set the selected path and remove all prior selections.
|
boolean |
isSelected(TreePath path)
Checks if the given is selected.
|
void |
select(TreePath path)
Select the given path.
|
void |
select(TreePath path,
boolean selected)
Set the selection state of the given path
|
void |
unselect(TreePath path)
Unselect the given path.
|
public boolean isSelected(TreePath path)
public void select(TreePath path)
public void unselect(TreePath path)
public void clearAndSelect(TreePath path)
public void clear()
public void select(TreePath path, boolean selected)
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.