|
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 | +--oracle.dss.graph.gui.GraphLayout
Defines the Graph Layout panel. End users use the Graph Layout panel to specify how the data appears in the graph. For example, end users can use this panel to specify whether the different months are series or different groups.
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Fields inherited from class oracle.dss.util.gui.layout.Layout |
HIDDEN_EDGE, PAGEEDGEVISIBLE_CHANGED |
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 | |
GraphLayout() Constructor. |
Method Summary | |
boolean |
apply() Applies to the graph the layout changes that have been made to this panel. |
void |
cleanUp() Clean up memory and resources |
java.lang.String |
getApplicationName() Retrieves the name of the application that uses this panel. |
java.lang.String |
getDescriptionText() Retrieves the text that appears at the top of this layout panel. |
ErrorHandler |
getErrorHandler() Retrieves the error handler that this GraphLayoutPanel uses. |
java.lang.String |
getErrorString() Retrieves a message that explains the failure of a call to the apply method. |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
oracle.bali.ewt.help.HelpProvider |
getHelpProvider() Gets the Help provider for this panel. |
LayoutAccess |
getLayoutAccess() Retrieves the LayoutAccess for this GraphLayout . |
java.lang.String |
getMeasureText() Retrieves the text that this panel displays to describe measures. |
void |
hidePagingControlOptions() Hides the option for showing or hiding the paging control. |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
setApplicationName(java.lang.String name) Specifies the name of application that uses this panel. |
void |
setErrorHandler(ErrorHandler eh) Specifies an error handler for this GraphLayout . |
void |
setGraph(UIGraph graph) Specifies the graph whose properties this panel sets. |
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 |
setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider) Sets the Help provider for this panel. |
void |
setImageComponent(javax.swing.JComponent comp) Specifies the component to display in the image portion of the Graph Layout panel. |
void |
setLayoutContext(LayoutContext lc) Specifies the LayoutContext for this Layout . |
boolean |
setLayoutContext(LayoutContext lc, boolean showDialog, java.awt.Component c) Specifies the LayoutContext for this GraphLayout . |
void |
setLocale(java.util.Locale loc) Specifies the current Locale that this panel uses. |
void |
setMeasureText(java.lang.String text) Specifies the text that this panel should display to describe measures. |
Methods inherited from class oracle.dss.util.gui.layout.Layout |
addLayoutPivotingListener, getLayoutContext, isHideAvailable, isPagingControlVisible, removeLayoutPivotingListener, setDescriptionText, setHideAvailable, setLayoutAccess, setPagingControlVisible, viewDataAvailable, viewDataChanged, waitDataAvailable |
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 |
Constructor Detail |
public GraphLayout()
Method Detail |
public java.lang.String getDescriptionText()
getDescriptionText
in class Layout
public void setApplicationName(java.lang.String name)
name
- The name to display in alerts that this panel produces. In localized versions, pass a localized String
.public java.lang.String getApplicationName()
public void setGraph(UIGraph graph)
UIGraph
that is specified in this method.graph
- The graph whose properties this panel sets.public LayoutAccess getLayoutAccess()
LayoutAccess
for this GraphLayout
. This method updated the LayoutAccess
with the changes that the user has made. Then it returns the LayoutAccess
.getLayoutAccess
in class Layout
LayoutAccess
that this panel uses.public boolean apply()
If this method returns false
, then you should not dispose of this panel. Instead, display an error message dialog that prompts the user to correct the problem. To find the reason that the changes could not be made, call the getErrorString
method.
apply
in class Layout
true
if the operation is successful, false
if the changes could not be applied.getErrorString()
public void setLayoutContext(LayoutContext lc)
LayoutContext
for this Layout
.setLayoutContext
in class Layout
public boolean setLayoutContext(LayoutContext lc, boolean showDialog, java.awt.Component c)
LayoutContext
for this GraphLayout
.lc
- the LayoutContextshowDialog
- if true
shows error dialog if there are insuffient number of measures. if false
, does not show any error dialog.c
- the parent component to host the error dialog. If null, the error dialog will will be displayed in the center of the window.true
if there are sufficient number of measures. false
if there are insufficient number of measures.public void setMeasureText(java.lang.String text)
For localized versions of your application, pass a localized String
to this method.
Call this method before you call the setLayoutContext
method.
text
- The text to display instead of "Measures".Layout.setLayoutContext(oracle.dss.util.LayoutContext)
public java.lang.String getMeasureText()
public java.lang.String getErrorString()
apply
method. If the apply
method returns false
, then call this method to get a message that explains why apply
returned false
.apply
failed.apply()
public void setErrorHandler(ErrorHandler eh)
GraphLayout
. If an error handler has been set, then this GraphLayout
reports error conditions to the handler. Otherwise, it prints the stack trace.setErrorHandler
in class Layout
eh
- The error handler that this panel should use.public ErrorHandler getErrorHandler()
GraphLayoutPanel
uses.null
if no error handler has been set.public void setImageComponent(javax.swing.JComponent comp)
comp
- the JComponentpublic void setLocale(java.util.Locale loc)
Locale
that this panel uses.setLocale
in class Layout
loc
- The current Locale
.public void hidePagingControlOptions()
public java.lang.String getHelpContextID()
getHelpContextID
in interface HelpContext
getHelpContextID
in class Layout
public void setHelpContextID(java.lang.String strHelpContextID)
setHelpContextID
in interface HelpContext
setHelpContextID
in class Layout
oracle.dss.util.help.HelpContext
strHelpContextID
- a String
value that represents the Help context ID.public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
public oracle.bali.ewt.help.HelpProvider getHelpProvider()
public void setHelpEnabled(boolean bValue)
For example, this panel has a Legend Font button that displays a Font dialog box. The Font dialog box displays a Help button by default. Setting the parameter value of this method to false
would hide that Help button.
setHelpEnabled
in class Layout
bValue
- true
to display the Help button, false
to hide it.public boolean isHelpEnabled()
For example, this panel has a Legend Font button that displays a Font dialog box. The Font dialog box displays a Help button by default. If the return value of this method is false
, then that Help button is hidden.
isHelpEnabled
in class Layout
true
if the Help button is displayed, false
if it is hidden.public void cleanUp()
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |