|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imsl.chart.ChartNode
com.imsl.chart.Axis
The Axis node provides the mapping for all of its children from the user coordinate space to the device (screen) space.
| Field Summary |
| Constructor Summary | |
Axis(Chart chart)
Contructs an Axis node. |
|
| Method Summary | |
abstract void |
mapDeviceToUser(int devX,
int devY,
double[] userXY)
Maps the device coordinates to user coordinates. |
abstract void |
mapUserToDevice(double userX,
double userY,
int[] devXY)
Maps the user coordinates (userX,userY) to the device coordinates devXY. |
void |
paint(Draw draw)
Paints this node and all of its children. |
abstract void |
setupMapping()
Initializes the mappings between user and coordinate space. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Axis(Chart chart)
Axis node. Its parent must be a Chart node. This node's
"Axis" attribute has itself as a value, so that decendent nodes can
easily obtain their controlling axis node.
chart - a Chart object, the parent of this node| Method Detail |
public void paint(Draw draw)
paint in class ChartNodedraw - a Draw object which specifies the chart
tree to be rendered on the screen
public abstract void mapUserToDevice(double userX,
double userY,
int[] devXY)
userX - a double which specifies the user
x-coordinateuserY - a double which specifies the user
y-coordinatedevXY - an int[2] array on input, on output, the
device coordinates
public abstract void mapDeviceToUser(int devX,
int devY,
double[] userXY)
devX - an int which specifies the device
x-coordinatedevY - an int which specifies the device
y-coordinateuserXY - an int[2] array on input, on output, the
user coordinatespublic abstract void setupMapping()
|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||