|
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.PlotArea
Defines the Plot Area panel. End-users use the Plot Area panel to set properties of the plot area of a graph and of components that appear on the plot area, such as major tick marks.
This class fires propertyChange
events for every property that is exposed in this panel.
PROPERTY_BACKGROUND_COLOR
, PROPERTY_DATA_LABEL_POSITION
, PROPERTY_DATA_LABEL_TEXT
, PROPERTY_DATA_LABEL_VISIBLE
, PROPERTY_DATA_TIPS_TEXT
, PROPERTY_DATA_TIPS_VISIBLE
, PROPERTY_HORIZONTAL_GRID_COLOR
, PROPERTY_HORIZONTAL_GRID_LINE_WIDTH
, PROPERTY_HORIZONTAL_GRID_VISIBLE
, PROPERTY_VERTICAL_GRID_COLOR
, PROPERTY_VERTICAL_GRID_LINE_WIDTH
, PROPERTY_VERTICAL_GRID_VISIBLE
, PlotArea
, Serialized FormInner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Field Summary | |
static int |
COLOR_COLUMN Series column: Color. |
static int |
FITLINE_COLUMN Series column: Fitline. |
static int |
LINE_COLUMN Series column: Line. |
static int |
MARKER_SHAPE_COLUMN Series column: Marker shape. |
static int |
MARKER_TYPE_COLUMN Series column: Marker type. |
static java.lang.String |
PROPERTY_BACKGROUND_COLOR Property: Background color. |
static java.lang.String |
PROPERTY_BORDER_COLOR Property: Border color. |
static java.lang.String |
PROPERTY_DATA_LABEL_POSITION Property: Data Label Position. |
static java.lang.String |
PROPERTY_DATA_LABEL_TEXT Property: Data Label Text. |
static java.lang.String |
PROPERTY_DATA_LABEL_VISIBLE Property: Data Label Visible. |
static java.lang.String |
PROPERTY_DATA_MARKER_VISIBLE Property: Data Marker Visible. |
static java.lang.String |
PROPERTY_DATA_TIPS_TEXT Property: Data Tips Text. |
static java.lang.String |
PROPERTY_DATA_TIPS_VISIBLE Property: Data Tips Visible. |
static java.lang.String |
PROPERTY_HORIZONTAL_GRID_COLOR Property: Horizontal Grid Color. |
static java.lang.String |
PROPERTY_HORIZONTAL_GRID_LINE_WIDTH Property: Horizontal Grid Line Width. |
static java.lang.String |
PROPERTY_HORIZONTAL_GRID_VISIBLE Property: Horizontal Grid Visible. |
static java.lang.String |
PROPERTY_VERTICAL_GRID_COLOR Property: Vertical Grid Color. |
static java.lang.String |
PROPERTY_VERTICAL_GRID_LINE_WIDTH Property: Vertical Grid Line Width. |
static java.lang.String |
PROPERTY_VERTICAL_GRID_VISIBLE Property: Vertical Grid Visible. |
static int |
YAXIS_COLUMN Series column: Y-axis assignment. |
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 | |
PlotArea(UIGraph graph) Constructor. | |
PlotArea(UIGraph graph, int excludeColumns) Constructor that specifies columns to hide in this panel. |
Method Summary | |
void |
apply() Applies to the graph the changes that have been made to this panel. |
void |
cleanUp() Clean up memory and resource used by Series |
java.awt.Color[][] |
getColorPalette() Retreives the grid of colors used by color choosers in this panel. |
ErrorHandler |
getErrorHandler() Retrieves the error handler that this PlotArea uses. |
java.lang.String |
getHelpContextID() Retrieves the Help context ID for this panel. |
oracle.bali.ewt.help.HelpProvider |
getHelpProvider() Gets the Help provider for the Plot Area panel. |
java.awt.Dimension |
getMinimumSize() Retrieves the minimum size of the Plot Area panel. |
java.awt.Dimension |
getPreferredSize() Retrieves the size at which the Plot Area panel looks best. |
int |
getSelectedSeries() |
boolean |
isHelpEnabled() Indicates whether a Help button in a dialog box that is displayed by this panel, is displayed. |
void |
setColorPalette(java.awt.Color[][] colors) Specifies the grid of colors to use in color palettes of color choosers used in this panel. |
void |
setErrorHandler(ErrorHandler eh) Specifies an error handler for this PlotArea . |
void |
setFocusComponent() Requests focus for a default component. |
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 the Plot Area panel. |
void |
setLocale(java.util.Locale loc) Specifies the current Locale that the graph uses. |
void |
setSelectedSeries(int series) |
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.awt.event.ActionListener |
actionPerformed |
Methods inherited from interface java.awt.event.ItemListener |
itemStateChanged |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Field Detail |
public static final java.lang.String PROPERTY_BACKGROUND_COLOR
apply
method of this panel sets the FillColor
property of the object that represents the plot area.public static final java.lang.String PROPERTY_BORDER_COLOR
apply
method of this panel sets the BorderColor
property of the object that represents the plot area.public static final java.lang.String PROPERTY_HORIZONTAL_GRID_VISIBLE
apply
method of this panel sets the Visible
property of the object that represents horizontal grid lines.Y1MajorTick.setVisible(boolean)
, Y2MajorTick.setVisible(boolean)
, O1MajorTick.setVisible(boolean)
, X1MajorTick.setVisible(boolean)
public static final java.lang.String PROPERTY_HORIZONTAL_GRID_COLOR
apply
method of this panel sets the LineColor
property of the object that represents horizontal grid lines.BaseBorderLine.setLineColor(java.awt.Color)
, BaseBorderLine.setLineColor(java.awt.Color)
, BaseBorderLine.setLineColor(java.awt.Color)
, BaseBorderLine.setLineColor(java.awt.Color)
public static final java.lang.String PROPERTY_HORIZONTAL_GRID_LINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents horizontal grid lines.BaseBorderLine.setLineWidth(int)
, BaseBorderLine.setLineWidth(int)
, BaseBorderLine.setLineWidth(int)
, BaseBorderLine.setLineWidth(int)
public static final java.lang.String PROPERTY_VERTICAL_GRID_VISIBLE
apply
method of this panel sets the Visible
property of the object that represents vertical grid lines.O1MajorTick.setVisible(boolean)
, X1MajorTick.setVisible(boolean)
, Y1MajorTick.setVisible(boolean)
, Y2MajorTick.setVisible(boolean)
public static final java.lang.String PROPERTY_VERTICAL_GRID_COLOR
apply
method of this panel sets the LineColor
property of the object that represents vertical grid lines.BaseBorderLine.setLineColor(java.awt.Color)
, BaseBorderLine.setLineColor(java.awt.Color)
, BaseBorderLine.setLineColor(java.awt.Color)
, BaseBorderLine.setLineColor(java.awt.Color)
public static final java.lang.String PROPERTY_VERTICAL_GRID_LINE_WIDTH
apply
method of this panel sets the LineWidth
property of the object that represents vertical grid lines.BaseBorderLine.setLineWidth(int)
, BaseBorderLine.setLineWidth(int)
, BaseBorderLine.setLineWidth(int)
, BaseBorderLine.setLineWidth(int)
public static final java.lang.String PROPERTY_DATA_LABEL_POSITION
apply
method of this panel sets the MarkerTextPlace
property of the MarkerText
object, or the setLabelPosition
property of the Slice
object.MarkerText.setMarkerTextPlace(int)
, Slice.setLabelPosition(int)
public static final java.lang.String PROPERTY_DATA_LABEL_VISIBLE
apply
method of this panel sets the Visible
property of the MarkerText
object, or the setLabelPosition
property of the Slice
object.MarkerText.setVisible(boolean)
, Slice.setLabelPosition(int)
public static final java.lang.String PROPERTY_DATA_LABEL_TEXT
apply
method of this panel sets the setTextType
property of the SliceLabel
object.SliceLabel.setTextType(int)
public static final java.lang.String PROPERTY_DATA_TIPS_VISIBLE
apply
method of this panel sets the MarkerTooltipType
property of the Graph
object.Graph.setMarkerTooltipType(int)
public static final java.lang.String PROPERTY_DATA_MARKER_VISIBLE
public static final java.lang.String PROPERTY_DATA_TIPS_TEXT
apply
method of this panel sets the MarkerTooltipType
property of the Graph
object.Graph.setMarkerTooltipType(int)
public static final int COLOR_COLUMN
PlotArea(UIGraph, int)
public static final int LINE_COLUMN
PlotArea(UIGraph, int)
public static final int MARKER_SHAPE_COLUMN
PlotArea(UIGraph, int)
public static final int YAXIS_COLUMN
PlotArea(UIGraph, int)
public static final int MARKER_TYPE_COLUMN
PlotArea(UIGraph, int)
public static final int FITLINE_COLUMN
PlotArea(UIGraph, int)
Constructor Detail |
public PlotArea(UIGraph graph)
graph
- The graph to which this object belongs.public PlotArea(UIGraph graph, int excludeColumns)
graph
- The graph to which this object belongs.excludeColumns
- A constant that represents the columns to exclude for series. The constant ends with _COLUMN. You can combine the constants by using the OR operator (|).COLOR_COLUMN
, LINE_COLUMN
, MARKER_SHAPE_COLUMN
, YAXIS_COLUMN
, MARKER_TYPE_COLUMN
, FITLINE_COLUMN
Method Detail |
public void setGraph(UIGraph graph)
UIGraph
that is specified either in this method or in the constructor.setGraph
in class BasePanel
graph
- The graph whose properties this panel sets.public void setErrorHandler(ErrorHandler eh)
PlotArea
. If an error handler has been set, then this PlotArea
reports error conditions to the handler. Otherwise, it prints the stack trace.eh
- The error handler that this panel should use.public void setSelectedSeries(int series)
public int getSelectedSeries()
public ErrorHandler getErrorHandler()
PlotArea
uses.null
if no error handler has been set.public void setColorPalette(java.awt.Color[][] colors)
colors
- two dimesional array of Colorspublic java.awt.Color[][] getColorPalette()
public void cleanUp()
cleanUp
in class BasePanel
public void setLocale(java.util.Locale loc)
Locale
that the graph uses.setLocale
in class java.awt.Component
loc
- The current Locale
.public void apply()
apply
in class BasePanel
public java.awt.Dimension getPreferredSize()
Dimension
object. If no panel size has been specified, then the preferred size is the default size of the panel.getPreferredSize
in class javax.swing.JComponent
Dimension
object that specifies the size for the Plot Area panel.public java.awt.Dimension getMinimumSize()
Dimension
object.getMinimumSize
in class javax.swing.JComponent
Dimension
object that specifies the smallest size that the panel can be made without truncating its components in the UI.public void setHelpProvider(oracle.bali.ewt.help.HelpProvider helpProvider)
public oracle.bali.ewt.help.HelpProvider getHelpProvider()
public java.lang.String getHelpContextID()
For example: If a dual-Y line graph is currently in use, then the Help context ID for the PlotArea panel is oracle.dss.graph.gui.PlotArea_F
.
This Help context ID is used when listening for the user event to display Help for this panel.
getHelpContextID
in interface HelpContext
Series
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 setFocusComponent()
setFocusComponent
in class BasePanel
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |