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

org.gecode.gist.cocoa.Node Class Reference

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

List of all members.


Detailed Description

Definition at line 12 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.gist.cocoa.Node.Node (  ) 

Definition at line 30 of file Node.java.


Member Function Documentation

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

abstract NSColor org.gecode.gist.cocoa.Node.getInsideColor (  )  [protected, pure virtual]

abstract NSColor org.gecode.gist.cocoa.Node.getBorderColor (  )  [protected, pure virtual]

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

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

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

Definition at line 32 of file Node.java.

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

Definition at line 39 of file Node.java.

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

Definition at line 53 of file Node.java.

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

Definition at line 57 of file Node.java.

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

Definition at line 61 of file Node.java.


Member Data Documentation

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

Definition at line 14 of file Node.java.

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

Definition at line 15 of file Node.java.

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

Definition at line 17 of file Node.java.

Initial value:

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

Definition at line 19 of file Node.java.


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