|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--oracle.dss.util.dimensionList.DimensionListPanel
A panel that contains a dimension list, a count label, and a toolbar that are all visible by default.
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
DimensionListPanel() Deprecated. As of 2.6.0.21, replaced by DimensionListPanel(Dialog) or by DimensionListPanel(Frame) . | |
DimensionListPanel(DataAccess dataAccess, MemberListAccess memberAccess, java.lang.String dimension, java.lang.String type, boolean isTable) Deprecated. As of 2.6.0.21, replaced by DimensionListPanel(Dialog, DataAccess, MemberListAccess, String, String, boolean) or by DimensionListPanel(Frame, DataAccess, MemberListAccess, String, String, boolean) . | |
DimensionListPanel(java.awt.Dialog parent) Constructor that specifies the dialog to serve as the parent of any subdialogs of the DimensionListPanel . | |
DimensionListPanel(java.awt.Dialog parent, DataAccess dataAccess, MemberListAccess memberAccess, java.lang.String dimension, java.lang.String type, boolean isTable) Constructor that specifies all arguments for displaying the DimensionListPanel with a dialog as the parent. | |
DimensionListPanel(java.awt.Frame parent) Constructor that specifies the frame to serve as the parent of any subdialogs of the DimensionListPanel . | |
DimensionListPanel(java.awt.Frame parent, DataAccess dataAccess, MemberListAccess memberAccess, java.lang.String dimension, java.lang.String type, boolean isTable) Constructor that specifies all arguments for displaying the DimensionListPanel with a frame as the parent. |
Method Summary | |
void |
addDimensionListListener(DimensionListListener l) Adds a DimensionListListener to this object. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l) Adds a PropertyChangeListener to this object. |
boolean |
clearSelection() Deselects any members that are currently selected. |
javax.swing.Icon |
getClosedIcon() Retrieves an icon that indicates that a member is not showing its children in the list. |
javax.swing.Icon |
getCollapseAllIcon() Retrives the icon for the toolbar button that collapses all of the members in the list. |
javax.swing.Icon |
getCollapsedIcon() Retrieves the icon that indicates that a member is collapsed. |
int |
getCount() Retrieves the total number of members in the model. |
java.lang.String |
getDimension() Retrieves the name of the dimension for this dimension list, such as D_P0 . |
DimensionList |
getDimensionList() Retrieves the dimension list for this panel. |
java.lang.String |
getDimensionName() Retrieves the name of the dimension that you want to display. |
javax.swing.Icon |
getExpandAllIcon() Retrieves the icon for the toolbar button that expands all of the members in the list. |
javax.swing.Icon |
getExpandedIcon() Retrieves the icon that indicates that a member is expanded. |
javax.swing.Icon |
getFindIcon() Retrieves the icon for the toolbar button that displays the Find dialog. |
oracle.bali.ewt.help.HelpProvider |
getHelpProvider() Retrieves the HelpProvider. |
java.lang.String |
getHierarchy() Retrieves the name of the hierarchy for the dimension of this dimension list. |
java.lang.String |
getLabelType() Retrieves the type of label to display for the dimension members. |
java.util.Locale |
getLocale() Retrieves the locale for this component. |
javax.swing.Icon |
getNodeIcon() Retrieves the icon that indicates a member at the lowest hierarchical level, sometimes referred to as a leaf. |
javax.swing.Icon |
getOpenedIcon() Retrieves the icon that indicates that a member is showing its children in the list. |
java.awt.Dimension |
getPreferredSize() Retrieves the preferred size of the DimensionListPanel . |
int |
getSelectedIndex() Specifies the index of the member that is selected. |
java.lang.String |
getSelectedMember() Retrieves the selected member. |
java.util.Vector |
getSelectedMembers() Retrieves a vector that contains the selected members. |
java.util.Vector |
getSelectedMembers(boolean getDescription) Retrieves a vector that contains either the descriptions or the values of the selected members. |
DimListSelectionModel |
getSelectionModel() Retrieves the DimensionListSelectionModel for this dimension list. |
void |
initDimensionListPanel(java.lang.String strDimension, dataAccessDimensionModel, boolean isHierarchical) Initializes the DimensionListPanel . |
boolean |
isCountLabelVisible() Indicates whether the count label for the panel is visible. |
boolean |
isHierarchical() Indicates whether the dimension list is displayed with indentation that indicates hierarchies. |
boolean |
isHierarchyVisible() Indicates whether the drop-down list of hierarchies and levels is visible on the toolbar. |
boolean |
isSelectionEmpty() Indicates whether any members are currently selected. |
boolean |
isToolbarVisible() Indicates whether the toolbar for the dimension list is visible. |
void |
removeDimensionListListener(DimensionListListener l) Removes a DimensionListListener from this object. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l) Removes a PropertyChangeListener from this object. |
void |
setClosedIcon(javax.swing.Icon icon) Specifies an icon that indicates that a member is not showing its children in the list. |
void |
setCollapseAllIcon(javax.swing.Icon icon) Specifies the icon for the toolbar button that collapses all of the members in the list. |
void |
setCollapsedIcon(javax.swing.Icon icon) Specifies the icon that indicates that a member is collapsed. |
void |
setCountLabelVisible(boolean visible) Specifies whether the count label for the panel is visible. |
void |
setDimension(java.lang.String strDimension) Specifies the name of the dimension for this dimension list, such as D_P0 . |
void |
setDimensionName(java.lang.String dimName) Specifies the name of the dimension that you want to display. |
void |
setExpandAllIcon(javax.swing.Icon icon) Specifies the icon for the toolbar button that expands all of the members in the list. |
void |
setExpandedIcon(javax.swing.Icon icon) Specifies the icon that indicates that a member is expanded. |
void |
setFindIcon(javax.swing.Icon icon) Specifies the icon for the toolbar button that displays the Find dialog. |
void |
setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider) Specifies the HelpProvider. |
void |
setHierarchical(boolean blnIsHierarchical) Specifies the Boolean value that determines whether the dimension list is displayed with indentation that indicates hierarchies. |
void |
setHierarchy(java.lang.String strHierarchy) Specifies the name of the hierarchy for the dimension of this dimension list. |
void |
setHierarchyVisible(boolean visible) Specifies whether the drop-down list of hierarchies and levels is visible on the toolbar. |
void |
setLabelType(java.lang.String type) Specifies the type of label to display for the dimension members. |
void |
setLocale(java.util.Locale locale) Specifies the locale for this component. |
void |
setModel( dataAccessDimensionModel) Specifies the DataDirectorDimensionModel for this dimension list. |
void |
setNodeIcon(javax.swing.Icon icon) Specifies the icon that indicates a member at the lowest hierarchical level, sometimes referred to as a leaf. |
void |
setOpenedIcon(javax.swing.Icon icon) Specifies the icon that indicates that a member is showing its children in the list. |
void |
setSelectedIndex(int index) Specifies the index of the member that you want to select. |
void |
setSelectionMode(int selectionMode) Specifies the selection mode for this component. |
void |
setSelectionModel(DimListSelectionModel selectionModel) Retrieves the DimensionListSelectionModel for this dimension list. |
void |
setToolbarVisible(boolean visible) Specifies whether the toolbar for the dimension list is visible. |
void |
updateDimensionListModel() Updates the data model. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
Methods inherited from interface javax.swing.event.ListSelectionListener |
valueChanged |
Methods inherited from interface javax.swing.event.ListDataListener |
contentsChanged, intervalAdded, intervalRemoved |
Methods inherited from interface oracle.dss.util.dimensionList.DimFindEventListener |
processDimFindEvent |
Constructor Detail |
public DimensionListPanel()
DimensionListPanel(Dialog)
or by DimensionListPanel(Frame)
.DimensionListPanel
should have a parent dialog or frame associated with it to ensure proper focus handling.public DimensionListPanel(java.awt.Frame parent)
DimensionListPanel
.parent
- The frame to serve as the parent.public DimensionListPanel(java.awt.Dialog parent)
DimensionListPanel
.parent
- The dialog to serve as the parent.public DimensionListPanel(DataAccess dataAccess, MemberListAccess memberAccess, java.lang.String dimension, java.lang.String type, boolean isTable)
DimensionListPanel(Dialog, DataAccess, MemberListAccess, String, String, boolean)
or by DimensionListPanel(Frame, DataAccess, MemberListAccess, String, String, boolean)
.DimensionListPanel
should have a parent dialog or frame associated with it to ensure proper focus handling. Application developers should not use this constructor; it is for internal use only.dataAccess
- The DataAccess
object.memberAccess
- The MemberListAccess
object.dimension
- The dimension whose members are displayed in this DimensionListPanel
.type
- A constant that represents the label for the dimension members, such as MetadataMap.METADATA_LONGLABEL
.isTable
- true
if the view is a table, false
if the view is a crosstab.MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
public DimensionListPanel(java.awt.Frame parent, DataAccess dataAccess, MemberListAccess memberAccess, java.lang.String dimension, java.lang.String type, boolean isTable)
DimensionListPanel
with a frame as the parent. Application developers should not use this constructor; it is for internal use only.parent
- The frame to serve as the parent.dataAccess
- The DataAccess
object.memberAccess
- The MemberListAccess
object.dimension
- The dimension whose members are displayed in this DimensionListPanel
.type
- A constant that represents the label for the dimension members, such as MetadataMap.METADATA_LONGLABEL
.isTable
- true
if the view is a table, false
if the view is a crosstab.MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
public DimensionListPanel(java.awt.Dialog parent, DataAccess dataAccess, MemberListAccess memberAccess, java.lang.String dimension, java.lang.String type, boolean isTable)
DimensionListPanel
with a dialog as the parent. Application developers should not use this constructor; it is for internal use only.parent
- The dialog to serve as the parent.dataAccess
- The DataAccess
object.memberAccess
- The MemberListAccess
object.dimension
- The dimension whose members are displayed in this DimensionListPanel
.type
- A constant that represents the label for the dimension members, such as MetadataMap.METADATA_LONGLABEL
.isTable
- true
if the view is a table, false
if the view is a crosstab.MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
PropertyChangeListener
to this object. Use a PropertyChangeListener to listen for changes in the properties of the dimension list.addPropertyChangeListener
in class javax.swing.JComponent
l
- The PropertyChangeListener
that you want to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
PropertyChangeListener
from this object. A PropertyChangeListener is used to listen for changes in the properties of the dimension list.removePropertyChangeListener
in class javax.swing.JComponent
PropertyChangeListener
that you want to remove.public void addDimensionListListener(DimensionListListener l)
DimensionListListener
to this object. Use a DimensionListListener
to listen for changes in the dimension list.l
- The DimensionListListener
that you want to add.DimensionListListener
public void removeDimensionListListener(DimensionListListener l)
DimensionListListener
from this object. A DimensionListListener
is used to listen for changes in the dimension list.DimensionListListener
that you want to remove.DimensionListListener
public java.awt.Dimension getPreferredSize()
DimensionListPanel
. The default preferred size is the default size of a JList
.getPreferredSize
in class javax.swing.JComponent
DimensionListPanel
.public DimensionList getDimensionList()
DimensionList
object for this panel.public void setCountLabelVisible(boolean visible)
For example, if there are 5 members in the visible list and the third member is selected, then the count label should display: "3 of 5".
visible
- true
to make the count label visible, false
to hide it.public boolean isCountLabelVisible()
For example, if there are 5 members in the visible list and the third member is selected, then the count label should display: "3 of 5".
visible
- true
if the count label is visible, false
if it is hidden.public void setLabelType(java.lang.String type)
type
- The constant that represents the type of labels to display for the dimension members.MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
public java.lang.String getLabelType()
MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
public void setToolbarVisible(boolean visible)
visible
- true
to make the toolbar visible, false
to hide it.public boolean isToolbarVisible()
true
if the toolbar is visible, false
if it is not visible.public void setHierarchyVisible(boolean visible)
visible
- true
to make the drop-down list visible, false
to hide it.public boolean isHierarchyVisible()
visible
- true
if the drop-down list isvisible, false
if it is hidden.public void setDimensionName(java.lang.String dimName)
dimName
- The name of the dimension that you want to display.public java.lang.String getDimensionName()
dimName
- The name of the dimension that you want to display.public DimListSelectionModel getSelectionModel()
DimensionListSelectionModel
for this dimension list.DimensionListSelectionModel
for this dimension list.public void setSelectionModel(DimListSelectionModel selectionModel)
DimensionListSelectionModel
for this dimension list.selectionModel
- The DimensionListSelectionModel
for this dimension list.public boolean clearSelection()
true
if successful, false
otherwise.public boolean isSelectionEmpty()
true
if no members are selected, false
otherwise.public int getCount()
public void setSelectedIndex(int index)
index
- The index of the member in the model that you want to select.public int getSelectedIndex()
index
- The index of the member in the model that is selected, or -1
if no member is selected.public void setExpandedIcon(javax.swing.Icon icon)
icon
- The icon that indicates that a member is expanded.public javax.swing.Icon getExpandedIcon()
public void setCollapsedIcon(javax.swing.Icon icon)
icon
- The icon that indicates that a member is collapsed.public javax.swing.Icon getCollapsedIcon()
public void setOpenedIcon(javax.swing.Icon icon)
icon
- The icon that indicates that a member is showing its children.public javax.swing.Icon getOpenedIcon()
public void setClosedIcon(javax.swing.Icon icon)
icon
- The icon that indicates that a memer is not showing its children.public javax.swing.Icon getClosedIcon()
public void setNodeIcon(javax.swing.Icon icon)
icon
- The icon that indicates a member at the lowest hierarchical level.public javax.swing.Icon getNodeIcon()
public void setExpandAllIcon(javax.swing.Icon icon)
icon
- The icon for the toolbar button that expands all of the members in the list.public javax.swing.Icon getExpandAllIcon()
public void setCollapseAllIcon(javax.swing.Icon icon)
icon
- The icon for the toolbar button that collapses all of the members in the list.public javax.swing.Icon getCollapseAllIcon()
public void setFindIcon(javax.swing.Icon icon)
icon
- The icon for the toolbar button that displays the Find dialog.public javax.swing.Icon getFindIcon()
public void setModel( dataAccessDimensionModel)
DataDirectorDimensionModel
for this dimension list. DataDirectorDimensionModel
is an implementation of DimListDataModel
that provides special properties for the dimension list beans.dataDirectorDimensionModel
- The DataDirectorDimensionModel
for this dimension list.public java.lang.String getDimension()
D_P0
.public void setDimension(java.lang.String strDimension)
D_P0
.strDimension
- The name of the dimension for this dimension list.public java.lang.String getHierarchy()
public void setHierarchy(java.lang.String strHierarchy)
strHierarchy
- The name of the hierarchy for the dimension of this dimension list or null.public boolean isHierarchical()
true
if the list is displayed with indentations, false
if it is not.public void setHierarchical(boolean blnIsHierarchical)
blnIsHierarchical
- true
to display the list with indentations, false
to display the list with all members in a flat list without indentation.public void initDimensionListPanel(java.lang.String strDimension, dataAccessDimensionModel, boolean isHierarchical)
DimensionListPanel
.guiContext
- A GuiContext
object that contains methods for specifying and retrieving objects, such as MetadataManager
, ParentFrame
, PersistenceManager
and QueryContext
.strDimension
- The name of the dimension that you want to display.dataDirectorDimensionModel
- The DataDirectorDimensionModel
object for this dimension list.isHierarchical
- true
to display the list with indentation that indicates a hierarchy, fasle
to display a flat list, without indentation.public java.util.Vector getSelectedMembers(boolean getDescription)
getDescription
- true
to return the descriptions of the selected members, false
to return the values of the selected members.public java.util.Vector getSelectedMembers()
getSelectedMembers(boolean)
public java.lang.String getSelectedMember()
public void updateDimensionListModel()
public java.util.Locale getLocale()
getLocale
in class java.awt.Component
public void setLocale(java.util.Locale locale)
setLocale
in class java.awt.Component
locale
- The locale.public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
helpProvider
- The HelpProvider.public oracle.bali.ewt.help.HelpProvider getHelpProvider()
public void setSelectionMode(int selectionMode)
selectionMode
- The selection mode.ListSelectionModel.SINGLE_SELECTION
, ListSelectionModel.SINGLE_INTERVAL_SELECTION
, ListSelectionModel.MULTIPLE_INTERVAL_SELECTION
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |