daten.BaumKnoten Class Reference

Inheritance diagram for daten.BaumKnoten:

daten.BaumBlatt

List of all members.

Public Member Functions

 BaumKnoten (int id)
int getID ()
Point2D.Double getLage ()
void setLage (Point2D.Double lage)
int getEbene ()
void setEbene (int ebene)
int getAnzahlGeschwister ()
double getWinkelStrecke ()
void setWinkelStrecke (double winkelStrecke)
double getLinkLimit ()
void setLinkLimit (double linkLimit)
double getRechtLimit ()
void setRechtLimit (double rechtLimit)
TreeNode[] getPathToRoot (TreeNode arg0, int arg1)


Detailed Description

this class represents a node in the tree it's also used for holding the position in the graphics

Author:
clemens

johannes


Constructor & Destructor Documentation

daten.BaumKnoten.BaumKnoten ( int  id  ) 

constructor sets the id

Parameters:
id 


Member Function Documentation

int daten.BaumKnoten.getID (  ) 

returns the id

Returns:
ID

Point2D.Double daten.BaumKnoten.getLage (  ) 

returns the position in the graphics

Returns:
lage

void daten.BaumKnoten.setLage ( Point2D.Double  lage  ) 

sets the lage

Parameters:
lage 

int daten.BaumKnoten.getEbene (  ) 

returns the ebene this node refers to

Returns:
ebene

void daten.BaumKnoten.setEbene ( int  ebene  ) 

sets the ebene for this node

Parameters:
ebene 

int daten.BaumKnoten.getAnzahlGeschwister (  ) 

returns the numer of siblings this node has

Returns:
number of siblings

double daten.BaumKnoten.getWinkelStrecke (  ) 

returns the angle

Returns:
winkelstrecke

void daten.BaumKnoten.setWinkelStrecke ( double  winkelStrecke  ) 

sets the angle

Parameters:
winkelStrecke 

double daten.BaumKnoten.getLinkLimit (  ) 

returns the left limit used in the radial tree

Returns:
linklimit

void daten.BaumKnoten.setLinkLimit ( double  linkLimit  ) 

sets the left limit used in the radial tree

Parameters:
linkLimit 

double daten.BaumKnoten.getRechtLimit (  ) 

returns the right limit for the radial tree

Returns:
recht limit

void daten.BaumKnoten.setRechtLimit ( double  rechtLimit  ) 

sets the the right limit for the radial tree

Parameters:
rechtLimit 

TreeNode [] daten.BaumKnoten.getPathToRoot ( TreeNode  arg0,
int  arg1 
)

just calls the super method


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