Generated on Thu Nov 2 14:49:41 2006 for Gecode/J by doxygen 1.5.0

org.gecode.gist.swing.UINode Class Reference

Inherits org.gecode.gist.SpaceNode.

List of all members.


Detailed Description

Definition at line 35 of file UINode.java.

Public Member Functions

 UINode (Space root, boolean bab, Statistics stats)
 UINode (int alternative, BestSpace best, Statistics stats)
void mark ()
void unmark ()
void togglemark ()
int getWidth ()
void drawNode (Object graphicsContext, int x, int y)
void move (int xoff)
void connect (Object graphicsContext, int x, int y, int momX, int momY)
SpaceNode createChild (int i)
VisualNode findNodeForPoint (int x, int y)
int getNumberOfChildNodes ()

Protected Member Functions

Shape getUnknownShape ()
Shape getHiddenShape ()

Package Attributes

GraphicsNode gNode
boolean marked = false
boolean hasShadow = false

Static Package Attributes

static final Shape unitShape
static HiddenNode hiddenNode = new HiddenNode()


Constructor & Destructor Documentation

org.gecode.gist.swing.UINode.UINode ( Space  root,
boolean  bab,
Statistics  stats 
)

Definition at line 46 of file UINode.java.

org.gecode.gist.swing.UINode.UINode ( int  alternative,
BestSpace  best,
Statistics  stats 
)

Definition at line 53 of file UINode.java.


Member Function Documentation

void org.gecode.gist.swing.UINode.mark (  ) 

Definition at line 58 of file UINode.java.

void org.gecode.gist.swing.UINode.unmark (  ) 

Definition at line 61 of file UINode.java.

void org.gecode.gist.swing.UINode.togglemark (  ) 

Definition at line 64 of file UINode.java.

int org.gecode.gist.swing.UINode.getWidth (  )  [virtual]

Implements org.gecode.gist.VisualNode.

Definition at line 68 of file UINode.java.

Shape org.gecode.gist.swing.UINode.getUnknownShape (  )  [protected, virtual]

Implements org.gecode.gist.VisualNode.

Definition at line 69 of file UINode.java.

Shape org.gecode.gist.swing.UINode.getHiddenShape (  )  [protected, virtual]

Implements org.gecode.gist.VisualNode.

Definition at line 70 of file UINode.java.

void org.gecode.gist.swing.UINode.drawNode ( Object  graphicsContext,
int  x,
int  y 
) [virtual]

Implements org.gecode.gist.VisualNode.

Definition at line 72 of file UINode.java.

void org.gecode.gist.swing.UINode.move ( int  xoff  ) 

Definition at line 83 of file UINode.java.

void org.gecode.gist.swing.UINode.connect ( Object  graphicsContext,
int  x,
int  y,
int  momX,
int  momY 
) [virtual]

Implements org.gecode.gist.VisualNode.

Definition at line 84 of file UINode.java.

SpaceNode org.gecode.gist.swing.UINode.createChild ( int  i  )  [virtual]

Implements org.gecode.gist.SpaceNode.

Definition at line 96 of file UINode.java.

VisualNode org.gecode.gist.swing.UINode.findNodeForPoint ( int  x,
int  y 
)

Definition at line 100 of file UINode.java.

int org.gecode.gist.swing.UINode.getNumberOfChildNodes (  ) 

Reimplemented from org.gecode.gist.SpaceNode.

Definition at line 115 of file UINode.java.


Member Data Documentation

Initial value:

        new Shape(new Extent(unit), new Shape(new Extent(unit+halfUnit)))

Definition at line 36 of file UINode.java.

Definition at line 39 of file UINode.java.

Definition at line 41 of file UINode.java.

boolean org.gecode.gist.swing.UINode.marked = false [package]

Definition at line 43 of file UINode.java.

boolean org.gecode.gist.swing.UINode.hasShadow = false [package]

Definition at line 44 of file UINode.java.


The documentation for this class was generated from the following file: