Style Intelligence v12.0

inetsoft.graph.guide.form
Class TagForm

java.lang.Object
  extended by inetsoft.graph.Graphable
      extended by inetsoft.graph.guide.form.GraphForm
          extended by inetsoft.graph.guide.form.LabelForm
              extended by inetsoft.graph.guide.form.TagForm
All Implemented Interfaces:
Cloneable

public class TagForm
extends LabelForm

This is a tag form guide that allows a text to be tagged to a visual object. The text is moved to avoid overlapping with the other elements. A line is drawn from the text pointing to the tagged visual object.


Constructor Summary
TagForm()
          Default constructor.
TagForm(Object label, double[] tuple)
          Create a label at position specified in logic space (scaled tuple values).
TagForm(Object label, Object[] values)
          Create a label at position specified as data values (to be scaled).
TagForm(Object label, Point2D pos)
          Create a label at a fixed position.
 
Method Summary
protected  inetsoft.graph.visual.LabelFormVO createFormVO(Object label, Point2D labelpos)
          Create the visual object for this form.
 
Methods inherited from class inetsoft.graph.guide.form.LabelForm
createVisual, getAlignmentX, getAlignmentY, getCollisionModifier, getInsets, getLabel, getPoint, getTextSpec, getTuple, getValues, setAlignmentX, setAlignmentY, setCollisionModifier, setInsets, setLabel, setPoint, setTextSpec, setTuple, setValues
 
Methods inherited from class inetsoft.graph.guide.form.GraphForm
createVisuals, getColor, getLine, getMeasure, getPosition, getXOffset, getYOffset, getZIndex, isInPlot, isVisible, scale, setColor, setInPlot, setLine, setMeasure, setXOffset, setYOffset, setZIndex
 
Methods inherited from class inetsoft.graph.Graphable
getHint, getHints, setHint, setHints, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagForm

public TagForm()
Default constructor.


TagForm

public TagForm(Object label,
               double[] tuple)
Create a label at position specified in logic space (scaled tuple values).

Parameters:
label - label content.
tuple - label point specified as a tuple of values.

TagForm

public TagForm(Object label,
               Object[] values)
Create a label at position specified as data values (to be scaled).

Parameters:
label - label content.
values - label point specified as an unscaled tuple of values.

TagForm

public TagForm(Object label,
               Point2D pos)
Create a label at a fixed position.

Parameters:
pos - the position in the graph. The position is in points using the math coordinate (Y grows upwards).
Method Detail

createFormVO

protected inetsoft.graph.visual.LabelFormVO createFormVO(Object label,
                                                         Point2D labelpos)
Create the visual object for this form.

Overrides:
createFormVO in class LabelForm

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.