|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.9.0) E52941-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.dss.gauge.GaugeType
oracle.dss.gauge.VennGauge
public class VennGauge
| Field Summary | |
|---|---|
protected static int |
LABEL_GAP |
| Constructor Summary | |
|---|---|
VennGauge(GaugeEngine engine) |
|
| Method Summary | |
|---|---|
protected java.util.Collection |
getGaugeFrameObject(java.util.Map map)Generates the DrawableObject instances necessary to render the raised background behind the gauge. |
protected java.util.Collection |
getGaugeLinkObject(java.util.Map map, java.awt.Rectangle outerBounds)Generates the DrawableObject instances necessary to render the frame behind the gauge. |
protected int |
getGaugeRadius(int availWidth, int availHeight)Allows a gauge type to determine the radius of the gauge. |
int |
getGaugeType()Returns the type of this gauge type implementation. |
protected java.util.Collection |
getIndicatorObject(java.util.Map map, int metricIndex)Generates the DrawableObject instances necessary to render an Indicator. |
protected java.awt.Rectangle |
getInnerBounds(java.util.Map map, java.awt.Rectangle rect, int reqAboveSpace, int reqBelowSpace, int reqLeftSpace, int reqRightSpace)Allows a gauge type implementation to determine the area in which to draw the actual gauge. |
protected java.util.Collection |
getLabelObjects(java.util.Map map, java.awt.Rectangle outerBounds)Generates the DrawableObject instances necessary to render gauge labels. |
protected int |
getMaxNumberOfSteps()Allows a customization of the maximum number of steps to use for the tick labels and marks for this gauge type. |
protected DrawableObject |
getNoDataLabelObject(java.util.Map map)Generates the DrawableObject instances necessary to render a No Data label. |
protected java.util.Collection |
getPlotAreaObject(java.util.Map map, int type)Generates the DrawableObject instances necessary to render a PlotArea. |
protected int |
getSpaceAboveGauge(java.util.Map map, java.awt.Graphics2D g)Calculates the space needed above the gauge based on the attributes in the given map. |
protected int |
getSpaceBelowGauge(java.util.Map map, java.awt.Graphics2D g)Calculates the space needed below the gauge based on the attributes in the given map. |
protected int |
getSpaceLeftOfGauge(java.util.Map map, java.awt.Graphics2D g)Calculates the space needed to the left of the gauge based on the attributes in the given map. |
protected int |
getSpaceRightOfGauge(java.util.Map map, java.awt.Graphics2D g)Calculates the space needed to the right of the gauge based on the attributes in the given map. |
protected java.util.Collection |
getTickLabelObjects(java.util.Map map)Generates the DrawableObject instances necessary to render Tick Labels. |
protected java.util.Collection |
getTickMarkObjects(java.util.Map map)Generates the DrawableObject instances necessary to render Tick Marks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int LABEL_GAP
| Constructor Detail |
|---|
public VennGauge(GaugeEngine engine)
| Method Detail |
|---|
public int getGaugeType()
getGaugeType in class GaugeType
protected java.util.Collection getPlotAreaObject(java.util.Map map,
int type)
DrawableObject instances necessary to render a PlotArea.getPlotAreaObject in class GaugeTypemap - Map of attributes for this gaugetype - Type of plot area to generate. Can be FILL_ONLY, BORDER_ONLY, and FILL_AND_BORDERDrawableObject instances
protected java.util.Collection getIndicatorObject(java.util.Map map,
int metricIndex)
DrawableObject instances necessary to render an Indicator.getIndicatorObject in class GaugeTypemap - Map of attributes for this gaugemetricIndex - Index of the indicatorDrawableObject instancesprotected java.util.Collection getTickLabelObjects(java.util.Map map)
DrawableObject instances necessary to render Tick Labels.getTickLabelObjects in class GaugeTypemap - Map of attributes for this gaugeDrawableObject instancesprotected java.util.Collection getTickMarkObjects(java.util.Map map)
DrawableObject instances necessary to render Tick Marks.getTickMarkObjects in class GaugeTypemap - Map of attributes for this gauge_innerBounds - Rectangle in which objects can be drawnDrawableObject instances
protected java.util.Collection getLabelObjects(java.util.Map map,
java.awt.Rectangle outerBounds)
DrawableObject instances necessary to render gauge labels.getLabelObjects in class GaugeTypemap - Map of attributes for this gaugeouterBounds - Rectangle in which the entire gauge and surrounding objects are drawnDrawableObject instancesprotected DrawableObject getNoDataLabelObject(java.util.Map map)
DrawableObject instances necessary to render a No Data label.getNoDataLabelObject in class GaugeTypemap - Map of attributes for this gaugeDrawableObject instances
protected int getSpaceAboveGauge(java.util.Map map,
java.awt.Graphics2D g)
getSpaceAboveGauge in class GaugeTypemap - Map instance containing gauge attributesg - Instance of Graphics2D to use for various font calculations
protected int getSpaceBelowGauge(java.util.Map map,
java.awt.Graphics2D g)
getSpaceBelowGauge in class GaugeTypemap - Map instance containing gauge attributesg - Instance of Graphics2D to use for various font calculations
protected int getSpaceLeftOfGauge(java.util.Map map,
java.awt.Graphics2D g)
getSpaceLeftOfGauge in class GaugeTypemap - Map instance containing gauge attributesg - Instance of Graphics2D to use for various font calculations
protected int getSpaceRightOfGauge(java.util.Map map,
java.awt.Graphics2D g)
getSpaceRightOfGauge in class GaugeTypemap - Map instance containing gauge attributesg - Instance of Graphics2D to use for various font calculations
protected int getGaugeRadius(int availWidth,
int availHeight)
getGaugeRadius in class GaugeTypeavailHeight - Integer representing the height available for drawing the actual gaugeavailWidth - Integer representing the width available for drawing the actual gauge
protected java.awt.Rectangle getInnerBounds(java.util.Map map,
java.awt.Rectangle rect,
int reqAboveSpace,
int reqBelowSpace,
int reqLeftSpace,
int reqRightSpace)
getInnerBounds in class GaugeTypereqRightSpace - Integer indicating the space required to the right of the gaugereqLeftSpace - Integer indicating the space required to the left of the gaugereqBelowSpace - Integer indicating the space required below the gaugereqAboveSpace - Integer indicating the space required above the gaugerect - Rectangle indicating the initial working areaprotected int getMaxNumberOfSteps()
getMaxNumberOfSteps in class GaugeTypeprotected java.util.Collection getGaugeFrameObject(java.util.Map map)
DrawableObject instances necessary to render the raised background behind the gauge.getGaugeFrameObject in class GaugeTypemap - Map of attributes for this gaugeouterBounds - Rectangle representing gauge and its background_innerBounds - Rectangle representing gauge plot areaDrawableObject instances
protected java.util.Collection getGaugeLinkObject(java.util.Map map,
java.awt.Rectangle outerBounds)
GaugeTypeDrawableObject instances necessary to render the frame behind the gauge.getGaugeLinkObject in class GaugeTypemap - Map of attributes for this gaugeouterBounds - Rectangle representing gauge and its backgroundDrawableObject instances
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.9.0) E52941-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||