Generated on Fri Oct 6 16:26:47 2006 for Gecode/J by doxygen 1.4.7

org.gecode.explorer.swing.ChoiceNode Class Reference

Inherits org.gecode.explorer.swing.GraphicsNode.

List of all members.


Detailed Description

Definition at line 28 of file ChoiceNode.java.

Public Member Functions

 ChoiceNode ()
void draw (Graphics2D g2, int x, int y, boolean hasShadow)
void move (int xoff)
void connect (Graphics2D g2, int x, int y, int child_x, int child_y)
boolean containsPoint (Coordinate x)

Package Functions

Point getConnector (int x, int y)

Static Package Attributes

static Ellipse2D.Double ellipse


Constructor & Destructor Documentation

org.gecode.explorer.swing.ChoiceNode.ChoiceNode (  ) 

Definition at line 33 of file ChoiceNode.java.


Member Function Documentation

void org.gecode.explorer.swing.ChoiceNode.draw ( Graphics2D  g2,
int  x,
int  y,
boolean  hasShadow 
) [virtual]

Implements org.gecode.explorer.swing.GraphicsNode.

Definition at line 35 of file ChoiceNode.java.

void org.gecode.explorer.swing.ChoiceNode.move ( int  xoff  ) 

Definition at line 54 of file ChoiceNode.java.

void org.gecode.explorer.swing.ChoiceNode.connect ( Graphics2D  g2,
int  x,
int  y,
int  child_x,
int  child_y 
)

Definition at line 64 of file ChoiceNode.java.

Point org.gecode.explorer.swing.ChoiceNode.getConnector ( int  x,
int  y 
) [package, virtual]

Implements org.gecode.explorer.swing.GraphicsNode.

Definition at line 72 of file ChoiceNode.java.

boolean org.gecode.explorer.swing.ChoiceNode.containsPoint ( Coordinate  x  )  [virtual]

Implements org.gecode.explorer.swing.GraphicsNode.

Definition at line 77 of file ChoiceNode.java.


Member Data Documentation

Ellipse2D.Double org.gecode.explorer.swing.ChoiceNode.ellipse [static, package]

Initial value:

 new Ellipse2D.Double(-halfUnit, 0,
                                                           unit, unit)

Definition at line 30 of file ChoiceNode.java.


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