
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.7.0) E1206308 

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
java.lang.Object java.util.EventObject oracle.dss.dataView.AlertEvent
public class AlertEvent
The event that contains the information about a problem. The problem may be of interest to the application, but it is not necessarily an error condition. Some problems are related to the data that is passed to the graph.
For more information about data requirements for different graph types, see the BI Beans Help system.
Field Summary  

static int 
AXIS_LABELS_TRUNCATED
ID: The Axis labels truncated During automatic graph layout, the graph found that axis labels on on X1 axis(polar graph) or O1 axis(radar graph) are truncated 
static int 
AXIS_TITLE_TRUNCATED
ID: The axis title is truncated. 
static int 
DATA_ALL_AXIS_DATA_NULL
ID: All data that is passed to any graph axis is null . 
static int 
DATA_ALL_AXIS_DATA_NULL_NEG_ZERO
ID: All of the data is null , a negative value, or zero, for
a logarithmically scaled axis. 
static int 
DATA_ALL_DATA_NULL
ID: All data is null . 
static int 
DATA_ALL_DATA_NULL_NEG_ZERO
ID: All of the data is null , a negative value, or zero, and
the graph type requires positive data. 
static int 
DATA_PARTIAL_DATA_NULL
ID: Some of the data is null . 
static int 
DATA_PARTIAL_DATA_NULL_NEG_ZERO
ID: Some of the data is null , a negative value, or zero, and
the graph type requires positive data. 
static int 
DATA_PARTIAL_GROUP
ID: There are not enough data points for each group of data. 
static int 
DATA_STOCK_HIGH_LT_LOW_VALUE
ID: In a stock graph, the data for the high value of a stock is less than the low value. 
static int 
DATA_STOCK_OPEN_OR_CLOSE_OUT_OF_RANGE
ID: In a stock graph, the opening or closing value is higher than the high value or lower than the low value. 
static int 
LEGEND_MARKERS_NOT_ALL_DISPLAYED
ID: There is not enough room in the legend area to display a marker for each series that the graph displays. 
static int 
LEGEND_TEXT_TRUNCATED
ID: The legend text cannot all be displayed in the legend area. 
static int 
O1_LABELS_TRUNCATED
ID: The O1 labels truncated During drawing of Funnel, graph found that O1 labels got truncated. 
static int 
SLICE_LABELS_TRUNCATED
ID: The slice labels truncated During drawing of Pie graph, graph found that slice labels got truncated. 
static int 
TITLE_TEXT_TRUNCATED
ID: The title text is truncated. 
Fields inherited from class java.util.EventObject 

source 
Constructor Summary  

AlertEvent(java.lang.Object source,
int id)
Constructor. 
Method Summary  

int 
getID()
Retrieves a constant that identifies the type of problem. 
Methods inherited from class java.util.EventObject 

getSource, toString 
Methods inherited from class java.lang.Object 

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
Field Detail 

public static final int LEGEND_TEXT_TRUNCATED
Graph.setAutoLayout(int)
,
Constant Field Valuespublic static final int LEGEND_MARKERS_NOT_ALL_DISPLAYED
Graph.setAutoLayout(int)
,
Constant Field Valuespublic static final int AXIS_TITLE_TRUNCATED
Graph.setAutoLayout(int)
,
Constant Field Valuespublic static final int DATA_PARTIAL_GROUP
For example, a scatter graph requires two data points in each group. If the data has an odd number of columns, then the last group does not have a complete set of data.
You can call oracle.dss.graph.Graph.getGroupSize
to find out
how many data points are required in a group.
Graph.getGroupSize(int)
,
Constant Field Valuespublic static final int DATA_STOCK_HIGH_LT_LOW_VALUE
For example, if the GraphType
is Graph.STOCK_HILO_CLOSE
,
then the group values must be passed in this order:
If the data is passed with the low value first, an alert with this alert ID is sent
to the AlertListener
.
If the order is correct, then the problem is with individual data values.
public static final int DATA_STOCK_OPEN_OR_CLOSE_OUT_OF_RANGE
public static final int DATA_ALL_DATA_NULL_NEG_ZERO
null
, a negative value, or zero, and
the graph type requires positive data.
Pie graphs, percent graphs (such as a percent bar graph), and pareto graphs
expect that all of the data is positive.
Graphs that have an axis that is scaled logarithmically expect
that all of the data for that axis is positive.
public static final int DATA_ALL_DATA_NULL
null
.
All graph types require nonnull
data.
public static final int DATA_PARTIAL_DATA_NULL_NEG_ZERO
null
, a negative value, or zero, and
the graph type requires positive data.
Pie graphs, percent graphs (such as a percent bar graph), pareto graphs,
and graphs that have an axis that is scaled logarithmically expect
that all of the data is positive.
public static final int DATA_PARTIAL_DATA_NULL
null
.
The graph does not display markers for null data.
public static final int DATA_ALL_AXIS_DATA_NULL_NEG_ZERO
null
, a negative value, or zero, for
a logarithmically scaled axis.
Graphs that have an axis that is scaled logarithmically should
have all positive data for that axis.
The graph sends an alert with this ID if you have two data axes, and
all of the data assigned to one of these axes is negative, null, or zero.
public static final int DATA_ALL_AXIS_DATA_NULL
null
.
One example of this is a scatter graph for which all the data
that should be plotted on the Xaxis is null
.
Another example is a dualY graph for which all the data for the
Y1axis is null
.
public static final int TITLE_TEXT_TRUNCATED
Graph.setAutoLayout(int)
,
Constant Field Valuespublic static final int AXIS_LABELS_TRUNCATED
Graph.setAutoLayout(int)
,
Constant Field Valuespublic static final int SLICE_LABELS_TRUNCATED
public static final int O1_LABELS_TRUNCATED
Constructor Detail 

public AlertEvent(java.lang.Object source, int id)
source
 The source of this event.id
 A constant that identifies the type of problem that occurred.Method Detail 

public int getID()
LEGEND_TEXT_TRUNCATED
,
LEGEND_MARKERS_NOT_ALL_DISPLAYED
,
TITLE_TEXT_TRUNCATED
,
AXIS_TITLE_TRUNCATED
,
DATA_ALL_AXIS_DATA_NULL
,
DATA_ALL_AXIS_DATA_NULL_NEG_ZERO
,
DATA_ALL_DATA_NULL
,
DATA_ALL_DATA_NULL_NEG_ZERO
,
DATA_PARTIAL_DATA_NULL
,
DATA_PARTIAL_GROUP
,
DATA_PARTIAL_DATA_NULL_NEG_ZERO
,
DATA_STOCK_HIGH_LT_LOW_VALUE
,
DATA_STOCK_OPEN_OR_CLOSE_OUT_OF_RANGE

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.7.0) E1206308 

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 