org.gecode.explorer.VisualNode Class Reference
Inherits org.gecode.explorer.Node.Inherited by org.gecode.explorer.SpaceNode.
Detailed Description
Definition at line 28 of file VisualNode.java.
Public Member Functions | |
| VisualNode () | |
| abstract int | getWidth () |
| void | hide () |
| void | unhide () |
| void | toggleHidden () |
| boolean | isHidden () |
| void | unhideAll () |
| void | dirtyUp () |
| void | layout () |
| boolean | containsCoordinateAtDepth (int x, int depth) |
| VisualNode | findNode (int x, int y, Coordinate coordinate) |
| Coordinate | coordinates () |
| abstract void | drawNode (Object graphicsContext, int x, int y) |
| abstract void | connect (Object graphicsContext, int x, int y, int momX, int momY) |
| void | draw (Object graphicsContext, Rect clippingRect) |
| BoundingBox | getBoundingBox () |
| int | getOffset () |
| void | setOffset (int theOffset) |
| int | getVerticalOffset () |
| boolean | isDirty () |
| void | setDirty (boolean newDirty) |
| int | getHorizontalOffset () |
| void | setBoundingBox (BoundingBox theBoundingBox) |
| void | setShape (Shape theShape) |
| Shape | getShape () |
Static Public Attributes | |
| static int | horizontalOffset = halfUnit |
| static int | verticalOffset = unit + unit |
Protected Member Functions | |
| abstract Shape | getUnknownShape () |
| abstract Shape | getHiddenShape () |
Protected Attributes | |
| int | offset |
Static Protected Attributes | |
| static int | unit = 100 |
| static int | halfUnit = unit / 2 |
Constructor & Destructor Documentation
| org.gecode.explorer.VisualNode.VisualNode | ( | ) |
Definition at line 47 of file VisualNode.java.
Member Function Documentation
| abstract int org.gecode.explorer.VisualNode.getWidth | ( | ) | [pure virtual] |
Implemented in org.gecode.explorer.cocoa.ExplorerNode, and org.gecode.explorer.swing.UINode.
| abstract Shape org.gecode.explorer.VisualNode.getUnknownShape | ( | ) | [protected, pure virtual] |
Implemented in org.gecode.explorer.cocoa.ExplorerNode, and org.gecode.explorer.swing.UINode.
| abstract Shape org.gecode.explorer.VisualNode.getHiddenShape | ( | ) | [protected, pure virtual] |
Implemented in org.gecode.explorer.cocoa.ExplorerNode, and org.gecode.explorer.swing.UINode.
| void org.gecode.explorer.VisualNode.hide | ( | ) |
Definition at line 57 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.unhide | ( | ) |
Definition at line 64 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.toggleHidden | ( | ) |
Definition at line 71 of file VisualNode.java.
| boolean org.gecode.explorer.VisualNode.isHidden | ( | ) |
Definition at line 76 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.unhideAll | ( | ) |
Definition at line 80 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.dirtyUp | ( | ) |
Definition at line 91 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.layout | ( | ) |
Definition at line 101 of file VisualNode.java.
| boolean org.gecode.explorer.VisualNode.containsCoordinateAtDepth | ( | int | x, | |
| int | depth | |||
| ) |
Definition at line 107 of file VisualNode.java.
| VisualNode org.gecode.explorer.VisualNode.findNode | ( | int | x, | |
| int | y, | |||
| Coordinate | coordinate | |||
| ) |
Definition at line 121 of file VisualNode.java.
| Coordinate org.gecode.explorer.VisualNode.coordinates | ( | ) |
Definition at line 147 of file VisualNode.java.
| abstract void org.gecode.explorer.VisualNode.drawNode | ( | Object | graphicsContext, | |
| int | x, | |||
| int | y | |||
| ) | [pure virtual] |
Implemented in org.gecode.explorer.cocoa.ExplorerNode, and org.gecode.explorer.swing.UINode.
| abstract void org.gecode.explorer.VisualNode.connect | ( | Object | graphicsContext, | |
| int | x, | |||
| int | y, | |||
| int | momX, | |||
| int | momY | |||
| ) | [pure virtual] |
Implemented in org.gecode.explorer.cocoa.ExplorerNode, and org.gecode.explorer.swing.UINode.
| void org.gecode.explorer.VisualNode.draw | ( | Object | graphicsContext, | |
| Rect | clippingRect | |||
| ) |
Definition at line 161 of file VisualNode.java.
| BoundingBox org.gecode.explorer.VisualNode.getBoundingBox | ( | ) |
Definition at line 167 of file VisualNode.java.
| int org.gecode.explorer.VisualNode.getOffset | ( | ) |
Definition at line 171 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.setOffset | ( | int | theOffset | ) |
Definition at line 175 of file VisualNode.java.
| int org.gecode.explorer.VisualNode.getVerticalOffset | ( | ) |
Definition at line 179 of file VisualNode.java.
| boolean org.gecode.explorer.VisualNode.isDirty | ( | ) |
Definition at line 183 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.setDirty | ( | boolean | newDirty | ) |
Definition at line 187 of file VisualNode.java.
| int org.gecode.explorer.VisualNode.getHorizontalOffset | ( | ) |
Definition at line 191 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.setBoundingBox | ( | BoundingBox | theBoundingBox | ) |
Definition at line 195 of file VisualNode.java.
| void org.gecode.explorer.VisualNode.setShape | ( | Shape | theShape | ) |
Definition at line 199 of file VisualNode.java.
| Shape org.gecode.explorer.VisualNode.getShape | ( | ) |
Definition at line 203 of file VisualNode.java.
Member Data Documentation
int org.gecode.explorer.VisualNode.unit = 100 [static, protected] |
Definition at line 30 of file VisualNode.java.
int org.gecode.explorer.VisualNode.halfUnit = unit / 2 [static, protected] |
Definition at line 31 of file VisualNode.java.
int org.gecode.explorer.VisualNode.horizontalOffset = halfUnit [static] |
Definition at line 33 of file VisualNode.java.
int org.gecode.explorer.VisualNode.verticalOffset = unit + unit [static] |
Definition at line 34 of file VisualNode.java.
int org.gecode.explorer.VisualNode.offset [protected] |
Definition at line 37 of file VisualNode.java.
The documentation for this class was generated from the following file:
- org/gecode/explorer/VisualNode.java (Revision: 2943)
