public class TreeSelection extends Object
Constructor and Description |
---|
TreeSelection(String itemText,
Object selection) |
TreeSelection(String itemText,
Object selection,
Object parent) |
TreeSelection(String itemText,
Object selection,
Object parent,
Object grandParent) |
Modifier and Type | Method and Description |
---|---|
Object |
getGrandParent() |
String |
getItemText() |
Object |
getParent() |
Object |
getSelection() |
void |
setGrandParent(Object grandParent) |
void |
setItemText(String description) |
void |
setParent(Object parent) |
void |
setSelection(Object selection) |
public TreeSelection(String itemText, Object selection, Object parent, Object grandParent)
selection
- parent
- grandParent
- public TreeSelection(String itemText, Object selection, Object parent)
selection
- parent
- public Object getGrandParent()
public void setGrandParent(Object grandParent)
grandParent
- the grandParent to setpublic Object getParent()
public void setParent(Object parent)
parent
- the parent to setpublic Object getSelection()
public void setSelection(Object selection)
selection
- the selection to setpublic String getItemText()
public void setItemText(String description)
description
- the description to set