<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
|
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.graph.gui.BasePanel | +--oracle.dss.graph.gui.BaseAxis | +--oracle.dss.graph.gui.ValueAxis
Defines the Value Axis panel. The Y-axis (Y1-axis or Y2-axis) is always the value axis.
The X-axis is the value axis in the following graph types:
This class fires propertyChange
events for every property that is exposed in this panel.
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
static java.lang.String |
PROPERTY_AXIS_AUTO_MAX Property: Axis Auto Max. |
static java.lang.String |
PROPERTY_AXIS_AUTO_MIN Property: Axis Auto Min. |
static java.lang.String |
PROPERTY_AXIS_AUTO_TICK_STEP Property: Axis Auto Tick Step. |
static java.lang.String |
PROPERTY_AXIS_LOG_BASE Property: Axis Logarithmic Base. |
static java.lang.String |
PROPERTY_AXIS_LOG_SCALE Property: Axis Log Scale. |
static java.lang.String |
PROPERTY_AXIS_MAJOR_TICK_STEP Property: Axis Major Tick Step. |
static java.lang.String |
PROPERTY_AXIS_MAX_VALUE Property: Axis Max Value. |
static java.lang.String |
PROPERTY_AXIS_MIN_VALUE Property: Axis Min Value. |
Fields inherited from class oracle.dss.graph.gui.BaseAxis |
ALL_ERRORS, ALL_ERRORS_AND_WARNINGS, NON_DATA_ERRORS, NONE, PROPERTY_AXIS_COLOR, PROPERTY_AXIS_TITLE, PROPERTY_AXIS_VISIBLE, PROPERTY_LINE_WIDTH, WARNINGS |
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 | |
ValueAxis(UIGraph graph, int componentID) Constructor. | |
ValueAxis(UIGraph graph, int componentID, int errorTypes) Constructor. |
Method Summary | |
void |
apply() Deprecated. As of 2.4.0.4, replaced by applyAfterCheck() |
boolean |
applyAfterCheck() Applies changes that were made in this panel, but only if they are valid. |
void |
cleanUp() Clean up memory and resources of value axis panel |
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. |
int |
getMaxMultiplier() Retrives the number by which the maximum data value is multiplied, to determine the setting of the axis maximum for which this panel reports a warning to end users. |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
boolean |
isRepeatWarnings() Indicates if warnings should be displayed every time applyAfterCheck() method is called even if the values have not changed in the panel. |
void |
setColorPalette(java.awt.Color[][] colors) Specifies the grid of colors to use in color palettes of color choosers used in this panel. |
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 |
setMaxMultiplier(int multiplier) Specifies how many times bigger than the maximum data value the maximum axis value must be before a warning is reported to a user. |
void |
setRepeatWarnings(boolean repeat) Specifies if warnings should be displayed every time applyAfterCheck() method is called even if the values have not changed in the panel. |
Methods inherited from class oracle.dss.graph.gui.BaseAxis |
getApplicationName, getColorPalette, getErrorHandler, getErrorTypes, getMinimumSize, getPreferredSize, setApplicationName, setErrorHandler, setErrorTypes, setLocale |
Methods inherited from class oracle.dss.graph.gui.BasePanel |
createSeparator, setTitleText |
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, getNextFocusableComponent, 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 |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Methods inherited from interface java.awt.event.ItemListener |
itemStateChanged |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
Methods inherited from interface javax.swing.event.CaretListener |
caretUpdate |
Field Detail |
public static final java.lang.String PROPERTY_AXIS_MAX_VALUE
apply
method of this panel sets the AxisMaxValue
property of the data axis.BaseDataAxis.setAxisMaxValue(double)
public static final java.lang.String PROPERTY_AXIS_MIN_VALUE
apply
method of this panel sets the AxisMinValue
property of the data axis.BaseDataAxis.setAxisMinValue(double)
public static final java.lang.String PROPERTY_AXIS_MAJOR_TICK_STEP
apply
method of this panel sets the MajorTickStep
property of the data axis.BaseDataAxis.setMajorTickStep(double)
public static final java.lang.String PROPERTY_AXIS_AUTO_MAX
apply
method of this panel sets the AxisMaxAutoScaled
property of the data axis.BaseDataAxis.setAxisMaxAutoScaled(boolean)
public static final java.lang.String PROPERTY_AXIS_AUTO_MIN
apply
method of this panel sets the AxisMinAutoScaled
property of the data axis.BaseDataAxis.setAxisMinAutoScaled(boolean)
public static final java.lang.String PROPERTY_AXIS_AUTO_TICK_STEP
apply
method of this panel sets the <codeMajorTickStepAutomatic property of the data axis.BaseDataAxis.setMajorTickStepAutomatic(boolean)
public static final java.lang.String PROPERTY_AXIS_LOG_SCALE
apply
method of this panel sets the ScaledLogarithmic
property of the data axis.BaseDataAxis.setScaledLogarithmic(boolean)
public static final java.lang.String PROPERTY_AXIS_LOG_BASE
apply
method of this panel sets the LogarithmicBase
property of the data axis.BaseDataAxis.setLogarithmicBase(double)
Constructor Detail |
public ValueAxis(UIGraph graph, int componentID)
graph
- The graph that this panel belongs to.componentID
- A constant that represents the axis that you want to be the value axis. The constants are listed in the See Also section.Graph.X1AXIS
, Graph.Y1AXIS
, Graph.Y2AXIS
public ValueAxis(UIGraph graph, int componentID, int errorTypes)
graph
- The graph that this panel belongs to.componentID
- A constant that represents the axis that you want this panel to work with. The constants are listed in the See Also section. The valid constants for this parameter end in "AXIS".errorTypes
- A constant that specifies the level of errors and warnings to display to the end user. The default value is ALL_ERRORS_AND_WARNINGS
. The valid values are listed in the See Also section. You can use the OR operator (|) to combine settings.BaseAxis.ALL_ERRORS_AND_WARNINGS
, BaseAxis.ALL_ERRORS
, BaseAxis.WARNINGS
, BaseAxis.NONE
, BaseAxis.NON_DATA_ERRORS
, Graph.X1AXIS
, Graph.Y1AXIS
, Graph.Y2AXIS
Method Detail |
public void setGraph(UIGraph graph)
UIGraph
that is specified either in this method or in the constructor.setGraph
in class BaseAxis
graph
- The graph whose properties this panel sets.public void setColorPalette(java.awt.Color[][] colors)
setColorPalette
in class BaseAxis
colors
- two dimesional array of Colorspublic void setRepeatWarnings(boolean repeat)
repeat
- true
repeat displaying the warning message even if the values have not changed false
do not display the warning message if the values have not changed.public boolean isRepeatWarnings()
true
if warning messages should be displayed even if the values have not changed in the panel. false
otherwise.public void apply()
applyAfterCheck()
apply
in class BasePanel
public boolean applyAfterCheck()
Normally, you call this method in the listener for the container's OK button.
true
if the changes were applied, false
if the changes were not valid.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 setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
public oracle.bali.ewt.help.HelpProvider getHelpProvider()
public void setHelpEnabled(boolean bValue)
For example, this panel has an Axis Title 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.
true
to display the Help button, false
to hide it.public boolean isHelpEnabled()
For example, this panel has an Axis Title 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.
true
if the Help button is displayed, false
if it is hidden.public void setMaxMultiplier(int multiplier)
When the maximum value of the data is much smaller than the specified maximum value of the axis, then much of the plot area is empty, and the differences between data values are minimized, to the point of a distortion in the perception of the graph data. This method lets you determine how "much smaller" is defined.
By default, when a user sets the maximum value of an axis to 10 times the maximum value of the data that will appear in the graph, this panel reports a warning. If you want to warn users for smaller settings of the axis maximum, then call this method to set a lower multiple value, such as 3 or 4.
Warnings appear only if the setting of the ErrorType
property includes warnings.
multiplier
- The number by which to multiply the maximum value in the data, to find the warning level for the setting of the axis maximum.BaseAxis.setErrorTypes(int)
public int getMaxMultiplier()
Warnings appear only if the setting of the ErrorType
property includes warnings.
BaseAxis.setErrorTypes(int)
public void cleanUp()
cleanUp
in class BaseAxis
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |