|
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.GeomForm
inetsoft.graph.guide.form.LineForm
public class LineForm
This is a line form guide. It can be used to add one or more lines on a graph.
| Constructor Summary | |
|---|---|
LineForm()
Default constructor. |
|
LineForm(double[] tuple1,
double[] tuple2)
Create a line between the two points. |
|
LineForm(Object[] v1,
Object[] v2)
Create a line between the two points. |
|
LineForm(Point2D pos1,
Point2D pos2)
Create a line between two fixed points. |
|
| Method Summary | |
|---|---|
void |
addPoint(Point2D point)
Add a fixed position point. |
void |
addTuple(double[] tuple)
Add a tuple in scaled tuple values. |
void |
addValues(Object[] tobj)
Add a tuple in unscaled tuple values. |
Visualizable |
createVisual(Coordinate coord)
Create a visual object to visualize this element. |
Visualizable[] |
createVisuals(Coordinate coord)
Create visual objects to visualize this element. |
Point2D |
getPoint(int idx)
Get the specified fixed position point. |
int |
getPointCount()
Get the number of fixed position points. |
double[] |
getTuple(int idx)
Get the tuple (scaled values) for the specified point. |
int |
getTupleCount()
Get the number of tuples. |
Object[] |
getValues(int idx)
Get the unscaled value tuple. |
int |
getValuesCount()
Get the number of value tuples. |
boolean |
isEndArrow()
Check if an arrow should be drawn at the end point. |
boolean |
isStartArrow()
Check if an arrow should be drawn at the starting point. |
void |
setEndArrow(boolean arrow)
Set if an arrow should be drawn at the end point. |
void |
setStartArrow(boolean arrow)
Set if an arrow should be drawn at the starting point. |
| Methods inherited from class inetsoft.graph.guide.form.GeomForm |
|---|
isFill, setFill |
| Methods inherited from class inetsoft.graph.guide.form.GraphForm |
|---|
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 LineForm()
public LineForm(Point2D pos1,
Point2D pos2)
public LineForm(Object[] v1,
Object[] v2)
public LineForm(double[] tuple1,
double[] tuple2)
| Method Detail |
|---|
public Visualizable createVisual(Coordinate coord)
createVisual in class GraphFormcoord - the coordinate the visual object is plotted on.
public Visualizable[] createVisuals(Coordinate coord)
createVisuals in class GraphFormcoord - the coordinate the visual object is plotted on.
public double[] getTuple(int idx)
public int getTupleCount()
public void addTuple(double[] tuple)
public Object[] getValues(int idx)
public int getValuesCount()
public void addValues(Object[] tobj)
public Point2D getPoint(int idx)
public int getPointCount()
public void addPoint(Point2D point)
point - 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 boolean isStartArrow()
public void setStartArrow(boolean arrow)
public boolean isEndArrow()
public void setEndArrow(boolean arrow)
|
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 | ||||||||