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


oracle.dss.queryBuilder
Class DimensionPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--oracle.dss.datautil.gui.panel.DefaultStandardPanel
                                |
                                +--oracle.dss.queryBuilder.DimensionPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, HelpContext, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, QueryAccessListener, java.io.Serializable, StandardPanel

public class DimensionPanel
extends DefaultStandardPanel
implements java.awt.event.ItemListener, QueryAccessListener

This class handles the Conditions panel in the QueryBuilder. This class is the containing class of the MemberPanel, ConditionsPanel, FavoritesPanel, StepsPanel, and PreviewPanel. You can pass a custom QueryBuilder into this class or customize this class by overriding its public methods.

See Also:
Serialized Form

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

 

Fields inherited from class oracle.dss.datautil.gui.panel.DefaultStandardPanel
PANELSTATE_ENABLED, PANELSTATE_ISDIRTY

 

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
DimensionPanel(QueryBuilder queryBuilder)
          Constructor that creates the DimensionPanel based on the settings of the QueryBuilder's properties.

 

Method Summary
 void dataAccessChanged(DataAccessChangedEvent e)
          Called when a DataAccess cursor in the QueryAccess (either available or selection) changes due to a selection change coupled with a request for the cursor by a client.
 void dimensionsChanged(DimensionsChangedEvent dimensionsChangedEvent)
          Called when the dimensionality of a QueryAccess has changed.
 java.awt.Component getComponent()
          Retrieves the component that is associated with this panel.
 ConditionsPanel getConditionsPanel()
          Retrieves the ConditionsPanel for actions such as invoking methods.
 java.lang.String getCurrentDimension()
          Retrieves the current dimension.
 FavoritesPanel getFavoritesPanel()
          Retrieves the FavoritesPanel for actions such as invoking methods.
 java.lang.String getHelpContextID()
          Retrieves the Help context ID for this panel.
 java.lang.String getId()
          Retrieves the identifier for this panel.
 java.awt.Image getImage()
          Retrieves the image for this panel.
 javax.swing.ImageIcon getImageIcon()
          Retrieves the image icon for this panel.
 MembersPanel getMembersPanel()
          Retrieves the MembersPanel for actions such as invoking methods.
 PreviewPanel getPreviewPanel()
          Retrieves the PreviewPanel for actions such as invoking methods.
 StepsPanel getStepsPanel()
          Retrieves the StepsPanel for actions such as invoking methods.
 java.lang.String getTitle()
          Retrieves the title of this panel.
 boolean initUIContent()
          Initializes the user interface content of the panel.
 boolean isDescriptionVisible()
          Indicates whether the description for the panel is visible or not visible.
 void itemStateChanged(java.awt.event.ItemEvent e)
          Called when a new dimension is selected in the dimension list combo box.
 void selectionChanged(SelectionChangedEvent sce)
          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.
 void setDescriptionVisible(boolean bIsDescriptionVisible)
          Specifies whether the description for the panel is visible or not visible.
 boolean setHierarchy(java.lang.String strHierarchy)
          Specifies the hierarchy for the current selection.
 java.lang.String toString()
          Converts this DimensionPanel object to a String.
 boolean validateContents(java.lang.Object hintValidate)
          Validates the contents of the panel.

 

Methods inherited from class oracle.dss.datautil.gui.panel.DefaultStandardPanel
addPanelEventListener, cleanup, firePanelEvent, getBuilderContext, getContainer, getPanelContent, getPanelState, initializeMembers, isDirty, isInitializing, removePanelEventListener, setBuilderContext, setContainer, setDirty, setHelpContextID, setInitializing, setPanelContent, setPanelState, updateData

 

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, transferFocus

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

DimensionPanel

public DimensionPanel(QueryBuilder queryBuilder)
Constructor that creates the DimensionPanel based on the settings of the QueryBuilder's properties.
Parameters:
queryBuilder - A reference to the parent QueryBuilder bean.
Method Detail

getId

public java.lang.String getId()
Retrieves the identifier for this panel.
Overrides:
getId in class DefaultStandardPanel
Returns:
The identifier for this panel.

isDescriptionVisible

public boolean isDescriptionVisible()
Indicates whether the description for the panel is visible or not visible.
Returns:
true if the description is visible, false if the description is not visible.

setActive

public boolean setActive(boolean isActive)
                  throws DataUtilException
Specifies whether the component is active or inactive.
Overrides:
setActive in class DefaultStandardPanel
Parameters:
isActive - true if the component is active, false if the component is inactive.
Returns:
true if the operation was successful, false otherwise.
Throws:
DataUtilException - If an error occurs.

setDescriptionVisible

public void setDescriptionVisible(boolean bIsDescriptionVisible)
Specifies whether the description for the panel is visible or not visible.
Parameters:
bIsDescriptionVisible - true if the description is visible, false if the description is not visible.

getMembersPanel

public MembersPanel getMembersPanel()
Retrieves the MembersPanel for actions such as invoking methods.
Returns:
The MembersPanel.

getConditionsPanel

public ConditionsPanel getConditionsPanel()
Retrieves the ConditionsPanel for actions such as invoking methods.
Returns:
The ConditionsPanel.

getFavoritesPanel

public FavoritesPanel getFavoritesPanel()
Retrieves the FavoritesPanel for actions such as invoking methods.
Returns:
The FavoritesPanel.

getStepsPanel

public StepsPanel getStepsPanel()
Retrieves the StepsPanel for actions such as invoking methods.
Returns:
The StepsPanel.

getPreviewPanel

public PreviewPanel getPreviewPanel()
Retrieves the PreviewPanel for actions such as invoking methods.
Returns:
The PreviewPanel.

getHelpContextID

public java.lang.String getHelpContextID()
Retrieves the Help context ID for this panel. The default Help context ID is the full class path for this panel. To set a different Help context ID, use method setHelpContextID(String). The Help context ID is used when listening for the user event to display Help for this panel.
Overrides:
getHelpContextID in class DefaultStandardPanel
Returns:
The Help context ID for this panel

setHierarchy

public boolean setHierarchy(java.lang.String strHierarchy)
Specifies the hierarchy for the current selection.
Parameters:
strHierarchy - The name of the hierarchy.
Returns:
true if the operation was successful, false otherwise.

setCurrentDimension

public void setCurrentDimension(java.lang.String strDimension)
Specifies the current dimension.
Parameters:
strDimension - The unique name of the dimension.

getCurrentDimension

public java.lang.String getCurrentDimension()
Retrieves the current dimension.
Returns:
The unique name of the dimension.

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Called when a new dimension is selected in the dimension list combo box.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener
Parameters:
e - The ItemEvent, which describes the new selection.

initUIContent

public boolean initUIContent()
                      throws DataUtilException
Initializes the user interface content of the panel.
Overrides:
initUIContent in class DefaultStandardPanel
Returns:
true if the operation was successful; false if the operation was not successful.
Throws:
DataUtilException - If the operation is unsuccessful.

validateContents

public boolean validateContents(java.lang.Object hintValidate)
Validates the contents of the panel.
Overrides:
validateContents in class DefaultStandardPanel
Parameters:
hintValidate - A hint object to help in the validation process.
Returns:
true if the operation was successful, false if the operation was not successful.

getImageIcon

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

getImage

public java.awt.Image getImage()
Retrieves the image for this panel. Typically this image is displayed on the left side of a wizard.
Overrides:
getImage in class DefaultStandardPanel
Returns:
The image to be displayed for this panel.

getTitle

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

dimensionsChanged

public void dimensionsChanged(DimensionsChangedEvent dimensionsChangedEvent)
Called when the dimensionality of a QueryAccess has changed.
Specified by:
dimensionsChanged in interface QueryAccessListener
Parameters:
e - The DimensionsChangedEvent, which describes the dimensionality change.

dataAccessChanged

public void dataAccessChanged(DataAccessChangedEvent e)
Called when a DataAccess cursor in the QueryAccess (either available or selection) changes due to a selection change coupled with a request for the cursor by a client.
Specified by:
dataAccessChanged in interface QueryAccessListener
Parameters:
e - The event that provides the new DataAccess.

selectionChanged

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

getComponent

public java.awt.Component getComponent()
Retrieves the component that is associated with this panel.
Overrides:
getComponent in class DefaultStandardPanel
Returns:
The component for this panel.

toString

public java.lang.String toString()
Converts this DimensionPanel object to a String.
Overrides:
toString in class java.awt.Component
Returns:
The String representation of this DimensionPanel object.

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


Copyright © 2003, Oracle. All Rights Reserved.