|
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.datautil.gui.panel.DefaultStandardPanel | +--oracle.dss.queryBuilder.DimensionPanel
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.
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 |
public DimensionPanel(QueryBuilder queryBuilder)
DimensionPanel
based on the settings of the QueryBuilder
's properties.queryBuilder
- A reference to the parent QueryBuilder
bean.Method Detail |
public java.lang.String getId()
getId
in class DefaultStandardPanel
public boolean isDescriptionVisible()
true
if the description is visible, false
if the description is not visible.public boolean setActive(boolean isActive) throws DataUtilException
setActive
in class DefaultStandardPanel
isActive
- true
if the component is active, false
if the component is inactive.true
if the operation was successful, false
otherwise.DataUtilException
- If an error occurs.public void setDescriptionVisible(boolean bIsDescriptionVisible)
bIsDescriptionVisible
- true
if the description is visible, false
if the description is not visible.public MembersPanel getMembersPanel()
public ConditionsPanel getConditionsPanel()
public FavoritesPanel getFavoritesPanel()
public StepsPanel getStepsPanel()
public PreviewPanel getPreviewPanel()
public java.lang.String getHelpContextID()
getHelpContextID
in class DefaultStandardPanel
public boolean setHierarchy(java.lang.String strHierarchy)
strHierarchy
- The name of the hierarchy.true
if the operation was successful, false
otherwise.public void setCurrentDimension(java.lang.String strDimension)
strDimension
- The unique name of the dimension.public java.lang.String getCurrentDimension()
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
e
- The ItemEvent
, which describes the new selection.public boolean initUIContent() throws DataUtilException
initUIContent
in class DefaultStandardPanel
true
if the operation was successful; false
if the operation was not successful.DataUtilException
- If the operation is unsuccessful.public boolean validateContents(java.lang.Object hintValidate)
validateContents
in class DefaultStandardPanel
hintValidate
- A hint object to help in the validation process.true
if the operation was successful, false
if the operation was not successful.public javax.swing.ImageIcon getImageIcon()
getImageIcon
in class DefaultStandardPanel
public java.awt.Image getImage()
getImage
in class DefaultStandardPanel
public java.lang.String getTitle()
getTitle
in class DefaultStandardPanel
public void dimensionsChanged(DimensionsChangedEvent dimensionsChangedEvent)
QueryAccess
has changed.dimensionsChanged
in interface QueryAccessListener
e
- The DimensionsChangedEvent
, which describes the dimensionality change.public void dataAccessChanged(DataAccessChangedEvent e)
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.dataAccessChanged
in interface QueryAccessListener
e
- The event that provides the new DataAccess
.public void selectionChanged(SelectionChangedEvent sce)
QueryAccess
(either available or selected) is changed with a resulting change in cursor data.selectionChanged
in interface QueryAccessListener
e
- The event that provides the new selection.public java.awt.Component getComponent()
getComponent
in class DefaultStandardPanel
public java.lang.String toString()
DimensionPanel
object to a String
.toString
in class java.awt.Component
DimensionPanel
object.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |