|
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.FacetCoord
public class FacetCoord
A facet coordinate is used to create a chart of chart, or nested charts. It is a coordinate with nested coordinates.
| 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 | |
|---|---|
FacetCoord()
Default constructor. |
|
FacetCoord(Coordinate outer,
Coordinate minner)
Create a nested coordinate. |
|
FacetCoord(Coordinate outer,
Coordinate[] minners,
boolean vertical)
Create a nested coordinate. |
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of this object. |
void |
createAxis(VGraph vgraph)
Create axis and other guides for the visual graph. |
boolean |
equalsContent(Object obj)
Check if the coordinate has the same structure as this. |
void |
fit(double x,
double y,
double w,
double h)
Set the screen transformation to fit the graph to the coord bounds. |
inetsoft.graph.guide.axis.Axis[] |
getAxes(boolean recursive)
Get all axes in this coordinate. |
double |
getDepth()
Get the depth for 3D effect coord. |
int |
getDimCount()
Get the number of dimensions in this coordinate. |
Coordinate[][] |
getExpandedInnerCoords()
Expand all nested coordinates into a flat two-dimensional array. |
Color |
getGridColor()
Get the facet grid line color. |
Coordinate[] |
getInnerCoordinates()
Get the inner nested coordinates. |
double |
getIntervalSize(double interval)
Get the interval size in this coordinate space. |
Coordinate |
getOuterCoordinate()
Get the outer coordinate. |
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. |
void |
init(DataSet dset)
Initialize this coordinate for the specified chart data set. |
boolean |
isFacetGrid()
Check if the facet grid is drawn. |
boolean |
isVertical()
Check if inner graphs should be arranged vertically. |
void |
layout(double x,
double y,
double cellw,
double cellh)
Layout (position and size) of inner coordinates. |
void |
setFacetGrid(boolean grid)
Set whether to draw facet grid lines. |
void |
setGridColor(Color gridColor)
Set the facet grid line color. |
void |
setInnerCoordinates(Coordinate[] minners)
Set the inner nested coordinates. |
void |
setOuterCoordinate(Coordinate outer)
Set the outer coordinate. |
void |
setVertical(boolean vertical)
Set whether inner graphs should be arranged vertically. |
void |
setVGraph(VGraph vgraph)
Set the associated VGraph. |
Object |
transformShape(Object shape)
Transform a shape or point to this coordinate space. |
| Methods inherited from class inetsoft.graph.coord.Coordinate |
|---|
getCoordTransform, getDataSet, getMaxHeight, getMaxWidth, getParentCoordinate, getPlotSpec, getScaledCoordTransform, getScaledCoordTransform, getValue, getVGraph, layoutText, reflect, rotate, setCoordTransform, setDataSet, setParentCoordinate, setPlotSpec, transform, 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 FacetCoord()
public FacetCoord(Coordinate outer,
Coordinate minner)
outer - outer coordinate.minner - inner prototype coordinate. It will be cloned to be used
as the coordinate for the sub-graphs.
public FacetCoord(Coordinate outer,
Coordinate[] minners,
boolean vertical)
outer - outer coordinate.minners - inner prototype coordinates. They will be cloned to be used
as the coordinates for the sub-graphs.| Method Detail |
|---|
public void init(DataSet dset)
init in class Coordinatepublic Coordinate[] getInnerCoordinates()
public void setInnerCoordinates(Coordinate[] minners)
public Coordinate getOuterCoordinate()
public void setOuterCoordinate(Coordinate outer)
public Object transformShape(Object shape)
transformShape in class Coordinateshape - a shape or a point to transform.
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 Coordinate[][] getExpandedInnerCoords()
public void createAxis(VGraph vgraph)
createAxis in class Coordinatevgraph - visual graph to create axis.
public void fit(double x,
double y,
double w,
double h)
fit in class Coordinate
public void layout(double x,
double y,
double cellw,
double cellh)
x - the horizontal position.y - the vertical position.cellw - the unit width.cellh - the unit height.public int getDimCount()
public Scale[] getScales()
public boolean isVertical()
public void setVertical(boolean vertical)
public boolean isFacetGrid()
public void setFacetGrid(boolean grid)
grid - true to draw the facet axis lines (if enabled) and
the outer border lines.public Color getGridColor()
public void setGridColor(Color gridColor)
public void setVGraph(VGraph vgraph)
setVGraph in interface inetsoft.graph.internal.ICoordinatesetVGraph in class Coordinatepublic Object clone()
clone in interface inetsoft.graph.internal.ICoordinateclone in class Coordinatepublic inetsoft.graph.guide.axis.Axis[] getAxes(boolean recursive)
getAxes in class AbstractCoordrecursive - true to include axes in nested coordinates.public double getDepth()
public boolean equalsContent(Object obj)
equalsContent in class Coordinate
|
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 | ||||||||