DimensionList
is the generic dimension list bean. It provides more functionality than DimensionCombo
, but less than DimensionListDialog
.
DimensionList
must be contained by another object. You can contain it in your own custom panel or dialog, or you can simply use the OLAPDimensionListPanel
or the DimensionListDialog
, which creates a DimensionList
automatically through the OLAPDimensionListPanel
.
DimensionList
and its componentsThe following example shows a DimensionList
that is fully expanded
to its lowest hierarchical level. In this example, the member at the highest
hierarchical level is Regions of the World. One
of the members at the lowest hierarchical level is Vancouver.
The currently selected member is Brazil, which is
at the second-lowest hierarchical level.
DimensionList
The following list describes the advantages of using a DimensionList
rather than a DimensionCombo
:
Users can select one or more members at the same time, by default.
A greater portion of the list is visible on the screen at all times.
Data is displayed in an indented hierarchical list, by default, as it is in DimensionCombo
.
The list can be collapsed or expanded to hide or reveal members at various hierarchical levels, by default.
You can customize the display of the list programmatically.
DimensionList
The following list describes the classes that you use with DimensionList:
QueryAccessDimensionModel
-- An extension of OLAPDimensionModel
that contains methods for populating and customizing a DimensionCombo
or a DimensionList
.
DimensionListEvent
-- Contains information about DimensionList
events.
DimensionListAdapter
-- An implementation of DimensionListListener
that allows you to override only the listener methods that you want.
DimensionList
The following list describes the interfaces in the oracle.dss.util.dimensionList
package that you use with DimensionList
:
DimListDataModel
-- Defines methods for customizing the list.
DimListDataItem
-- Defines methods for the members in the list. You use an instance of this interface for each member.
DimensionListListener
-- Defines methods for listening for DimensionList
events.