@Concealed
public class GraphNumberFormatCallback
extends oracle.dss.graph.pfj.NumberFormatCallBack
GraphFormatManager,
GraphRuleFormatter,
ViewFormatGraphFormatManager. It passes the formatted numbers
to Perspective For Java, which paints the numbers.
Application developers should not have to call the methods in this class.
| Modifier and Type | Field and Description |
|---|---|
protected int |
m_column |
protected CommonGraph |
m_commonGraph |
protected int |
m_row |
protected int |
m_valueType |
AXIS_LABEL, CLOSE, DATA_LABEL, DATA_LABEL_HILO_VOL, FUNNEL_LABEL, HIGH, LOW, m_dAxisMax, m_dAxisMin, m_dAxisStep, OPEN, PERCENTAGE_VALUE, PIE_BAR_VALUE, PIE_LABEL, PIE_PERCENTAGE_VALUE, PIE_TOTAL, TOOLTIP_VALUE, VOLUME, XVALUE, YVALUE, ZVALUE| Constructor and Description |
|---|
GraphNumberFormatCallback(CommonGraph g)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ViewFormat |
getMarkerTextViewFormat(int seriesID)
Retrieves the
ViewFormat for the marker text for a
data value in the graph. |
ViewFormat |
getMarkerTextViewFormat(int seriesID,
int groupID) |
ViewFormat |
getTooltipViewFormat(int valueType)
Returns a viewFormat for use in exporting viewFormat information to flash
xml content.
|
java.lang.String |
toString(double dVal)
Converts a data value to a formatted
String. |
getAxisLabelOrdinalPosition, getAxisMax, getAxisMin, getAxisStep, getGroup, getLabelType, getSeries, getValueType, init, isAxisLabel, isX1AxisLabel, isY1AxisLabel, isY2AxisLabel, isY3AxisLabel, isY4AxisLabel, isY5AxisLabel, isZ1AxisLabel, setAxisMax, setAxisMin, setAxisStep, setState, setStateprotected CommonGraph m_commonGraph
protected int m_row
protected int m_column
protected int m_valueType
public GraphNumberFormatCallback(CommonGraph g)
g - The graph that uses this callback.@Concealed public ViewFormat getTooltipViewFormat(int valueType)
valueType - int constant beginning with MarkerText.VF_public ViewFormat getMarkerTextViewFormat(int seriesID, int groupID)
public ViewFormat getMarkerTextViewFormat(int seriesID)
ViewFormat for the marker text for a
data value in the graph.
The ViewFormat specifies the properties that are used
to format the numbers that appear in MarkerText components.
Application developers should not have to call this method.
seriesID - The series that the MarkerText belongs to.ViewFormat to use for formatting the data
at the specified series and group.public java.lang.String toString(double dVal)
String.
This method determines the current graph type and the location and
situation of the data value that is to be formatted.
It then calls the GraphFormatManager for the graph, to
have the data value formatted according to any rules that are in place.
This method then returns the formatted String to
Perspective For Java, which displays it in the graph.
Application developers should not have to call this method.
toString in class oracle.dss.graph.pfj.NumberFormatCallBackdVal - The value to format.GraphFormatManager,
Rule