Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.datautil.gui.panel
Class MeasureListPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--oracle.dss.datautil.gui.panel.BaseLayoutPanel
                                |
                                +--oracle.dss.datautil.gui.panel.MeasureListPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class MeasureListPanel
extends BaseLayoutPanel

Allows a user to select from a list of measures. Use this panel when you want to have the list of measures tightly integrated in the application. For example, you might include a MeasureListPanel on the main page of an application so that if a user selects a different measure, then view updates to display that measure.

See Also:
MeasureListDialog, Serialized Form

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
MeasureListPanel(MetadataManager metadataManager)
          Constructor that specifies only a MetadataManager object.
MeasureListPanel(MetadataManager metadataManager, BIFilter filter)
          Constructor that specifies all arguments for displaying the MeasureListPanel.

 

Method Summary
 BIFilter getFilter()
          Retrieves the BIFilter object that filters the tree model.
 java.lang.String getSelectedMeasure()
          Retrieves the String that represents a single measure.
 java.lang.String[] getSelectedMeasures()
          Retrieves an array that contains a list of all the selected measures.
 interface getTree()
          Retrieves the DirTree object that is used to display the folders and measures.
 void setDisplayLabelType(java.lang.String strDisplayLabelType)
          Specifies the type of display labels for this MeasureListPanel object.
 void setFilter(BIFilter filter)
          Specifies the BIFilter object that filters the tree model.

 

Methods inherited from class oracle.dss.datautil.gui.panel.BaseLayoutPanel
setContent, setDescription

 

Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, updateUI

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, 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, getPreferredSize, 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, 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, getLocale, 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, setLocale, 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

 

Constructor Detail

MeasureListPanel

public MeasureListPanel(MetadataManager metadataManager,
BIFilter filter)
Constructor that specifies all arguments for displaying the MeasureListPanel.
Parameters:
metadataManager - A MetadataManager object that is used for populating the tree with folders and measures.
filter - A BIFilter object that filters the tree model.

MeasureListPanel

public MeasureListPanel(MetadataManager metadataManager)
Constructor that specifies only a MetadataManager object.
Parameters:
metadataManager - A MetadataManager object that is used for populating the tree with folders and measures.
Method Detail

getTree

public getTree()
Retrieves the DirTree object that is used to display the folders and measures.
Returns:
The DirTree object.

getSelectedMeasure

public java.lang.String getSelectedMeasure()
Retrieves the String that represents a single measure. If only one measure is selected, then it retrieves that measure. If multiple measures are selected, then it retrieves the first selected measure.
Returns:
The selected measure.

getSelectedMeasures

public java.lang.String[] getSelectedMeasures()
Retrieves an array that contains a list of all the selected measures. If only one measure is selected, then it retrieves an array of size 1 that contains the selected measure. If multiple measures are selected, then it retrieves an appropriately sized array that contains all the selected measures.
Returns:
The list of the selected measures.

getFilter

public BIFilter getFilter()
Retrieves the BIFilter object that filters the tree model.
Returns:
The BIFilter object.

setFilter

public void setFilter(BIFilter filter)
Specifies the BIFilter object that filters the tree model.
Parameters:
filter - The BIFilter object.

setDisplayLabelType

public void setDisplayLabelType(java.lang.String strDisplayLabelType)
Specifies the type of display labels for this MeasureListPanel object.
Parameters:
strDisplayLabelType - The display label type. Valid values are enumerations from util.LayerMetadataMap such as long, short, or medium labels.
See Also:
LayerMetadataMap.LAYER_METADATA_LONGLABEL, LayerMetadataMap.LAYER_METADATA_NAME, LayerMetadataMap.LAYER_METADATA_SHORTLABEL, LayerMetadataMap.LAYER_METADATA_MEDIUMLABEL

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.