|
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.gui.layout.Layout
A Layout panel. Layout panels work with a LayoutContext
and a LayoutAccess
to allow a user to change the layout of a query.
LayoutContext
, LayoutAccess
, Serialized FormInner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
static int |
HIDDEN_EDGE The hidden edge. |
static java.lang.String |
PAGEEDGEVISIBLE_CHANGED Property name to listen for when a user chooses to show or hide the paging control. |
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 | |
Layout() Constructor. |
Method Summary | |
void |
addLayoutPivotingListener(LayoutPivotingListener l) Registers a listener for pivot changes. |
boolean |
apply() Apples to the query the changes that the user makes in this panel. |
java.lang.String |
getDescriptionText() Retrieves the text that is displayed at the top of this panel. |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
LayoutAccess |
getLayoutAccess() Retrieves the LayoutAccess for this Layout . |
LayoutContext |
getLayoutContext() Retrieves the LayoutContext for this Layout . |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
boolean |
isHideAvailable() Indicates whether the option for hiding the paging control appears in the keyboard popup menus. |
boolean |
isPagingControlVisible() Indicates whether the control that displays page items appears in this Layout . |
void |
removeLayoutPivotingListener(LayoutPivotingListener l) Removes a pivoting listener. |
void |
setDescriptionText(java.lang.String description) Specifies the text that is displayed at the top of this panel. |
void |
setErrorHandler(ErrorHandler eh) Specifies the error handler for this Layout panel. |
void |
setHelpContextID(java.lang.String strHelpContextID) Sets the Help context ID for this panel. |
void |
setHelpEnabled(boolean bValue) Specifies whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
setHideAvailable(boolean hideAvailable) Specifies whether the option for hiding the paging control is available in the keyboard popup menus. |
void |
setLayoutAccess(LayoutAccess layoutAccess) Specifies the LayoutAccess for this Layout . |
void |
setLayoutContext(LayoutContext lc) Specifies the LayoutContext for this Layout . |
void |
setLocale(java.util.Locale loc) Specifies the current Locale that this panel uses. |
void |
setPagingControlVisible(boolean isVisible) Specifies whether the control that displays page items should be visible. |
void |
viewDataAvailable(DataAvailableEvent e) Responds to changes in the availability of data. |
void |
viewDataChanged(DataChangedEvent e) Responds to changes to the data or metadata. |
void |
waitDataAvailable(WaitDataAvailableEvent e) Responds to a completed data fetch. |
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, 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 |
Field Detail |
public static final int HIDDEN_EDGE
public static final java.lang.String PAGEEDGEVISIBLE_CHANGED
Constructor Detail |
public Layout()
Method Detail |
public java.lang.String getDescriptionText()
Layout
.public void setDescriptionText(java.lang.String description)
The
- text that describes this Layout
.public void setPagingControlVisible(boolean isVisible)
isVisible
- true
to display the paging control, false
to hide it.public boolean isPagingControlVisible()
Layout
.true
if the paging control is visible, false
if it is not.public void setHideAvailable(boolean hideAvailable)
hideAvailable
- true
to display the Hide option in the popup menus, false
to remove it from the popup menus.public boolean isHideAvailable()
true
if the hide option appears in the keyboard popup menus, false
if it does not appear in the popup menus.public void setLayoutContext(LayoutContext lc)
LayoutContext
for this Layout
.public LayoutContext getLayoutContext()
LayoutContext
for this Layout
.public void setLayoutAccess(LayoutAccess layoutAccess)
LayoutAccess
for this Layout
. This panel uses the LayoutAccess
to store the changes that the user makes to the layout of the data. The changes in the LayoutAccess
do not affect the original query until the apply
method is called.layoutAccess
- An implementation of the LayoutAccess
interface.apply()
public LayoutAccess getLayoutAccess()
LayoutAccess
for this Layout
.LayoutAccess
interface that this panel uses.public boolean apply()
LayoutAccess
to the original query.true
if the changes were successfully applied, false
if the LayoutAccess
is null
or if the changes could not be applied.LayoutAccess
public void setErrorHandler(ErrorHandler eh)
eh
- The error handler to use.public void setLocale(java.util.Locale loc)
Locale
that this panel uses.setLocale
in class java.awt.Component
loc
- The current Locale
.public void addLayoutPivotingListener(LayoutPivotingListener l)
Layout
fires a LayoutPivotingEvent
to all registered listeners before the pivot is executed on the DataDirector
implementation of the LayoutAccess
.l
- The listener to add.LayoutPivotingEvent
, DataDirector
public void removeLayoutPivotingListener(LayoutPivotingListener l)
l
- The listener to remove.public java.lang.String getHelpContextID()
getHelpContextID
in interface HelpContext
public void setHelpContextID(java.lang.String strHelpContextID)
setHelpContextID
in interface HelpContext
oracle.dss.util.help.HelpContext
strHelpContextID
- a String
value that represents the Help context ID.public void setHelpEnabled(boolean bValue)
For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would specify whether that Help button is displayed.
bValue
- true
to display the Help button, false
to hide it.public boolean isHelpEnabled()
For example, suppose that this panel had a font button and that font button displayed a font dialog box. If that font dialog box had a Help button, then this method would tell you whether that Help button is displayed.
true
if the Help button is hidden, false
if it is displayed.public void viewDataChanged(DataChangedEvent e)
DataAcess
to that in the DataChangedEvent
. Application developers should not call this method.viewDataChanged
in interface DataDirectorListener
e
- Information about the data change.public void viewDataAvailable(DataAvailableEvent e)
DataAcess
to that in the DataChangedEvent
. Application developers should not call this method.viewDataAvailable
in interface DataDirectorListener
e
- Information about the availability of data.public void waitDataAvailable(WaitDataAvailableEvent e)
waitDataAvailable
in interface DataDirectorListener
e
- Information about the fetch.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |