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


oracle.dss.queryBuilder
Class StepsPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--oracle.dss.queryBuilder.ShuttlePanel
                                |
                                +--oracle.dss.queryBuilder.DimensionListShuttlePanel
                                      |
                                      +--oracle.dss.queryBuilder.StepsPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, QueryAccessListener, java.io.Serializable

public class StepsPanel
extends DimensionListShuttlePanel

This class handles the Steps panel in the QueryBuilder. The Steps panel is the first panel that appears on the selected side of the Dimensions panel. The available side contains the Members, Conditions, and Favorites panels. The selected side contains the Steps and Members panels.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Field Summary
static int HEIGHT_PADDING
          Additional height padding for the dimension list to display the steps.

 

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
StepsPanel(QueryBuilder queryBuilder, DimensionPanel pnlDimension)
          Constructor that creates the StepsPanel based on the settings of the QueryBuilder's properties and the Dimension panel.
StepsPanel(QueryBuilder queryBuilder, java.lang.String curDimension)
          Constructor that creates the StepsPanel based on the settings of the QueryBuilder's properties and the current dimension.

 

Method Summary
 void clearSelection()
          Clears the selection from the panel.
 java.lang.Object[] getAllItems()
          Retrieves the list of all items.
 javax.swing.ImageIcon getImageIcon()
          Retrieves the image icon for this panel.
 java.lang.Object[] getSelectedItems()
          Retrieves the list of selected items.
 java.lang.String getTitle()
          Retrieves the title of this panel.
 void removeAllItems()
          Removes all steps from the Steps panel.
 void removeSelectedItems()
          Removes the selected steps from the Steps panel.
 void selectionChanged(SelectionChangedEvent e)
          Called when a selection in the QueryAccess (either available or selected) is changed with a resulting change in cursor data.
 boolean setActive(boolean isActive)
          Specifies whether the component is active or inactive.
 void setCurrentDimension(java.lang.String strDimension)
          Specifies the current dimension and refreshes the steps based on the new setting.

 

Methods inherited from class oracle.dss.queryBuilder.DimensionListShuttlePanel
dataAccessChanged, dimensionsChanged, getAllItems, getCurDimension, getSelectedItems, insertItems, isSelectableItemPresent, setHierarchy

 

Methods inherited from class oracle.dss.queryBuilder.ShuttlePanel
fireFocusEvent, fireMouseEvent, getComponent, getHelpContextId, getImage, registerFocusListener, registerMouseListener, setAvailable, unregisterFocusListener, unregisterMouseListener, validateContents

 

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

 

Methods inherited from interface java.beans.PropertyChangeListener
propertyChange

 

Field Detail

HEIGHT_PADDING

public static final int HEIGHT_PADDING
Additional height padding for the dimension list to display the steps.
Constructor Detail

StepsPanel

public StepsPanel(QueryBuilder queryBuilder,
                  java.lang.String curDimension)
Constructor that creates the StepsPanel based on the settings of the QueryBuilder's properties and the current dimension.
Parameters:
queryBuilder - A reference to the parent QueryBuilder bean.
curDimension - The dimension for which the steps are displayed.

StepsPanel

public StepsPanel(QueryBuilder queryBuilder,
DimensionPanel pnlDimension)
Constructor that creates the StepsPanel based on the settings of the QueryBuilder's properties and the Dimension panel.
Parameters:
queryBuilder - A reference to the parent QueryBuilder bean.
pnlDimension - A reference to the Dimensions panel that contains the Steps panel. This reference can be used when saving changes to the selection to refresh the Favorites panel. You can obtain a reference to the Favorites panel in the same Dimensions panel and call the reloadFavorites method after making changes to the steps.
Method Detail

setCurrentDimension

public void setCurrentDimension(java.lang.String strDimension)
Specifies the current dimension and refreshes the steps based on the new setting.
Overrides:
setCurrentDimension in class DimensionListShuttlePanel
Parameters:
strDimension - The unique name of the dimension.

removeSelectedItems

public void removeSelectedItems()
Removes the selected steps from the Steps panel.
Overrides:
removeSelectedItems in class DimensionListShuttlePanel

removeAllItems

public void removeAllItems()
Removes all steps from the Steps panel.
Overrides:
removeAllItems in class DimensionListShuttlePanel

getSelectedItems

public java.lang.Object[] getSelectedItems()
Retrieves the list of selected items.
Overrides:
getSelectedItems in class DimensionListShuttlePanel
Returns:
The list of selected items.

getAllItems

public java.lang.Object[] getAllItems()
Retrieves the list of all items.
Overrides:
getAllItems in class DimensionListShuttlePanel
Returns:
The list of all items.

getImageIcon

public javax.swing.ImageIcon getImageIcon()
Retrieves the image icon for this panel.
Overrides:
getImageIcon in class ShuttlePanel
Returns:
The icon to be displayed for this panel.

getTitle

public java.lang.String getTitle()
Retrieves the title of this panel.
Overrides:
getTitle in class DimensionListShuttlePanel
Returns:
The panel title.

clearSelection

public void clearSelection()
Clears the selection from the panel.
Overrides:
clearSelection in class DimensionListShuttlePanel

setActive

public boolean setActive(boolean isActive)
Specifies whether the component is active or inactive.
Overrides:
setActive in class DimensionListShuttlePanel
Parameters:
isActive - true if the component is active, false if the component is inactive.

selectionChanged

public void selectionChanged(SelectionChangedEvent e)
Called when a selection in the QueryAccess (either available or selected) is changed with a resulting change in cursor data.
Overrides:
selectionChanged in class DimensionListShuttlePanel
Parameters:
e - The event that provides the new selection.

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


Copyright © 2003, Oracle. All Rights Reserved.