A B C D E F G H I L M N O P R S T U V W X Y Z

A

ACTION - Static variable in class PrintGame.TagName
 
Action - class PrintGame.Action.
class representing an action
Action(int, int, int) - Constructor for class PrintGame.Action
Standard constructor
ActionRulePanel - class TUGLaby.ActionRulePanel.
 
ActionRulePanel() - Constructor for class TUGLaby.ActionRulePanel
 
ActionRulePanel(String, HashMap) - Constructor for class TUGLaby.ActionRulePanel
 
ActionRulePanel(String, HashMap, int, int, int) - Constructor for class TUGLaby.ActionRulePanel
 
addAction(String) - Method in class TUGLaby.ConditionRulePanel
 
addInstruction(Instruction) - Method in class PrintGame.InstructionList
method adds an instruction at the end of an instruction list.
addInstructionAtPos(int, Instruction) - Method in class PrintGame.InstructionList
method adds an instruction at the specified position to the instruction list.
addNewRule(String) - Method in class TUGLaby.RuleTreePanel
 

B

BLUE - Static variable in class TUGLaby.ConditionChoosePanel
 
BUILDANGLES - Static variable in class PrintGame.TagName
 
BUILDLOOPS - Static variable in class PrintGame.TagName
 
BUILDPLACES - Static variable in class PrintGame.TagName
 
BUILDTREES - Static variable in class PrintGame.TagName
 
BrickPanel - class TUGLaby.BrickPanel.
 
BrickPanel(String, Image, Image, RuleTreePanel) - Constructor for class TUGLaby.BrickPanel
Creates new form JBrickPanel
brick_images_ - Variable in class PrintGame.PrintLabyrinth
 
build_angle_ - Variable in class PrintGame.CreateLabyrinth
 
build_loop_ - Variable in class PrintGame.CreateLabyrinth
 
build_places_ - Variable in class PrintGame.CreateLabyrinth
 
build_tree_ - Variable in class PrintGame.CreateLabyrinth
 

C

CELLMARK - Static variable in class PrintGame.TagName
 
CELL_HEIGHT - Static variable in class PrintGame.PrintLabyrinth
 
CELL_WIDTH - Static variable in class PrintGame.PrintLabyrinth
 
COLS - Static variable in class TUGLaby.TUGLabyrinth
 
CONDITION - Static variable in class PrintGame.TagName
 
CONTAINS_DIAMOND - Static variable in class PrintGame.Cell
 
COUNT_LEVEL_TYPES - Static variable in class TUGLaby.LabyrinthChoosePanel
 
CRAZY - Static variable in class PrintGame.TuringMachine
 
CREATE - Static variable in class PrintGame.TagName
 
Cell - class PrintGame.Cell.
A cell that is used in the labyrinth
Cell() - Constructor for class PrintGame.Cell
find out whether the cell is a wall
Condition - class PrintGame.Condition.
class representing a Condition
Condition(int, int, boolean, boolean, boolean) - Constructor for class PrintGame.Condition
constructor generates a new condition with the specified arguments
ConditionChoosePanel - class TUGLaby.ConditionChoosePanel.
 
ConditionChoosePanel(HashMap) - Constructor for class TUGLaby.ConditionChoosePanel
 
ConditionChoosePanel(HashMap, boolean) - Constructor for class TUGLaby.ConditionChoosePanel
 
ConditionChoosePanel(HashMap, int) - Constructor for class TUGLaby.ConditionChoosePanel
 
ConditionChoosePanel(HashMap, int, boolean) - Constructor for class TUGLaby.ConditionChoosePanel
 
ConditionRulePanel - class TUGLaby.ConditionRulePanel.
 
ConditionRulePanel() - Constructor for class TUGLaby.ConditionRulePanel
 
ConditionRulePanel(int, RuleTreePanel, HashMap) - Constructor for class TUGLaby.ConditionRulePanel
 
ConditionRulePanel(int, RuleTreePanel, HashMap, int, int, int, int, int, int, int, int) - Constructor for class TUGLaby.ConditionRulePanel
This constructor is just for loading predefined rules <
ConditionRulePanel.DropRuleListener - class TUGLaby.ConditionRulePanel.DropRuleListener.
 
ConditionRulePanel.DropRuleListener() - Constructor for class TUGLaby.ConditionRulePanel.DropRuleListener
 
CreateLabyrinth - class PrintGame.CreateLabyrinth.
class representing a two dimensional labyrinth
CreateLabyrinth(LabyrinthField) - Constructor for class PrintGame.CreateLabyrinth
Standard constructor
CurrentSensorPanel - class TUGLaby.CurrentSensorPanel.
 
CurrentSensorPanel(HashMap) - Constructor for class TUGLaby.CurrentSensorPanel
 
CurrentSensorPanel(HashMap, int) - Constructor for class TUGLaby.CurrentSensorPanel
 
calculateWays() - Method in class PrintGame.CreateLabyrinth
 
cell_mark_ - Variable in class PrintGame.Action
 
cell_mark_ - Variable in class PrintGame.Cell
 
cell_mark_ - Variable in class PrintGame.Condition
 
characters(char[], int, int) - Method in class PrintGame.GameXMLContentHandler
----------------------------------------------------------------------------- Receive notification of character data inside an element.
characters(char[], int, int) - Method in class PrintGame.LabyrinthXMLContentHandler
----------------------------------------------------------------------------- Receive notification of character data inside an element.
checkCellIsStartpoint() - Method in class PrintGame.TuringMachine
method checks if the robot's position is the startpoint.
clone() - Method in class PrintGame.LabyrinthField
This is used to make a copy of the whole object, but unlike what one would expect from a clone() method, this one does a deep copy!
cls - Variable in class PrintGame.LabyrinthField
 
col_ - Variable in class PrintGame.CreateLabyrinth
 
cols_ - Variable in class PrintGame.LevelParam
 
containsDiamond() - Method in class PrintGame.Cell
find out whether the cell contains a diamand
containsDiamond(int, int) - Method in class PrintGame.LabyrinthField
 
convertLabyrinthData() - Method in class PrintGame.LabyrinthXMLContentHandler
----------------------------------------------------------------------------- Generates a twodimensional character-array which is an ASCII representation of the labyrinthfield.
convertToStartpoint() - Method in class PrintGame.Cell
covert a cell to a startpoint
convertToStartpoint(int, int) - Method in class PrintGame.LabyrinthField
 
convertToWall() - Method in class PrintGame.Cell
covert a way or a empty cell to wall
convertToWall(int, int) - Method in class PrintGame.LabyrinthField
 
convertToWay() - Method in class PrintGame.Cell
covert a cell to a way
convertToWay(int, int) - Method in class PrintGame.LabyrinthField
 
createInstructList() - Method in class TUGLaby.TUGLabyrinth
 
create_labyrinth_ - Variable in class PrintGame.LoadLabyrinth
 
create_labyrinth_ - Static variable in class TUGLaby.TUGLabyrinth
ADDED FROM PrintGame *********************************************************

D

DEFAULTLEVEl - Static variable in class PrintGame.TagName
 
DIAMONDPICTURE - Static variable in class PrintGame.TagName
 
DIAMONDS - Static variable in class PrintGame.TagName
 
DIAMONDSYMBOL - Static variable in class PrintGame.LabSymbols
 
DIAMONDSYMBOL - Static variable in class PrintGame.TagName
 
DIMENSION - Static variable in class PrintGame.TagName
 
DIRECTION_DOWN - Static variable in class PrintGame.Direction
 
DIRECTION_LEFT - Static variable in class PrintGame.Direction
 
DIRECTION_RIGHT - Static variable in class PrintGame.Direction
 
DIRECTION_UP - Static variable in class PrintGame.Direction
 
DIR_DOWN - Static variable in class PrintGame.Direction
 
DIR_LEFT - Static variable in class PrintGame.Direction
 
DIR_RIGHT - Static variable in class PrintGame.Direction
 
DIR_UP - Static variable in class PrintGame.Direction
 
DOWN - Static variable in class TUGLaby.DirectionChoosePanel
 
Direction - class PrintGame.Direction.
class representing a direction and provides constants for using and writing directions
Direction() - Constructor for class PrintGame.Direction
constructor sets the direction to a non legal value and creates a new random generator
Direction(Direction) - Constructor for class PrintGame.Direction
 
DirectionChoosePanel - class TUGLaby.DirectionChoosePanel.
 
DirectionChoosePanel(HashMap) - Constructor for class TUGLaby.DirectionChoosePanel
 
DirectionChoosePanel(HashMap, int) - Constructor for class TUGLaby.DirectionChoosePanel
 
deleteRule(int) - Method in class TUGLaby.RuleTreePanel
This methode deletes the rule given by id from the list and repaints the viewport
direction_ - Variable in class PrintGame.Direction
current direction
dragEnter(DropTargetDragEvent) - Method in class TUGLaby.ConditionRulePanel.DropRuleListener
start "drag under" feedback on component invoke acceptDrag or rejectDrag based on isDragOk
dragEnter(DropTargetDragEvent) - Method in class TUGLaby.RuleTreePanel.DropRuleListener
start "drag under" feedback on component invoke acceptDrag or rejectDrag based on isDragOk
dragExit(DropTargetEvent) - Method in class TUGLaby.ConditionRulePanel.DropRuleListener
 
dragExit(DropTargetEvent) - Method in class TUGLaby.RuleTreePanel.DropRuleListener
 
dragOver(DropTargetDragEvent) - Method in class TUGLaby.ConditionRulePanel.DropRuleListener
continue "drag under" feedback on component invoke acceptDrag or rejectDrag based on isDragOk
dragOver(DropTargetDragEvent) - Method in class TUGLaby.RuleTreePanel.DropRuleListener
continue "drag under" feedback on component invoke acceptDrag or rejectDrag based on isDragOk
drawNewLabyrinth() - Method in class TUGLaby.TUGLabyrinth
This methods job is to generate a new labyrinth.
drawRules() - Method in class TUGLaby.RuleTreePanel
This code generates new rule visual
drop(DropTargetDropEvent) - Method in class TUGLaby.ConditionRulePanel.DropRuleListener
perform action from getSourceActions on the transferrable invoke acceptDrop or rejectDrop invoke dropComplete if its a local (same JVM) transfer, use StringTransferable.localStringFlavor find a match for the flavor check the operation get the transferable according to the chosen flavor do the transfer
drop(DropTargetDropEvent) - Method in class TUGLaby.RuleTreePanel.DropRuleListener
perform action from getSourceActions on the transferrable invoke acceptDrop or rejectDrop invoke dropComplete if its a local (same JVM) transfer, use StringTransferable.localStringFlavor find a match for the flavor check the operation get the transferable according to the chosen flavor do the transfer
dropActionChanged(DropTargetDragEvent) - Method in class TUGLaby.ConditionRulePanel.DropRuleListener
 
dropActionChanged(DropTargetDragEvent) - Method in class TUGLaby.RuleTreePanel.DropRuleListener
 

E

EMPTY - Static variable in class PrintGame.Cell
 
EMPTYSYMBOL - Static variable in class PrintGame.LabSymbols
 
EMPTY_FLOOR - Static variable in class TUGLaby.CurrentSensorPanel
 
endDocument() - Method in class PrintGame.GameXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the end of the document.
endDocument() - Method in class PrintGame.LabyrinthXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the end of the document.
endElement(String, String, String) - Method in class PrintGame.GameXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the end of an element.
endElement(String, String, String) - Method in class PrintGame.LabyrinthXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the end of an element.
equals(Condition) - Method in class PrintGame.Condition
method compares 2 conditions and returns true if they are equal.
error(SAXParseException) - Method in class PrintGame.XMLErrorHandler
 

F

FASTFORWARD - Static variable in class PrintGame.TuringMachine
 
FILE - Static variable in class PrintGame.TagName
 
FLOOR_0 - Static variable in class TUGLaby.CurrentSensorPanel
 
FLOOR_1 - Static variable in class TUGLaby.CurrentSensorPanel
 
FLOOR_2 - Static variable in class TUGLaby.CurrentSensorPanel
 
FLOOR_3 - Static variable in class TUGLaby.CurrentSensorPanel
 
FREE - Static variable in class TUGLaby.SensorChoosePanel
 
Field - class PrintGame.Field.
Implementation of a two dimensional field
Field(int, int) - Constructor for class PrintGame.Field
standard constructor
fatalError(SAXParseException) - Method in class PrintGame.XMLErrorHandler
 
field_ - Variable in class PrintGame.Field
 
file_name_ - Variable in class TUGLaby.TUGLabyrinth
 
findRandomWayCoordinates(LabyrinthField) - Method in class PrintGame.RandomWayCoordinates
 

G

GREEN - Static variable in class TUGLaby.ConditionChoosePanel
 
GameXMLContentHandler - class PrintGame.GameXMLContentHandler.
 
GameXMLContentHandler() - Constructor for class PrintGame.GameXMLContentHandler
 
GetState() - Method in class PrintGame.Action
 
getAction() - Method in class PrintGame.Instruction
 
getAction() - Method in class TUGLaby.ActionRulePanel
 
getBuildAngles() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getBuildLoops() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getBuildPlaces() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getBuildTrees() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getCellMark() - Method in class PrintGame.Action
method returns the value of the cell mark
getCellMark() - Method in class PrintGame.Cell
 
getCellMark() - Method in class PrintGame.Condition
 
getCellMark(int, int) - Method in class PrintGame.LabyrinthField
 
getCondition() - Method in class PrintGame.Instruction
 
getCurrentDirection() - Method in class PrintGame.Robot
 
getCurrentSelected() - Method in class TUGLaby.LabyrinthChoosePanel
 
getDiamondPicture() - Method in class PrintGame.GameXMLContentHandler
 
getDiamondPicture() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getDiamondPicture() - Method in class PrintGame.LevelHandler
 
getDiamondPicture() - Method in class PrintGame.LoadLabyrinth
 
getDiamondSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getDirection() - Method in class PrintGame.Direction
method returns the current direction
getFieldConditions() - Method in class PrintGame.TuringMachine
method returns the conditions of robot's environment
getFile(int) - Method in class PrintGame.GameXMLContentHandler
 
getHeight() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getID() - Method in class TUGLaby.ConditionRulePanel
 
getInstruction() - Method in class TUGLaby.ConditionRulePanel
 
getInstructionAtPos(int) - Method in class PrintGame.InstructionList
method gets an instruction at the specified position in the instruction list.
getInstructionFileName() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getIntRandomValue(int, int) - Method in class PrintGame.CreateLabyrinth
 
getIntRandomValue(int, int) - Method in class PrintGame.RandomWayCoordinates
 
getInternalState() - Method in class TUGLaby.ConditionChoosePanel
 
getInternalState() - Method in class TUGLaby.CurrentSensorPanel
 
getInternalState() - Method in class TUGLaby.DirectionChoosePanel
 
getInternalState() - Method in class TUGLaby.SensorChoosePanel
 
getLabyrinth() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getLabyrinthField() - Method in class PrintGame.CreateLabyrinth
 
getLabyrinthField() - Method in class PrintGame.LevelHandler
 
getLabyrinthField() - Method in class PrintGame.LoadLabyrinth
 
getLevelName() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getMaxWayLenght() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getMinWayLenght() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getMovingDirection() - Method in class PrintGame.Action
method returns a relative direction.
getName() - Method in class PrintGame.LabyrinthField
 
getNumCols() - Method in class PrintGame.Field
returns the number of allocated columns
getNumDiamonds() - Method in class PrintGame.LabyrinthField
 
getNumDiamonds() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getNumLevels() - Method in class PrintGame.GameXMLContentHandler
 
getNumLevels() - Method in class PrintGame.LevelHandler
 
getNumRows() - Method in class PrintGame.Field
returns the number of allocated rows
getNumSteps() - Method in class PrintGame.TuringMachine
 
getNumTakenDiamonds() - Method in class PrintGame.TuringMachine
 
getNumWallCells() - Method in class PrintGame.LabyrinthField
 
getNumWayCells() - Method in class PrintGame.LabyrinthField
 
getNumWayCells() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getOneSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getPosCol() - Method in class PrintGame.Robot
 
getPosRow() - Method in class PrintGame.Robot
 
getPreferredScrollableViewportSize() - Method in class TUGLaby.RuleTreePanel
 
getRandomWayColCoordinate() - Method in class PrintGame.RandomWayCoordinates
 
getRandomWayRowCoordinate() - Method in class PrintGame.RandomWayCoordinates
 
getRobotPicture() - Method in class PrintGame.GameXMLContentHandler
 
getRobotPicture() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getRobotPicture() - Method in class PrintGame.LevelHandler
 
getRobotPicture() - Method in class PrintGame.LoadLabyrinth
 
getRuleList() - Method in class TUGLaby.RuleTreePanel
 
getScrollableBlockIncrement(Rectangle, int, int) - Method in class TUGLaby.RuleTreePanel
 
getScrollableTracksViewportHeight() - Method in class TUGLaby.RuleTreePanel
 
getScrollableTracksViewportWidth() - Method in class TUGLaby.RuleTreePanel
 
getScrollableUnitIncrement(Rectangle, int, int) - Method in class TUGLaby.RuleTreePanel
 
getStartDirection() - Method in class PrintGame.LabyrinthField
 
getStartDirection() - Method in class PrintGame.Robot
 
getStartPicture() - Method in class PrintGame.GameXMLContentHandler
 
getStartPicture() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getStartPicture() - Method in class PrintGame.LevelHandler
 
getStartPicture() - Method in class PrintGame.LoadLabyrinth
 
getStartSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getStartingDirection() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getStartpointCol() - Method in class PrintGame.LabyrinthField
 
getStartpointRow() - Method in class PrintGame.LabyrinthField
 
getState() - Method in class PrintGame.Condition
 
getState() - Method in class PrintGame.Robot
method returns the mark new_area_
getThreeSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getTwoSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getWallPicture() - Method in class PrintGame.GameXMLContentHandler
 
getWallPicture() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getWallPicture() - Method in class PrintGame.LevelHandler
 
getWallPicture() - Method in class PrintGame.LoadLabyrinth
 
getWallSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getWayPicture() - Method in class PrintGame.GameXMLContentHandler
 
getWayPicture() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getWayPicture() - Method in class PrintGame.LevelHandler
 
getWayPicture() - Method in class PrintGame.LoadLabyrinth
 
getWaySymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getWidth() - Method in class PrintGame.LabyrinthXMLContentHandler
 
getZeroSymbol() - Method in class PrintGame.LabyrinthXMLContentHandler
 
goBack() - Method in class PrintGame.Robot
method to move a robot one cell back (relative to his current direction)
goLeft() - Method in class PrintGame.Robot
method to move a robot one cell left (relative to his current direction)
goRight() - Method in class PrintGame.Robot
method to move a robot one cell right (relative to his current direction)

H

HEIGHT - Static variable in class PrintGame.TagName
 
HelpWindow - class TUGLaby.HelpWindow.
 
HelpWindow(URL) - Constructor for class TUGLaby.HelpWindow
 

I

INSTRUCTION - Static variable in class PrintGame.TagName
 
INSTRUCTIONFILE - Static variable in class PrintGame.TagName
 
INSTRUCTIONLIST - Static variable in class PrintGame.TagName
 
IllegalDirectionException - exception PrintGame.IllegalDirectionException.
 
Instruction - class PrintGame.Instruction.
----------------------------------------------------------------------------- class representing an Instruction which consists of one Condition and one Action.
Instruction(Condition, Action) - Constructor for class PrintGame.Instruction
 
InstructionList - class PrintGame.InstructionList.
class represting a List of instructions which are excecuted by the turing machine.
InstructionList() - Constructor for class PrintGame.InstructionList
 
img_cellmark0_ - Variable in class PrintGame.PrintLabyrinth
 
img_cellmark1_ - Variable in class PrintGame.PrintLabyrinth
 
img_cellmark2_ - Variable in class PrintGame.PrintLabyrinth
 
img_cellmark3_ - Variable in class PrintGame.PrintLabyrinth
 
img_diamond_ - Variable in class PrintGame.PrintLabyrinth
 
img_robot_ - Variable in class PrintGame.PrintLabyrinth
 
img_wall_ - Variable in class PrintGame.PrintLabyrinth
 
img_way_ - Variable in class PrintGame.PrintLabyrinth
 
in - Variable in class TUGLaby.TUGLabyrinth
 
init() - Method in class TUGLaby.TUGLabyrinth
Initializes the applet JApplet Draws the applet and some of its buttons.
instruct_list_ - Variable in class TUGLaby.TUGLabyrinth
 
invertDirection() - Method in class PrintGame.Direction
method turns the direction around 180°
isCreateLabyrinth() - Method in class PrintGame.LabyrinthXMLContentHandler
 
isEmpty() - Method in class PrintGame.Cell
 
isEmpty(int, int) - Method in class PrintGame.LabyrinthField
 
isFinished() - Method in class PrintGame.TuringMachine
 
isInstructionList() - Method in class PrintGame.LabyrinthXMLContentHandler
 
isLegalDirection(int) - Method in class PrintGame.Direction
method detects whether the direction is legal or not
isLoadLabyrinth() - Method in class PrintGame.LabyrinthXMLContentHandler
 
isStartDirection() - Method in class PrintGame.LabyrinthField
 
isStartpoint() - Method in class PrintGame.Cell
find out whether the cell is a startpoint
isStartpoint(int, int) - Method in class PrintGame.LabyrinthField
 
isStartpoint() - Method in class PrintGame.LabyrinthField
 
isStyle() - Method in class PrintGame.LabyrinthXMLContentHandler
 
isStyle() - Method in class PrintGame.LoadLabyrinth
 
isWall() - Method in class PrintGame.Cell
find out whether the cell is a wall
isWall(int, int) - Method in class PrintGame.LabyrinthField
 
isWallAhead() - Method in class PrintGame.Condition
 
isWallLeft() - Method in class PrintGame.Condition
 
isWallRight() - Method in class PrintGame.Condition
 
isWay() - Method in class PrintGame.Cell
find out whether the cell is a way
isWay(int, int) - Method in class PrintGame.LabyrinthField
 
isXMLError() - Method in class PrintGame.LabyrinthXMLContentHandler
 
isXMLError() - Method in class PrintGame.XMLErrorHandler
 

L

LABYRINTH - Static variable in class PrintGame.TagName
 
LABYRINTHFIELD - Static variable in class PrintGame.TagName
 
LABYRINTHGAME - Static variable in class PrintGame.TagName
 
LABYRINTHINSTRUCTION - Static variable in class PrintGame.TagName
 
LABYRINTHLEVEL - Static variable in class PrintGame.TagName
 
LEFT - Static variable in class TUGLaby.DirectionChoosePanel
 
LEVEL - Static variable in class PrintGame.TagName
 
LEVELS - Static variable in class PrintGame.TagName
 
LabSymbols - class PrintGame.LabSymbols.
Contains the used symbols for labyrinth cells.
LabSymbols() - Constructor for class PrintGame.LabSymbols
 
LabyrinthChoosePanel - class TUGLaby.LabyrinthChoosePanel.
Contains the RadioButtons shown in the GUI, used to determine a level.
LabyrinthChoosePanel(int, TUGLabyrinth) - Constructor for class TUGLaby.LabyrinthChoosePanel
This is the RadioButton field, used to choose one of the levels
LabyrinthField - class PrintGame.LabyrinthField.
class representing a two dimensional labyrinth
LabyrinthField(int, int) - Constructor for class PrintGame.LabyrinthField
Standard constructor
LabyrinthXMLContentHandler - class PrintGame.LabyrinthXMLContentHandler.
 
LabyrinthXMLContentHandler() - Constructor for class PrintGame.LabyrinthXMLContentHandler
 
LevelHandler - class PrintGame.LevelHandler.
 
LevelHandler() - Constructor for class PrintGame.LevelHandler
 
LevelParam - class PrintGame.LevelParam.
 
LevelParam() - Constructor for class PrintGame.LevelParam
 
LoadLabyrinth - class PrintGame.LoadLabyrinth.
class representing a two dimensional labyrinth
LoadLabyrinth(LoadLabyrinth) - Constructor for class PrintGame.LoadLabyrinth
 
LoadLabyrinth(String, URL) - Constructor for class PrintGame.LoadLabyrinth
Standard constructor
labyrinth_field_ - Variable in class PrintGame.CreateLabyrinth
 
labyrinth_field_ - Variable in class PrintGame.LoadLabyrinth
 
labyrinth_field_ - Variable in class PrintGame.PrintLabyrinth
 
labyrinth_field_ - Static variable in class TUGLaby.TUGLabyrinth
 
labyrinth_xml_content_handler_ - Variable in class PrintGame.LoadLabyrinth
 
level_handler_ - Static variable in class TUGLaby.TUGLabyrinth
 
level_type_ - Variable in class TUGLaby.TUGLabyrinth
 
line_ - Variable in class PrintGame.TxtParser
 
loadGameXmlFile(String) - Method in class PrintGame.LevelHandler
 
loadLevel(int, boolean) - Method in class PrintGame.LevelHandler
loadLevel is used to fill load_labyrinth_ with a LoadLabyrinth object which can be either a new one or a copy of the last one.
loops_ - Variable in class PrintGame.CreateLabyrinth
 

M

MAXWAYLENGHT - Static variable in class PrintGame.TagName
 
MINWAYLENGHT - Static variable in class PrintGame.TagName
 
MOVE_AHEAD - Static variable in class PrintGame.Action
 
MOVE_BACK - Static variable in class PrintGame.Action
 
MOVE_LEFT - Static variable in class PrintGame.Action
 
MOVE_RIGHT - Static variable in class PrintGame.Action
 
MOVINGDIRECTION - Static variable in class PrintGame.TagName
 
max_col_ - Variable in class PrintGame.CreateLabyrinth
the max number of cols max_col_=cols-1
max_col_ - Variable in class PrintGame.LoadLabyrinth
the max number of cols max_col_=cols-1
max_loops_ - Variable in class PrintGame.CreateLabyrinth
 
max_row_ - Variable in class PrintGame.CreateLabyrinth
the max number of rows max_row_=rows-1
max_row_ - Variable in class PrintGame.LoadLabyrinth
the max number of rows max_row_=rows-1
max_way_lenght_ - Variable in class PrintGame.CreateLabyrinth
 
min_way_lenght_ - Variable in class PrintGame.CreateLabyrinth
 
mouseClicked(MouseEvent) - Method in class TUGLaby.LabyrinthChoosePanel
 
mouseEntered(MouseEvent) - Method in class TUGLaby.LabyrinthChoosePanel
 
mouseExited(MouseEvent) - Method in class TUGLaby.LabyrinthChoosePanel
 
mousePressed(MouseEvent) - Method in class TUGLaby.LabyrinthChoosePanel
 
mouseReleased(MouseEvent) - Method in class TUGLaby.LabyrinthChoosePanel
 
moveForward() - Method in class PrintGame.Robot
method to move a robot one cell forward (relative to his current direction)
moveInDirection(Direction) - Method in class PrintGame.Robot
internal method to move a robot one cell to the given direction.
moving_direction_ - Variable in class PrintGame.Action
 

N

NAME - Static variable in class PrintGame.TagName
 
NONE - Static variable in class TUGLaby.ConditionChoosePanel
 
NORMAL - Static variable in class PrintGame.TuringMachine
 
NUMBER - Static variable in class PrintGame.TagName
 
NUMLEVELS - Static variable in class PrintGame.TagName
 
name_ - Variable in class PrintGame.LabyrinthField
 
new_point_ - Variable in class PrintGame.CreateLabyrinth
 
num_diamonds_ - Variable in class PrintGame.CreateLabyrinth
the number of diamonds distributed in the field (set from outside of the class with the appropriate method-calls
num_diamonds_ - Variable in class PrintGame.LabyrinthField
the number of diamonds distributed in the field (set from outside of the class with the appropriate method-calls
num_diamonds_ - Variable in class PrintGame.LevelParam
 
num_wall_cells_ - Variable in class PrintGame.LabyrinthField
the number of none way cells e.g.way cells (set from outside of the class with the appropriate method-calls
num_way_cells_ - Variable in class PrintGame.CreateLabyrinth
the number of way cells distributed in the field (set from outside of the class with the appropriate method-calls
num_way_cells_ - Variable in class PrintGame.LabyrinthField
the number of way cells distributed in the field (set from outside of the class with the appropriate method-calls

O

ONESYMBOL - Static variable in class PrintGame.TagName
 

P

PrintGame - package PrintGame
 
PrintLabyrinth - class PrintGame.PrintLabyrinth.
 
PrintLabyrinth(HashMap, Robot, LabyrinthField) - Constructor for class PrintGame.PrintLabyrinth
 
paintComponent(Graphics) - Method in class PrintGame.PrintLabyrinth
 
paintComponent(Graphics) - Method in class TUGLaby.BrickPanel
 
paintComponent(Graphics) - Method in class TUGLaby.ConditionChoosePanel
 
paintComponent(Graphics) - Method in class TUGLaby.CurrentSensorPanel
 
paintComponent(Graphics) - Method in class TUGLaby.DirectionChoosePanel
 
paintComponent(Graphics) - Method in class TUGLaby.SensorChoosePanel
 
parseLine(String) - Method in class PrintGame.TxtParser
 
parser_ - Variable in class TUGLaby.TUGLabyrinth
 
performAction(Action) - Method in class PrintGame.TuringMachine
method performes the given action and checks if the robot crashes
print_labyrinth_ - Variable in class TUGLaby.TUGLabyrinth
 

R

RED - Static variable in class TUGLaby.ConditionChoosePanel
 
RIGHT - Static variable in class TUGLaby.DirectionChoosePanel
 
ROBOTPICTURE - Static variable in class PrintGame.TagName
 
ROWS - Static variable in class TUGLaby.TUGLabyrinth
 
RandomWayCoordinates - class PrintGame.RandomWayCoordinates.
class representing a two dimensional labyrinth
RandomWayCoordinates(int, int) - Constructor for class PrintGame.RandomWayCoordinates
 
Robot - class PrintGame.Robot.
class representing a Robot.
Robot() - Constructor for class PrintGame.Robot
standard constructor
RuleTreePanel - class TUGLaby.RuleTreePanel.
 
RuleTreePanel(HashMap) - Constructor for class TUGLaby.RuleTreePanel
Creates new form RuleTreePanel
RuleTreePanel.DropRuleListener - class TUGLaby.RuleTreePanel.DropRuleListener.
 
RuleTreePanel.DropRuleListener() - Constructor for class TUGLaby.RuleTreePanel.DropRuleListener
 
RulesBrickPanel - class TUGLaby.RulesBrickPanel.
 
RulesBrickPanel(HashMap, RuleTreePanel) - Constructor for class TUGLaby.RulesBrickPanel
Creates a new instance of RulesBrickPanel
random_generator_ - Variable in class PrintGame.CreateLabyrinth
 
random_generator_ - Static variable in class PrintGame.Direction
static random generator for generating random directions
randomizeDirection() - Method in class PrintGame.Direction
method generates a new direction - every direction is possible
randomizeNextDirection() - Method in class PrintGame.Direction
method generates a new direction but not the invertet direction
randomwaycoordinates_ - Variable in class PrintGame.CreateLabyrinth
 
ready_to_run_ - Variable in class TUGLaby.TUGLabyrinth
 
redrawLabyrinth - Variable in class TUGLaby.TUGLabyrinth
 
removeDiamond() - Method in class PrintGame.Cell
remove a diamond
removeDiamond(int, int) - Method in class PrintGame.LabyrinthField
 
removeInstructionAtPos(int) - Method in class PrintGame.InstructionList
method removes the instruction at the specified position.
removeStartpoint() - Method in class PrintGame.Cell
remove a startpoint
removeStartpoint(int, int) - Method in class PrintGame.LabyrinthField
 
resetAll() - Method in class PrintGame.Cell
resets the cell including status
robot_ - Variable in class PrintGame.PrintLabyrinth
 
robot_ - Static variable in class TUGLaby.TUGLabyrinth
 
row_ - Variable in class PrintGame.CreateLabyrinth
 
rows_ - Variable in class PrintGame.LevelParam
 
run(Component) - Method in class PrintGame.TuringMachine
method processes an instruction list
run() - Method in class TUGLaby.TUGLabyrinth
Used to start a new thread and intended to be called from the start button's action listener defined in init()
runSingleStep(Component) - Method in class PrintGame.TuringMachine
 
rws - Variable in class PrintGame.LabyrinthField
 

S

SINGLE_STEP - Static variable in class PrintGame.TuringMachine
 
STARTDIRECTION - Static variable in class PrintGame.TagName
 
STARTPICTURE - Static variable in class PrintGame.TagName
 
STARTPOINT - Static variable in class PrintGame.Cell
 
STARTSYMBOL - Static variable in class PrintGame.LabSymbols
 
STARTSYMBOL - Static variable in class PrintGame.TagName
 
STATE - Static variable in class PrintGame.TagName
 
STATE_COUNT - Static variable in class TUGLaby.ConditionChoosePanel
 
STATE_COUNT - Static variable in class TUGLaby.CurrentSensorPanel
 
STATE_COUNT - Static variable in class TUGLaby.DirectionChoosePanel
 
STYLE - Static variable in class PrintGame.TagName
 
SensorChoosePanel - class TUGLaby.SensorChoosePanel.
 
SensorChoosePanel(HashMap) - Constructor for class TUGLaby.SensorChoosePanel
 
SensorChoosePanel(HashMap, int) - Constructor for class TUGLaby.SensorChoosePanel
 
setAction(Action) - Method in class PrintGame.Instruction
 
setBrickType(String) - Method in class TUGLaby.BrickPanel
Set a new bricktype
setBuildAngles(int) - Method in class PrintGame.CreateLabyrinth
 
setBuildLoops(int) - Method in class PrintGame.CreateLabyrinth
 
setBuildPlaces(int) - Method in class PrintGame.CreateLabyrinth
 
setBuildTrees(int) - Method in class PrintGame.CreateLabyrinth
 
setCellMark(int) - Method in class PrintGame.Action
method sets the value of cell mark
setCellMark(int) - Method in class PrintGame.Cell
 
setCellMark(int) - Method in class PrintGame.Condition
method sets the cell mark
setCellMark(int, int, int) - Method in class PrintGame.LabyrinthField
Sets one of the numbers {0,1,2,3} to the cell.
setCondition(Condition) - Method in class PrintGame.Instruction
 
setDefaultImage(Image) - Method in class TUGLaby.BrickPanel
Set an new default image
setDiamond() - Method in class PrintGame.Cell
set a diamand
setDiamond(int, int) - Method in class PrintGame.LabyrinthField
 
setDiamonds() - Method in class PrintGame.CreateLabyrinth
 
setDirection(int) - Method in class PrintGame.Direction
method to set the current direction
setDocument(String) - Method in class PrintGame.LabyrinthXMLContentHandler
 
setDocumentBase(URL) - Method in class PrintGame.GameXMLContentHandler
 
setDocumentBase(URL) - Method in class PrintGame.LabyrinthXMLContentHandler
 
setDocumentBase(URL) - Method in class PrintGame.LevelHandler
 
setEmpty() - Method in class PrintGame.Cell
 
setEmpty(int, int) - Method in class PrintGame.LabyrinthField
 
setInstructionList(InstructionList) - Method in class PrintGame.TuringMachine
 
setLabyrinthField(LabyrinthField) - Method in class PrintGame.PrintLabyrinth
 
setLabyrinthField(LabyrinthField) - Method in class PrintGame.TuringMachine
 
setMaxUnitIncrement(int) - Method in class TUGLaby.RuleTreePanel
 
setMaxWayLenght(int) - Method in class PrintGame.CreateLabyrinth
 
setMinWayLenght(int) - Method in class PrintGame.CreateLabyrinth
 
setMode(int) - Method in class PrintGame.TuringMachine
 
setMovingDirection(int) - Method in class PrintGame.Action
method sets a relative direction used to move the robot.
setName(String) - Method in class PrintGame.LabyrinthField
 
setNumDiamonds(int) - Method in class PrintGame.CreateLabyrinth
method called from the outside to set the number of diamonds distributed in this labyrinthfield.
setNumNextSteps(int) - Method in class PrintGame.TuringMachine
 
setNumWayCells(int) - Method in class PrintGame.CreateLabyrinth
method called from the outside to set the number of way cells distributed in this labyrinthfield.
setPos(int, int) - Method in class PrintGame.Robot
 
setRobot(Robot) - Method in class PrintGame.PrintLabyrinth
 
setRobot(Robot) - Method in class PrintGame.TuringMachine
 
setStartDirection(Direction) - Method in class PrintGame.LabyrinthField
 
setStartDirection(Direction) - Method in class PrintGame.Robot
 
setState(int) - Method in class PrintGame.Action
-----------------------------------------------------------------------------
setState(int) - Method in class PrintGame.Condition
 
setState(int) - Method in class PrintGame.Robot
 
setWalls(boolean, boolean, boolean) - Method in class PrintGame.Condition
method sets if the cells in field of vision of the robot are ways or walls
showHelpWindow() - Method in class TUGLaby.HelpWindow
 
start(Component) - Method in class PrintGame.TuringMachine
 
startDocument() - Method in class PrintGame.GameXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the beginning of the document.
startDocument() - Method in class PrintGame.LabyrinthXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the beginning of the document.
startElement(String, String, String, Attributes) - Method in class PrintGame.GameXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the start of an element.
startElement(String, String, String, Attributes) - Method in class PrintGame.LabyrinthXMLContentHandler
----------------------------------------------------------------------------- Receive notification of the start of an element.
start_direction_ - Variable in class PrintGame.LabyrinthField
 
start_point_col_ - Variable in class PrintGame.LabyrinthField
 
start_point_row_ - Variable in class PrintGame.LabyrinthField
 
state_ - Variable in class PrintGame.Action
 
state_ - Variable in class PrintGame.Condition
 
status_ - Variable in class PrintGame.Cell
member variable to store the flags in

T

THREESYMBOL - Static variable in class PrintGame.TagName
 
TUGLaby - package TUGLaby
 
TUGLabyrinth - class TUGLaby.TUGLabyrinth.
The Top level class
TUGLabyrinth() - Constructor for class TUGLaby.TUGLabyrinth
 
TWOSYMBOL - Static variable in class PrintGame.TagName
 
TagName - class PrintGame.TagName.
class contains the tag names which are used in the labyrinth XML file
TagName() - Constructor for class PrintGame.TagName
 
TuringMachine - class PrintGame.TuringMachine.
class representing a turing machine.
TuringMachine() - Constructor for class PrintGame.TuringMachine
 
TxtParser - class PrintGame.TxtParser.
 
TxtParser() - Constructor for class PrintGame.TxtParser
 
takeAndCalcDiamonds() - Method in class PrintGame.TuringMachine
 
th_ - Variable in class TUGLaby.TUGLabyrinth
 
toEndTagString(String) - Method in class PrintGame.WriteLabToXML
method transforms a string to an other one which can be used as a end tag
toStartTagString(String) - Method in class PrintGame.WriteLabToXML
method transforms a string to an other one which can be used as a start tag
toString() - Method in class PrintGame.Action
 
toString() - Method in class PrintGame.Cell
standard toString method for debugging
toString() - Method in class PrintGame.Condition
 
toString() - Method in class PrintGame.CreateLabyrinth
standard toString method for debugging
toString() - Method in class PrintGame.Direction
standard toString method for debugging
toString() - Method in class PrintGame.Field
standard toString method for debugging
toString() - Method in class PrintGame.Instruction
 
toString() - Method in class PrintGame.LabyrinthField
standard toString method for debugging
toString() - Method in class PrintGame.LoadLabyrinth
standard toString method for debugging
turing_machine_ - Variable in class TUGLaby.TUGLabyrinth
 

U

UP - Static variable in class TUGLaby.DirectionChoosePanel
 

V

VERYFASTFORWARD - Static variable in class PrintGame.TuringMachine
 

W

WALL - Static variable in class PrintGame.Cell
status flags
WALL - Static variable in class TUGLaby.SensorChoosePanel
 
WALLAHEAD - Static variable in class PrintGame.TagName
 
WALLLEFT - Static variable in class PrintGame.TagName
 
WALLPICTURE - Static variable in class PrintGame.TagName
 
WALLRIGHT - Static variable in class PrintGame.TagName
 
WALLSYMBOL - Static variable in class PrintGame.LabSymbols
 
WALLSYMBOL - Static variable in class PrintGame.TagName
 
WAY - Static variable in class PrintGame.Cell
 
WAYCELLS - Static variable in class PrintGame.TagName
 
WAYPICTURE - Static variable in class PrintGame.TagName
 
WAYSYMBOL - Static variable in class PrintGame.LabSymbols
 
WAYSYMBOL - Static variable in class PrintGame.TagName
 
WIDTH - Static variable in class PrintGame.TagName
 
WriteLabToXML - class PrintGame.WriteLabToXML.
class provides methods for generating a labyrinth XML file for the tag names and the labyrinth symbols the classes TagName and LabSymbols are used
WriteLabToXML(LabyrinthField, Robot) - Constructor for class PrintGame.WriteLabToXML
 
wall_ahead_ - Variable in class PrintGame.Condition
 
wall_left_ - Variable in class PrintGame.Condition
 
wall_right_ - Variable in class PrintGame.Condition
 
warning(SAXParseException) - Method in class PrintGame.XMLErrorHandler
 
way_direction_ - Variable in class PrintGame.CreateLabyrinth
 
way_lenght_ - Variable in class PrintGame.CreateLabyrinth
 
wereAllDiamondsFound() - Method in class PrintGame.LabyrinthField
package-internal method that returns if all diamonds were found according to the internal counters
woar() - Method in class PrintGame.LevelHandler
 
writeDimension(OutputStreamWriter) - Method in class PrintGame.WriteLabToXML
method writes the dimension-element and all elements it contains to the specified stream
writeHeight(OutputStreamWriter) - Method in class PrintGame.WriteLabToXML
method writes the height-element to the specified stream
writeLabyrinth(OutputStreamWriter) - Method in class PrintGame.WriteLabToXML
method writes the labyrinth-element with the ASCII representation of the labyrinth field to the specified stream
writeRobotLabyrinth(OutputStreamWriter) - Method in class PrintGame.WriteLabToXML
method writes the robotlabyrinth-element and all elements it contains to the specified stream
writeStartDirection(OutputStreamWriter) - Method in class PrintGame.WriteLabToXML
method writes the startdirection-element to the specified stream
writeSymbol(OutputStreamWriter, String, String) - Method in class PrintGame.WriteLabToXML
method writes a symbol-element to the specified stream
writeWidth(OutputStreamWriter) - Method in class PrintGame.WriteLabToXML
method writes the widht-element to the specified stream
writeXMLFile(String) - Method in class PrintGame.WriteLabToXML
method creates a XML file with the given filename and writes the header and the whole labyrinth data in this file
write_lab_ - Static variable in class TUGLaby.TUGLabyrinth
 

X

XMLErrorHandler - class PrintGame.XMLErrorHandler.
 
XMLErrorHandler() - Constructor for class PrintGame.XMLErrorHandler
 

Y

YELLOW - Static variable in class TUGLaby.ConditionChoosePanel
 

Z

ZEROSYMBOL - Static variable in class PrintGame.TagName
 

A B C D E F G H I L M N O P R S T U V W X Y Z