|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.calculateditems.DataSourceTreeNode
public class DataSourceTreeNode
Description: Copyright: Copyright (c) 2002 Company: SAS
Field Summary | |
---|---|
protected boolean |
_canHaveChildren
|
protected java.util.List |
_children
|
protected java.util.List |
_dataSourceList
|
protected java.lang.String |
_description
|
protected java.lang.String |
_displayName
|
protected com.sas.expressions.visuals.DistinctValuesInterface |
_distinctValuesInterface
|
protected java.util.Map |
_distinctValuesMap
|
protected boolean |
_dviLoaded
|
protected CalculatedObjectFactoryInterface |
_factory
|
protected java.lang.String |
_imageNameCollapsed
|
protected java.lang.String |
_imageNameExpanded
|
protected boolean |
_init
|
protected java.lang.String |
_insertName
|
protected boolean |
_isCube
|
protected boolean |
_loaded
|
protected java.lang.String |
_name
|
protected java.lang.Object |
_orig
|
protected DataSourceTreeNode |
_parent
|
protected boolean |
_readValues
|
protected java.lang.String |
_toolTip
|
protected java.util.List |
_values
|
protected java.lang.String |
DISPLAY_NAME_EMPTY
|
static java.lang.String |
RB_KEY
|
Constructor Summary | |
---|---|
DataSourceTreeNode(CalculatedObjectFactoryInterface factory,
DataSourceTreeNode parent,
java.lang.Object value)
|
|
DataSourceTreeNode(CalculatedObjectFactoryInterface factory,
DataSourceTreeNode parent,
java.lang.Object value,
java.util.List children)
|
|
DataSourceTreeNode(java.lang.String name,
java.lang.String desc,
CalculatedObjectFactoryInterface factory,
boolean physicalData)
|
|
DataSourceTreeNode(java.lang.String name,
java.lang.String desc,
java.util.List children)
|
Method Summary | |
---|---|
java.util.Enumeration |
children()
|
boolean |
getAllowsChildren()
|
javax.swing.tree.TreeNode |
getChildAt(int index)
|
int |
getChildCount()
|
com.sas.expressions.visuals.DataValuesInterface |
getDataValuesInterface()
Returns an interface to iterate over all the data values for this object (return null if that type of data not available) |
java.lang.String |
getDescription()
Long description of this object (used by tooltip in some cases) |
java.lang.String |
getDisplayName()
Text to be displayed in the cells when rendering this object to the user |
protected java.lang.String |
getDisplayName(java.lang.String name)
|
com.sas.expressions.visuals.DistinctValuesInterface |
getDistinctValuesInterface()
Returns an interface to iterate over all the distinct values for this object (return null if that type of data not available) |
com.sas.expressions.visuals.FormattedValuesInterface |
getFormattedValuesInterface()
returns an interface to iterate over all the formatted values for this object (return null if that type of data not available) |
javax.swing.Icon |
getImageIcon(boolean expanded)
|
java.lang.String |
getImageName(boolean expanded)
|
int |
getIndex(javax.swing.tree.TreeNode value)
|
java.lang.String |
getInsertName()
String to be inserted into the expression for this object (null if this node cannot be inserted by reference) |
java.lang.String |
getName()
Proper name for the object |
java.lang.Object |
getOriginalObject()
|
javax.swing.tree.TreeNode |
getParent()
|
java.lang.String |
getToolTip()
Tooltip to display for this item |
boolean |
isLeaf()
Returns true if node is a leaf. |
java.lang.String |
toString()
|
Field Detail |
---|
public static final java.lang.String RB_KEY
protected java.lang.String DISPLAY_NAME_EMPTY
protected CalculatedObjectFactoryInterface _factory
protected DataSourceTreeNode _parent
protected java.lang.Object _orig
protected boolean _init
protected boolean _loaded
protected boolean _dviLoaded
protected boolean _readValues
protected java.lang.String _name
protected java.lang.String _displayName
protected java.lang.String _description
protected java.lang.String _toolTip
protected java.lang.String _insertName
protected com.sas.expressions.visuals.DistinctValuesInterface _distinctValuesInterface
protected java.util.List _values
protected boolean _canHaveChildren
protected java.util.List _children
protected java.util.Map _distinctValuesMap
protected java.util.List _dataSourceList
protected boolean _isCube
protected java.lang.String _imageNameExpanded
protected java.lang.String _imageNameCollapsed
Constructor Detail |
---|
public DataSourceTreeNode(java.lang.String name, java.lang.String desc, CalculatedObjectFactoryInterface factory, boolean physicalData)
public DataSourceTreeNode(CalculatedObjectFactoryInterface factory, DataSourceTreeNode parent, java.lang.Object value)
public DataSourceTreeNode(CalculatedObjectFactoryInterface factory, DataSourceTreeNode parent, java.lang.Object value, java.util.List children)
public DataSourceTreeNode(java.lang.String name, java.lang.String desc, java.util.List children)
Method Detail |
---|
public java.lang.Object getOriginalObject()
public javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in interface javax.swing.tree.TreeNode
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode value)
getIndex
in interface javax.swing.tree.TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
DataSourceItemInterface
getName
in interface com.sas.expressions.visuals.DataSourceItemInterface
public java.lang.String getDisplayName()
DataSourceItemInterface
getDisplayName
in interface com.sas.expressions.visuals.DataSourceItemInterface
public java.lang.String getDescription()
DataSourceItemInterface
getDescription
in interface com.sas.expressions.visuals.DataSourceItemInterface
public java.lang.String getToolTip()
DataSourceItemInterface
getToolTip
in interface com.sas.expressions.visuals.DataSourceItemInterface
public javax.swing.Icon getImageIcon(boolean expanded)
public java.lang.String getImageName(boolean expanded)
public java.lang.String getInsertName()
DataSourceItemInterface
getInsertName
in interface com.sas.expressions.visuals.DataSourceItemInterface
public com.sas.expressions.visuals.DistinctValuesInterface getDistinctValuesInterface()
DataSourceItemInterface
getDistinctValuesInterface
in interface com.sas.expressions.visuals.DataSourceItemInterface
public com.sas.expressions.visuals.DataValuesInterface getDataValuesInterface()
DataSourceItemInterface
getDataValuesInterface
in interface com.sas.expressions.visuals.DataSourceItemInterface
public com.sas.expressions.visuals.FormattedValuesInterface getFormattedValuesInterface()
DataSourceItemInterface
getFormattedValuesInterface
in interface com.sas.expressions.visuals.DataSourceItemInterface
protected java.lang.String getDisplayName(java.lang.String name)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |