|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.filters.FilterValuesToTreeModelAdapter
public class FilterValuesToTreeModelAdapter
| Constructor Summary | |
|---|---|
FilterValuesToTreeModelAdapter()
Constructs a new empty adapter. |
|
FilterValuesToTreeModelAdapter(FilterValuesInterface listRoot)
Constructs a new adapter with a structure defined by converting the given values list to a tree model. |
|
FilterValuesToTreeModelAdapter(FilterValuesInterface listRoot,
boolean asksAllowsChildren)
Constructs a new adapter with a structure defined by converting the given values list to a tree model. |
|
FilterValuesToTreeModelAdapter(javax.swing.tree.TreeNode root)
Constructs a new adapter with the given tree node as the root. |
|
FilterValuesToTreeModelAdapter(javax.swing.tree.TreeNode root,
boolean asksAllowsChildren)
Constructs a new adapter with the given root node. |
|
| Method Summary | |
|---|---|
static javax.swing.tree.MutableTreeNode |
convertList(FilterValuesInterface listRoot)
Converts the given filter values list to a tree node model and returns the root of that new model. |
java.lang.Object |
getData()
Returns the initial values list used to create the tree model or user supplied data. |
void |
setData(java.lang.Object object)
Sets the user supplied data for this adapter. |
| Constructor Detail |
|---|
public FilterValuesToTreeModelAdapter()
public FilterValuesToTreeModelAdapter(javax.swing.tree.TreeNode root)
root - the root node of the new tree model
public FilterValuesToTreeModelAdapter(javax.swing.tree.TreeNode root,
boolean asksAllowsChildren)
root - the root node of the new tree modelaskAllowsChildren - a boolean, false if any node can
have children, true if each node is asked to see if
it can have childrenDefaultTreeModel.asksAllowsChildren
public FilterValuesToTreeModelAdapter(FilterValuesInterface listRoot)
throws DataRetrievalError
listRoot - the values list to convert
DataRetrievalError - if any errors occur while retrieving data from the values list(s)
public FilterValuesToTreeModelAdapter(FilterValuesInterface listRoot,
boolean asksAllowsChildren)
throws DataRetrievalError
listRoot - the values list to convertaskAllowsChildren - a boolean, false if any node can
have children, true if each node is asked to see if
it can have children
DataRetrievalError - if any errors occur while retrieving data from the values list(s)DefaultTreeModel.asksAllowsChildren| Method Detail |
|---|
public java.lang.Object getData()
public void setData(java.lang.Object object)
object - the data for this adapter
public static javax.swing.tree.MutableTreeNode convertList(FilterValuesInterface listRoot)
throws DataRetrievalError
listRoot - the values list to process
DataRetrievalError - if any errors occur while retrieving data from the values list(s)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||