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

org.gecode.explorer.cocoa.Node Class Reference

Inherited by org.gecode.explorer.cocoa.ChoiceNode, org.gecode.explorer.cocoa.FailureNode, org.gecode.explorer.cocoa.HiddenSubtreeNode, org.gecode.explorer.cocoa.SolutionNode, and org.gecode.explorer.cocoa.UnknownNode.

List of all members.


Detailed Description

Definition at line 11 of file Node.java.

Public Member Functions

 Node ()
void draw (Object gc, int x, int y)
boolean containsPoint (Coordinate thePoint)

Protected Member Functions

abstract NSBezierPath getBezierPath ()
abstract NSColor getInsideColor ()
abstract NSColor getBorderColor ()
abstract NSPoint getTopConnector ()
abstract NSPoint getBotConnector ()
Shape getHiddenShape ()
Shape getUnknownShape ()

Static Protected Member Functions

static NSColor getDefaultColor (String key)

Static Protected Attributes

final static int unit = 100
final static int halfUnit = unit / 2

Static Package Attributes

static final Shape unknownShape = new Shape(new Extent(unit))
static final Shape hiddenSubtreeShape


Constructor & Destructor Documentation

org.gecode.explorer.cocoa.Node.Node (  ) 

Definition at line 29 of file Node.java.


Member Function Documentation

abstract NSBezierPath org.gecode.explorer.cocoa.Node.getBezierPath (  )  [protected, pure virtual]

abstract NSPoint org.gecode.explorer.cocoa.Node.getTopConnector (  )  [protected, pure virtual]

abstract NSPoint org.gecode.explorer.cocoa.Node.getBotConnector (  )  [protected, pure virtual]

static NSColor org.gecode.explorer.cocoa.Node.getDefaultColor ( String  key  )  [static, protected]

Definition at line 31 of file Node.java.

void org.gecode.explorer.cocoa.Node.draw ( Object  gc,
int  x,
int  y 
)

Definition at line 38 of file Node.java.

Shape org.gecode.explorer.cocoa.Node.getHiddenShape (  )  [protected]

Definition at line 52 of file Node.java.

Shape org.gecode.explorer.cocoa.Node.getUnknownShape (  )  [protected]

Definition at line 56 of file Node.java.

boolean org.gecode.explorer.cocoa.Node.containsPoint ( Coordinate  thePoint  ) 

Definition at line 60 of file Node.java.


Member Data Documentation

final static int org.gecode.explorer.cocoa.Node.unit = 100 [static, protected]

Definition at line 13 of file Node.java.

final static int org.gecode.explorer.cocoa.Node.halfUnit = unit / 2 [static, protected]

Definition at line 14 of file Node.java.

final Shape org.gecode.explorer.cocoa.Node.unknownShape = new Shape(new Extent(unit)) [static, package]

Definition at line 16 of file Node.java.

Initial value:

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

Definition at line 18 of file Node.java.


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