|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.Graphable
inetsoft.graph.guide.form.GraphForm
inetsoft.graph.guide.form.LabelForm
public class LabelForm
This is a text label form guide.
| Constructor Summary | |
|---|---|
LabelForm()
Default constructor. |
|
LabelForm(Object label,
double[] tuple)
Create a label at position specified in logic space (scaled tuple values). |
|
LabelForm(Object label,
Object[] values)
Create a label at position specified as data values (to be scaled). |
|
LabelForm(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. |
Visualizable |
createVisual(Coordinate coord)
Create a visual object to visualize this element. |
int |
getAlignmentX()
Gets the the horizontal alignment. |
int |
getAlignmentY()
Gets the the vertical alignment. |
int |
getCollisionModifier()
Get the text collision resolution option. |
Insets |
getInsets()
Get the label insets. |
Object |
getLabel()
Get the text label of the form. |
Point2D |
getPoint()
Get the fixed position for the label. |
TextSpec |
getTextSpec()
Get the text attributes. |
double[] |
getTuple()
Get the position tuple value. |
Object[] |
getValues()
Get the position values value. |
void |
setAlignmentX(int alignx)
Set the the horizontal alignment. |
void |
setAlignmentY(int aligny)
Set the the vertical alignment. |
void |
setCollisionModifier(int modifier)
Set the text collision resolution option. |
void |
setInsets(Insets insets)
Set the label insets. |
void |
setLabel(Object label)
Set the text label of the form. |
void |
setPoint(Point2D pos)
Set the fixed position for the label. |
void |
setTextSpec(TextSpec spec)
Set the text attributes. |
void |
setTuple(double[] tuple)
Set the tuple for obtaining the position for the label in the coordinate. |
void |
setValues(Object[] values)
Set the values for obtaining the position for the label in the coordinate. |
| 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 |
|---|
public LabelForm()
public LabelForm(Object label,
double[] tuple)
label - label content.tuple - label point specified as a tuple of values.
public LabelForm(Object label,
Object[] values)
label - label content.values - label point specified as an unscaled tuple of values.
public LabelForm(Object label,
Point2D pos)
pos - the position in the graph. The position is in points using the
math coordinate (Y grows upwards).| Method Detail |
|---|
public void setLabel(Object label)
public Object getLabel()
public void setTuple(double[] tuple)
public double[] getTuple()
public void setValues(Object[] values)
public Object[] getValues()
public void setPoint(Point2D pos)
pos - the point location in graph. If the value is between 0 and
1 (non-inclusive), it's treated as a proportion of the width/height. If the
value is negative, it's the distance from the right/top of the graph.public Point2D getPoint()
public void setInsets(Insets insets)
public Insets getInsets()
public void setTextSpec(TextSpec spec)
public TextSpec getTextSpec()
public int getCollisionModifier()
public void setCollisionModifier(int modifier)
public void setAlignmentX(int alignx)
public void setAlignmentY(int aligny)
public int getAlignmentX()
public int getAlignmentY()
public Visualizable createVisual(Coordinate coord)
createVisual in class GraphFormcoord - the coordinate the visual object is plotted on.
protected inetsoft.graph.visual.LabelFormVO createFormVO(Object label,
Point2D labelpos)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||