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

org.gecode.gist.swing.ChoiceNode Class Reference

Inherits org.gecode.gist.swing.GraphicsNode.

List of all members.


Detailed Description

Definition at line 29 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.gist.swing.ChoiceNode.ChoiceNode (  ) 

Definition at line 34 of file ChoiceNode.java.


Member Function Documentation

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

Implements org.gecode.gist.swing.GraphicsNode.

Definition at line 36 of file ChoiceNode.java.

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

Definition at line 55 of file ChoiceNode.java.

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

Definition at line 65 of file ChoiceNode.java.

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

Implements org.gecode.gist.swing.GraphicsNode.

Definition at line 73 of file ChoiceNode.java.

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

Implements org.gecode.gist.swing.GraphicsNode.

Definition at line 78 of file ChoiceNode.java.


Member Data Documentation

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

Initial value:

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

Definition at line 31 of file ChoiceNode.java.


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