Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.gauge
Class DrawableObject.TickLabel

java.lang.Object
  extended by oracle.dss.gauge.DrawableObject
      extended by oracle.dss.gauge.DrawableObject.Label
          extended by oracle.dss.gauge.DrawableObject.TickLabel

Enclosing class:
DrawableObject

public static class DrawableObject.TickLabel
extends DrawableObject.Label

This class defines a tick label.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.dss.gauge.DrawableObject
DrawableObject.Image, DrawableObject.Label, DrawableObject.Shape, DrawableObject.TickLabel, DrawableObject.Transform

 

Field Summary

 

Fields inherited from class oracle.dss.gauge.DrawableObject
m_transform

 

Constructor Summary
DrawableObject.TickLabel(int compType, java.awt.Graphics2D g, java.lang.String text, java.awt.Font font, java.awt.Color fontColor, java.awt.Rectangle bounds, java.lang.String labelType, java.awt.geom.AffineTransform transform, int tickType)
          Constructor for creating an DrawableObject instance of TickLabel

 

Method Summary
 int getTickType()
          Gets the type of this tick label.

 

Methods inherited from class oracle.dss.gauge.DrawableObject.Label
contains, getAngle, getBounds, getFont, getFontColor, getGraphics, getLabelType, getText, getTruncatedBounds, getTruncatedText, setTruncatedBounds, setTruncatedText

 

Methods inherited from class oracle.dss.gauge.DrawableObject
getAffineTransform, getComponentIndex, getComponentType, getLabelDimensions, getLabelObject, getTickLabelObject, isSelected, isVisible, render, setSelected, setVisible

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DrawableObject.TickLabel

public DrawableObject.TickLabel(int compType,
                                java.awt.Graphics2D g,
                                java.lang.String text,
                                java.awt.Font font,
                                java.awt.Color fontColor,
                                java.awt.Rectangle bounds,
                                java.lang.String labelType,
                                java.awt.geom.AffineTransform transform,
                                int tickType)
Constructor for creating an DrawableObject instance of TickLabel
Parameters:
tickType - Type of tick label; can be TICK_METRIC, TICK_THRESHOLD, TICK_MIN_MAX, or TICK_INCREMENTS from the GaugeAttributes class.
transform - Instance of AffineTransform to apply to this shape before rendering it
labelType - Type of label; can be TOP_LABEL, BOTTOM_LABEL, METRIC_LABEL_POSITION, ELEMENTA_TOPLABEL, ELEMENTA_BOTTOMLABEL, ELEMENTB_TOPLABEL, ELEMENTB_BOTTOMLABEL, INTERSECTIONAB_TOPLABEL, and INTERSECTIONAB_BOTTOMLABEL from GaugeAttributes class
bounds - Rectangle in which this label should be drawn
fontColor - Instance of Color representing the font color of this ticklabel
font - Instance of Font representing the font for this ticklabel
text - String value for this label
g - Graphics2D instance to use for setup of this label
compType - Type of component to which this object belongs; valid values are constants in the GaugeConstants class beginning with ID_

Method Detail

getTickType

public int getTickType()
Gets the type of this tick label.
Returns:
Type of this tick label; can be TICK_METRIC, TIC_THRESHOLD, TICK_MIN_MAX, and TICK_INCREMENTS from the GaugeAttributes class.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


Copyright © 1997, 2012, Oracle. All rights reserved.