|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.coord.AbstractCoord
inetsoft.graph.coord.Coordinate
inetsoft.graph.coord.RectCoord
public class RectCoord
This is a rectangular 2D coordinate. X scale controls the horizontal position, and Y scale controls the vertical position.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.graph.internal.ICoordinate |
|---|
ALL_MOST, BOTTOM_AXIS, BOTTOM_MOST, LEFT_AXIS, LEFT_MOST, RIGHT_AXIS, RIGHT_MOST, TOP_AXIS, TOP_MOST |
| Constructor Summary | |
|---|---|
RectCoord()
Default constructor. |
|
RectCoord(Scale xscale,
Scale yscale)
Create a two-dimensional rectangular coordinate. |
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of this object. |
protected inetsoft.graph.guide.axis.DefaultAxis |
createAxis(Scale scale,
VGraph vgraph)
Create an axis for a scale. |
void |
createAxis(VGraph vgraph)
Create axis and other guides for the graph. |
void |
fit(double x,
double y,
double w,
double h)
Set the screen transformation to fit the graph to the specified output size. |
inetsoft.graph.guide.axis.Axis[] |
getAxes(boolean recursive)
Get all axes in this coordinate. |
double |
getDepth()
Get 3D depth. |
int |
getDimCount()
Get the number of dimensions in this coordinate. |
double |
getIntervalSize(double interval)
Get the interval size in this coordinate space. |
double |
getMaxHeight()
Get the maximum height of an item in this coordinate without overlapping. |
double |
getMaxWidth()
Get the maximum width of an item in this coordinate without overlapping. |
Point2D |
getPosition(double[] tuple)
Map a tuple (from logic coordinate space) to the chart coordinate space. |
Scale[] |
getScales()
Get the scales used in the coordinate. |
inetsoft.graph.guide.axis.DefaultAxis |
getXAxis1()
Get bottom y axis. |
inetsoft.graph.guide.axis.DefaultAxis |
getXAxis2()
Get top x axis. |
Scale |
getXScale()
Get the x scale used in the coordinate. |
inetsoft.graph.guide.axis.DefaultAxis |
getYAxis1()
Get left y axis. |
inetsoft.graph.guide.axis.DefaultAxis |
getYAxis2()
Get right y axis. |
Scale |
getYScale()
Get the y scale used in the coordinate. |
Scale |
getYScale2()
Get the secondary y scale used in the coordinate. |
void |
setXScale(Scale xscale)
Set the x scale used in the coordinate. |
void |
setYScale(Scale yscale)
Set the y scale used in the coordinate. |
void |
setYScale2(Scale yscale2)
Set the secondary y scale used in the coordinate. |
| Methods inherited from class inetsoft.graph.coord.Coordinate |
|---|
equalsContent, getCoordTransform, getDataSet, getParentCoordinate, getPlotSpec, getScaledCoordTransform, getScaledCoordTransform, getValue, getVGraph, init, layoutText, reflect, rotate, setCoordTransform, setDataSet, setParentCoordinate, setPlotSpec, setVGraph, transform, transformShape, transpose |
| Methods inherited from class inetsoft.graph.coord.AbstractCoord |
|---|
getCoordBounds, setCoordBounds |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.graph.internal.ILayout |
|---|
getMinHeight, getMinWidth, getPreferredHeight, getPreferredWidth |
| Methods inherited from interface inetsoft.graph.internal.ICoordinate |
|---|
getAxesAt, getAxisMinSize, getAxisPreferredSize, getAxisSize, getUnitMinHeight, getUnitMinWidth, getUnitPreferredHeight, getUnitPreferredWidth, isAxisLabelVisible, isAxisTickVisible, setAxisLabelVisible, setAxisSize, setAxisTickVisible |
| Constructor Detail |
|---|
public RectCoord()
public RectCoord(Scale xscale,
Scale yscale)
xscale - x axis scale.yscale - y axis scale.| Method Detail |
|---|
public Point2D getPosition(double[] tuple)
getPosition in class Coordinatetuple - the tuple in logic space (scaled values).
public double getIntervalSize(double interval)
getIntervalSize in class Coordinateinterval - interval value.
public void createAxis(VGraph vgraph)
createAxis in class Coordinatevgraph - visual graph to create axis.
protected inetsoft.graph.guide.axis.DefaultAxis createAxis(Scale scale,
VGraph vgraph)
public void fit(double x,
double y,
double w,
double h)
fit in class Coordinatex - horizontal position.y - vertical position.w - width to scale to.h - height to scale to.public double getMaxWidth()
getMaxWidth in class Coordinatepublic double getMaxHeight()
getMaxHeight in class Coordinatepublic int getDimCount()
public Scale[] getScales()
public Scale getXScale()
public void setXScale(Scale xscale)
public Scale getYScale()
public void setYScale(Scale yscale)
public Scale getYScale2()
public void setYScale2(Scale yscale2)
public Object clone()
clone in interface inetsoft.graph.internal.ICoordinateclone in class Coordinatepublic inetsoft.graph.guide.axis.DefaultAxis getYAxis1()
public inetsoft.graph.guide.axis.DefaultAxis getYAxis2()
public inetsoft.graph.guide.axis.DefaultAxis getXAxis2()
public inetsoft.graph.guide.axis.DefaultAxis getXAxis1()
public inetsoft.graph.guide.axis.Axis[] getAxes(boolean recursive)
getAxes in class AbstractCoordrecursive - true to include axes in nested coordinates.public double getDepth()
|
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 | ||||||||