OLAPDimensionListPanel
is a javax.swing.JPanel
object that contains a DimensionList
with a count label and a toolbar. You can use the OLAPDimensionListPanel
to provide essentially the same functionality as the DimensionListDialog
, without displaying a separate dialog. You can use OLAPDimensionListPanel
to include a dimension list (with a toolbar and a count label) inside another panel of an application.
OLAPDimensionListPanel
The following list describes the components of OLAPDimensionListPanel
and their properties. All three components are visible by default.
CountLabel
-- Displays the index of the selected member in the list. Property is CountLabelVisible
of the DimensionListDialog
class.
Toolbar
-- Contains tools that let the user change the display of the list. Property is ToolbarVisible
of the DimensionListDialog
class.
DimensionList
-- An instance of the DimensionList
bean. Property is DimensionList
of the DimensionListPanel
class in the oracle.dss.datautil.gui.dimensionList
package.
OLAPDimensionListPanel
and its componentsThe following example shows a OLAPDimensionListPanel
, with all
members expanded to the lowest hierarchical level, and its components. As shown
in this example, the currently selected member is Brazil.
DimToolbar
The toolbar on the OLAPDimensionListPanel
provides several helpful tools, as described in the following list:
Collapse All: Collapses the entire list to the highest
hierarchical level.
Expand All: Expands the entire list to the lowest
hierarchical level.
Find: Opens the Find Members dialog box.
Hierarchies and Levels drop-down box: Provides a drop-down list of hierarchies and levels for the current dimension.