|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for a graph. The user interface for the Graph bean calls the methods in this interface as it interacts with the graph. This interface is implemented internally and is used by the BI Beans user interface panels. Application developers should not implement this interface.
| Method Summary | |
void |
beginAxisChanges()Prevents calculation of axis values while the user interface panel sets axis scaling properties. |
void |
endAxisChanges()Re-enables calculation of axis values after the user interface panel sets axis scaling properties. |
int |
getAutoLayout()Retrieves information about when the graph automatically places and sizes its components. |
int |
getColumnCount()Retrieves the number of columns of data that this graph displays. |
java.lang.Object |
getDataAccessSliceLabel(int edge, int slice, java.lang.String type)Retrieves the label for the data slice in the DataAccess for this graph. |
DataFilter |
getDataFilter()Retrieves an implementation of the DataFilter interface. |
int |
getGraphType()Retrieves the current graph type for this graph. |
GraphTypeConverter |
getGraphTypeConverter()Retrieves the GraphTypeConverter that this graph uses. |
int |
getGroupTooltipLabelType()Retrieves the type of information about groups that this graph displays in tooltips. |
int |
getMarkerTooltipType()Indicates the type of information that this graph displays in tooltips for markers. |
UIParetoLine |
getParetoLine()Retrieves an implementation of the UIParetoLine interface. |
int |
getRowCount()Retrieves the number of rows of data that this graph displays. |
int |
getSeriesObjectCount()Retrieves the number of series that this graph stores properties for. |
int |
getSeriesTooltipLabelType()Retrieves the type of information about series that this graph displays in tooltips. |
interface |
getUIX1ReferenceLine()Retrieves an implementation of the UIReferenceLine interface that represents the X1ReferenceLine component of a graph. |
interface |
getUIY1ReferenceLine()Retrieves an implementation of the UIReferenceLine interface that represents the Y1ReferenceLine component of a graph. |
interface |
getUIY2ReferenceLine()Retrieves an implementation of the UIReferenceLine interface that represents the Y2ReferenceLine component of a graph. |
boolean |
isDataRowShownAsASeries()Indicates whether rows of data appear as series or as groups. |
boolean |
isGroupSeriesTooltipSupported(int edge)Indicates whether group or series option (depending on the edge passed in) is supported in the tooltips. |
boolean |
isHorizontal()Indicates whether the graph has a horizontal graph type. |
boolean |
isLineDataLineDisplayed()Indicates whether data lines appear in a line graph. |
boolean |
isMarkerDisplayed()Indicates whether data markers appear in a line graph. |
boolean |
isPagingControlVisible()Indicate whether the paging control on the graph is visible. |
void |
setDataRowShownAsASeries(boolean yesNo)Specifies whether to display data rows as series or as groups. |
void |
setGraphType(int graphType)Specifies the graph type for this graph. |
void |
setGraphTypeConverter(GraphTypeConverter graphTypeConverter)Specifies the GraphTypeConverter for the graph type to use. |
void |
setGroupTooltipLabelType(int groupTooltipLabelType)Specifies the type of information about groups that this graph displays in tooltips. |
void |
setLineDataLineDisplayed(boolean bValue)Specifies whether data lines appear in a line graph. |
void |
setMarkerDisplayed(boolean yesNo)Specifies whether data markers appear in a line graph. |
void |
setMarkerTooltipType(int marketTooltipType)Specifies the type of information that this graph displays in tooltips for markers. |
void |
setPagingControlVisible(boolean bValue)Specifies whether to display the paging control with the graph. |
void |
setSeriesTooltipLabelType(int seriesTooltipLabelType)Specifies the type of information about series that this graph displays in tooltips. |
| Methods inherited from interface oracle.dss.dataView.UIDataview |
addControllerListener, getDataviewFootnote, getDataviewSubtitle, getDataviewTitle, getLocale, getSelectedObject, getTokenSubstitution, getViewType, removeControllerListener, setTokenSubstitution |
| Methods inherited from interface oracle.dss.dataView.GraphAttribute |
applyViewStyle, getComponentViewStyle, getUISeriesColor |
| Method Detail |
public void setDataRowShownAsASeries(boolean yesNo)
DataSource is translated to PFJ. For example, in a pie graph, series labels appear in the graph legend, and group labels appear under each pie. When data rows are shown as PFJ series, the labels for the data rows appear in the graph legend. When data rows are not shown as PFJ series, but rather as PFJ groups, the row labels appear under each pie, and the column labels appear in the graph legend.yesNo - true to have data rows shown as PFJ series (and data columns shown as groups), false to have data rows shown as PFJ groups (and data columns shown as series).public boolean isDataRowShownAsASeries()
DataSource is translated to PFJ. For example, in a pie graph, series labels appear in the graph legend, and group labels appear under each pie. When data rows are shown as PFJ series, the labels for the data rows appear in the graph legend. When data rows are not shown as PFJ series, but rather as PFJ groups, the row labels appear under each pie, and the column labels appear in the graph legend.true if data rows are shown as series, false if data rows are shown as groups.
public int getColumnCount()
throws EdgeOutOfRangeException
EdgeOutOfRangeException - If the data source does not support the the column edge.isDataRowShownAsASeries()
public int getRowCount()
throws EdgeOutOfRangeException
EdgeOutOfRangeException - If the data source does not support the row edge.isDataRowShownAsASeries()
public java.lang.Object getDataAccessSliceLabel(int edge,
int slice,
java.lang.String type)
throws EdgeOutOfRangeException,
SliceOutOfRangeException
DataAccess for this graph. The UI calls this method to get information about the series when it displays the plot area panel.edge - The edge that you want labels for. Series.java calls this with DataAccess.ROW_EDGE.slice - The slice of data that you want labels for.type - The type of data that you want from the DataAccess. Series.java calls this method with MetadataMap.METADATA_LONGLABEL as the type.EdgeOutOfRangeException - If edge is not a valid edge.SliceOutOfRangeException - If slice is not a valid slice.DataAccess.getSliceLabel(int, int, java.lang.String)public void setGraphType(int graphType)
Graph class and begin with the following:
A point graph, as exposed in the default UI, is a line graph in which isLineDataLineDisplayed returns false. A combination graph is a bar graph in which getMarkerType for one or more series returns anything other than MT_DEFAULT.
graphType - A constant that represents the graph type for this graph.isLineDataLineDisplayed(), Series.getMarkerType(int), GraphTypeConverterpublic int getGraphType()
A point graph, as exposed in the default UI, is a line graph in which getLineDataLineDisplayed returns false. A combination graph is a bar graph in which getMarkerType for one or more series returns anything other than MT_DEFAULT.
isLineDataLineDisplayed(), Series.getMarkerType(int), GraphTypeConverterpublic void setSeriesTooltipLabelType(int seriesTooltipLabelType)
Graph class and start with TLT_. The default value for SeriesTooltipLabelType is Graph.TLT_MEMBER.
In order for the series labels to be displayed, the Graph.MarkerTooltipType property must be set to include text.
seriesTooltipLabelType - A constant that represents the type of information that the graph should display for series.Graph.TLT_MEMBER, Graph.TLT_DIM_MEMBER, Graph.TLT_NONE, Graph.setMarkerTooltipType(int)public int getSeriesTooltipLabelType()
Graph class and start with TLT_. The default value for SeriesTooltipLabelType is Graph.TLT_MEMBER.
In order for the series labels to be displayed, the MarkerTooltipType property must be set to include text.
Graph.TLT_MEMBER, Graph.TLT_DIM_MEMBER, Graph.TLT_NONE, Graph.setMarkerTooltipType(int)public void setGroupTooltipLabelType(int groupTooltipLabelType)
Graph and start with TLT_. The default value for GroupTooltipLabelType is Graph.TLT_MEMBER.groupTooltipLabelType - A constant that represents the type of information that the graph should display for groups.Graph.TLT_MEMBER, Graph.TLT_DIM_MEMBER, Graph.TLT_NONE, Graph.setMarkerTooltipType(int)public int getGroupTooltipLabelType()
Graph class and start with TLT_. The default value for GroupTooltipLabelType is Graph.TLT_MEMBER.Graph.TLT_MEMBER, Graph.TLT_DIM_MEMBER, Graph.TLT_NONE, Graph.setMarkerTooltipType(int)public void setMarkerTooltipType(int marketTooltipType)
Graph class and start with MTT_.
The default value for MarkerTooltipType is Graph.MTT_VALUES.
If you set MarkerTooltipType to include Graph.MTT_TEXT, then the content of the text is specified by the setSeriesTooltipLabelType and setGroupTooltipLabelType methods.
marketTooltipType - A constant that represents the type of information that the graph should display for markers. Except for MTT_NONE, the constants can be combined by using a bitwise OR (|).setGroupTooltipLabelType(int), setSeriesTooltipLabelType(int), Graph.MTT_TEXT, Graph.MTT_VALUES, Graph.MTT_NONE, Graph.MTT_PERCENT_VAL, Graph.MTT_CUM_VALpublic int getMarkerTooltipType()
Graph class and start with MTT_.
The default value for MarkerTooltipType is Graph.MTT_VALUES.
If MarkerTooltipType includes Graph.MTT_TEXT, then the content of the text is specified in the SeriesTooltipLabelType and GroupTooltipLabelType properties.
getGroupTooltipLabelType(), getSeriesTooltipLabelType(), Graph.MTT_TEXT, Graph.MTT_VALUES, Graph.MTT_NONE, Graph.MTT_PERCENT_VAL, Graph.MTT_CUM_VALpublic void setLineDataLineDisplayed(boolean bValue)
false to this method.bValue - true for a line graph, false to create a point graph.GraphTypeConverterpublic boolean isLineDataLineDisplayed()
false.true if a line graph displays lines, false if the line graph does not display lines (presents itself as a point graph).GraphTypeConverterpublic getUIX1ReferenceLine()
UIReferenceLine interface that represents the X1ReferenceLine component of a graph.UIReferenceLine interface that represents the X1ReferenceLine.public getUIY1ReferenceLine()
UIReferenceLine interface that represents the Y1ReferenceLine component of a graph.UIReferenceLine interface that represents the Y1ReferenceLine.public getUIY2ReferenceLine()
UIReferenceLine interface that represents the Y2ReferenceLine component of a graph.UIReferenceLine interface that represents the Y2ReferenceLine.public GraphTypeConverter getGraphTypeConverter()
GraphTypeConverter that this graph uses. The GraphTypeConverter translates the base graph types for a user interface (UI). For example, the default UI for this graph exposes a point graph type. To Perspective for Java, this is really a line graph without the lines. The GraphTypeConverter maintains the information about the UI version of the graph and the Perspective for Java version.GraphTypeConverter that this graph uses.public void setGraphTypeConverter(GraphTypeConverter graphTypeConverter)
GraphTypeConverter for the graph type to use. The GraphTypeConverter translates the base graph types for a user interface (UI). For example, the default UI for this graph exposes a point graph type. To Perspective for Java, this is really a line graph without the lines. The GraphTypeConverter maintains the information about the UI version of the graph and the Perspective for Java version.
The default UI for the graph sets a default GraphTypeConverter. You do not have to call this method unless you provide your own UI and your UI exposes graph types that do not correspond directly to the graph type constants in this class.
graphTypeConverter - The GraphTypeConverter for this graph to use.public boolean isHorizontal()
O1Axis and its tick labels are vertical. Otherwise, they are horizontal. The plot area panel in the default UI calls this method in order to translate "horizontal" and "vertical" for the end user.true if the graph is horizontal, false if it is vertical.public boolean isPagingControlVisible()
isPagingControlVisible in interface PagingControlAttributestrue if the paging control appears with the graph, false if it does not.PagingControlpublic void setPagingControlVisible(boolean bValue)
setPagingControlVisible in interface PagingControlAttributesbValue - true to display the paging control, false to hide it.PagingControlpublic void beginAxisChanges()
ValueAxis class calls this method before it applies the settings of axis scaling options.ValueAxispublic void endAxisChanges()
ValueAxis class calls this method after it applies the settings of axis scaling options.ValueAxispublic int getSeriesObjectCount()
getSeriesObjectCount in interface GraphAttributeSeriespublic boolean isGroupSeriesTooltipSupported(int edge)
Application developers should not need to call this method.
edge - DataDirector.ROW_EDGE for the row edge, or DataDirector.COLUMN_EDGE for the column edge.true If the the option is supported false If the option is not supported and the checkbox should be disabled.DataDirector.COLUMN_EDGE, DataDirector.ROW_EDGEpublic DataFilter getDataFilter()
DataFilter interface.DataFilter interface.public UIParetoLine getParetoLine()
UIParetoLine interface.public boolean isMarkerDisplayed()
true if the line graph displays data markers, false if it does not.DataMarkerpublic void setMarkerDisplayed(boolean yesNo)
yesNo - true to display data markers, false to hide data markers.DataMarkerpublic int getAutoLayout()
Graph.AL_ALWAYS, Graph.AL_AS_NEEDED, Graph.AL_NEVER
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||