|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--norsys.netica.NodeVisual
An object representing the visual aspects of a Netica Object displayed in the Netica Application.
Method Summary | |
double[] |
getPosition()
Retrieves as elements 0 and 1 respectively, the x,y coordinates of the center of this node, as it would appear in a visual display (e.g., in Netica Application). |
void |
setPosition(double x,
double y)
Moves this node so that its center is at coordinates (x, y), for any visual display (e.g., in Netica Application). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public double[] getPosition() throws NeticaException
This is useful when directly programming Netica Application , or before writing a net to a file that will later be read by Netica Application.
Version:
setPosition | Sets it |
public void setPosition(double x, double y) throws NeticaException
getPosition | Retrieve coordinates |
x
- desired horizontal pixel valuey
- desired vertical pixel value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |