Skip navigation links
A B C D E F G I L N O P R S T U W 

A

AlarmSystem - Interface in ui.properties
Interfaces that implement this property provide the possibility to set an alarm, which generates an event for the Input.
ALIVE - Static variable in interface ui.LifeUserInterface
The constant to be used in GridScreen.place(int, int, int) to make a position come to life.
AnimationEventSystem - Interface in ui.properties
Interfaces that implement this property provide the possibility to redraw the GridScreen a number of times per second.
askUserForBoolean(String) - Static method in class ui.UIAuxiliaryMethods
Shows a pop-up window in which the user can choose Yes or No.
askUserForChoice(String, String...) - Static method in class ui.UIAuxiliaryMethods
Shows a pop-up window with a drop down menu of choices.
askUserForInput() - Static method in class ui.UIAuxiliaryMethods
Shows a pop-up to select a file.
askUserForString(String) - Static method in class ui.UIAuxiliaryMethods
Shows a pop-up window in which the user can provide input.

B

BarChartUserInterface - Interface in ui
The interface for drawing bar charts.
BarScreen - Interface in ui.properties
Interfaces that implement this property provide the possibility to draw a bar chart.
BLACK - Static variable in interface ui.CheckerboardUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a black stone.
BLACK - Static variable in interface ui.OthelloReplayUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a black stone.
BLACK - Static variable in interface ui.OthelloUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a black stone.
blue - Variable in class ui.Colour
The value for red between 0 and 255.

C

CheckerboardUserInterface - Interface in ui
The interface used in the checkerboard assignment.
clear() - Method in interface ui.properties.DrawScreen
Clears the entire screen.
clear() - Method in interface ui.properties.GridScreen
Clears the entire screen.
clear() - Method in interface ui.properties.ImageScreen
Clears the entire screen.
clearStatusBar() - Method in interface ui.properties.StatusBar
Clears the statusbar.
Colour - Class in ui
A class used to define colours used in the DrawUserInterface.
Colour(int, int, int) - Constructor for class ui.Colour
Create a new Colour object with the given values for red, green and blue.

D

data - Variable in class ui.Event
The data of this event, for example 5,11 , or g.
DEAD - Static variable in interface ui.LifeUserInterface
The constant to be used in GridScreen.place(int, int, int) to kill a position.
drawCircle(int, int, int, int, Colour, boolean) - Method in interface ui.properties.DrawScreen
Draws a circle.
drawImage(BufferedImage, int, int) - Method in interface ui.properties.DrawScreen
Draws an image in its original dimensions.
drawImage(BufferedImage, int, int, int, int) - Method in interface ui.properties.DrawScreen
Draws an image with custom dimensions.
drawLine(int, int, int, int, Colour) - Method in interface ui.properties.DrawScreen
Draws a line.
drawLine(int) - Method in class ui.TreeWindowUserInterface
Draws a line of specified length, starting at the current position and angle
drawLine(double) - Method in class ui.TreeWindowUserInterface
Draws a line with the pen, starting at the current position and angle
drawPixel(int, int, Colour) - Method in interface ui.properties.DrawScreen
Draws a single pixel.
DrawScreen - Interface in ui.properties
Interfaces that implement this property provide the possibility to draw anything on the screen.
drawSquare(int, int, int, int, Colour, boolean) - Method in interface ui.properties.DrawScreen
Draws a square.
drawText(int, int, String, Colour) - Method in interface ui.properties.DrawScreen
Draws a piece of text.
DrawUserInterface - Interface in ui
The interface used for drawing graphs and charts.
DrosteUserInterface - Interface in ui
The interface used in the Droste assignment.

E

EMPTY - Static variable in interface ui.CheckerboardUserInterface
The constant to be used in GridScreen.place(int, int, int) to empty a position.
EMPTY - Static variable in interface ui.LabyrinthUserInterface
The constant to be used in GridScreen.place(int, int, int) to empty a position
EMPTY - Static variable in interface ui.OthelloReplayUserInterface
The constant to be used in GridScreen.place(int, int, int) to empty a position.
EMPTY - Static variable in interface ui.OthelloUserInterface
The constant to be used in GridScreen.place(int, int, int) to empty a position.
EMPTY - Static variable in interface ui.SnakeUserInterface
The constant to be used in GridScreen.place(int, int, int) to empty a position.
enableEventProcessing(boolean) - Method in interface ui.properties.Input
This method can enable or disable the reception of events.
enableLowResolution(boolean) - Static method in class ui.UserInterfaceFactory
When this method is called with the argument true, all subsequently created user interfaces will have a lower resolution.
encircle(int, int) - Method in interface ui.properties.EncircleScreen
Encircles a position.
EncircleScreen - Interface in ui.properties
Interfaces that implement this property provide the possibility to encircle a position on a GridScreen.
ESCHER_HEIGHT - Static variable in interface ui.DrosteUserInterface
The height of the image.
ESCHER_IMAGE - Static variable in interface ui.DrosteUserInterface
An Escher image.
ESCHER_WIDTH - Static variable in interface ui.DrosteUserInterface
The width of the image.
Event - Class in ui
This class is used by Input to channel events to the user program.
Event(String, String) - Constructor for class ui.Event
Creates a new Event object.

F

FOOD - Static variable in interface ui.SnakeUserInterface
The constant to be used in GridScreen.place(int, int, int) to place food.

G

getBarChartUI(int) - Static method in class ui.UserInterfaceFactory
Returns a new BarChartUserInterface.
getCheckerboardUI() - Static method in class ui.UserInterfaceFactory
 
getDrawUI(int, int) - Static method in class ui.UserInterfaceFactory
Returns a new DrawUserInterface.
getDrosteUI(int, int) - Static method in class ui.UserInterfaceFactory
Returns a new DrosteUserInterface.
getEvent() - Method in interface ui.properties.Input
This function blocks until an event occurs and returns an Event object with the name and the data of the event that occurred.
getHeight() - Method in interface ui.properties.DrawScreen
Returns the screen height.
getHeight() - Method in interface ui.properties.ImageScreen
Returns the screen height.
getLabyrinthUI(int, int) - Static method in class ui.UserInterfaceFactory
Returns a new LabyrinthUserInterface.
getLifeUI(int, int) - Static method in class ui.UserInterfaceFactory
Returns a new LifeUserInterface.
getOthelloReplayUI() - Static method in class ui.UserInterfaceFactory
Returns a new OthelloReplayUserInterface.
getOthelloUI() - Static method in class ui.UserInterfaceFactory
Returns a new OthelloUserInterface.
getRandom(int, int) - Static method in class ui.UIAuxiliaryMethods
Returns a random number in the interval, [from,to).
getScanner() - Method in class ui.LibUIScanner
Retrieves a Scanner from the libUIScanner, with the file's content as content
getSnakeUI(int, int) - Static method in class ui.UserInterfaceFactory
Returns a new SnakeUserInterface.
getTextHeight(String) - Method in interface ui.properties.DrawScreen
Determines the height of a piece of text.
getTextWidth(String) - Method in interface ui.properties.DrawScreen
Determines the width of a piece of text.
getWidth() - Method in interface ui.properties.DrawScreen
Returns the screen width.
getWidth() - Method in interface ui.properties.ImageScreen
Returns the screen width.
green - Variable in class ui.Colour
The value for red between 0 and 255.
GridScreen - Interface in ui.properties
Interfaces that implement this property provides a grid, with the posibility to place a different image in each of its cells.

I

ImageScreen - Interface in ui.properties
Interfaces that implement this property provide the possibility to place an image on the screen, without using the grid.
Input - Interface in ui.properties
Interfaces that implement this property provides the possibility to receive events.
isCancelled() - Method in class ui.LibUIScanner
Has the user pressed cancel?
isSuccesfull() - Method in class ui.LibUIScanner
Has the file been opened succesfully?

L

LabyrinthUserInterface - Interface in ui
The user interface used in the LongestPath assignment.
LibUIScanner - Class in ui
 
LibUIScanner(File) - Constructor for class ui.LibUIScanner
 
LifeUserInterface - Interface in ui
The interface used in the Life assignment

The properties of this interface are described in GridScreen, StatusBar and WaitingSystem.

N

name - Variable in class ui.Event
The name of the event, for example click, or letter.
nameBar(int, String) - Method in interface ui.properties.BarScreen
Assign a name to a bar.
NUMBER_OF_COLUMNS - Static variable in interface ui.CheckerboardUserInterface
The number of columns on a Othello board.
NUMBER_OF_COLUMNS - Static variable in interface ui.OthelloReplayUserInterface
The number of columns on a Othello board.
NUMBER_OF_COLUMNS - Static variable in interface ui.OthelloUserInterface
The number of columns on a Othello board.
NUMBER_OF_ROWS - Static variable in interface ui.CheckerboardUserInterface
The number of rows on a Othello board.
NUMBER_OF_ROWS - Static variable in interface ui.OthelloReplayUserInterface
The number of rows on a Othello board.
NUMBER_OF_ROWS - Static variable in interface ui.OthelloUserInterface
The number of rows on a Othello board.

O

OthelloReplayUserInterface - Interface in ui
The interface used in the replay assignments.
OthelloUserInterface - Interface in ui
The interface used in the Othello assignments.

P

PATH - Static variable in interface ui.LabyrinthUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a piece of path
place(int, int, int) - Method in interface ui.properties.GridScreen
Changes the image in a cell.
place(BufferedImage, int, int, int, int) - Method in interface ui.properties.ImageScreen
Draws an image on the screen.
placeTranslucent(int, int, int) - Method in interface ui.properties.GridScreen
Changes the image in a cell and makes it translucent.
printf(String, Object...) - Method in interface ui.properties.StatusBar
Adds a text to the statusbar.

R

raiseBar(int) - Method in interface ui.properties.BarScreen
Raise a bar with 1.
readImage(String) - Method in interface ui.properties.DrawScreen
Reads an image from local storage.
red - Variable in class ui.Colour
The value for red between 0 and 255.
refresh() - Method in class ui.TreeWindowUserInterface
Refreshes the TreeWindow.

S

setAlarm(String, int, boolean) - Method in interface ui.properties.AlarmSystem
This function sets an alarm, which generates an event for the Input.
setCircleHotspot(int, int, int, int, String) - Method in interface ui.properties.DrawScreen
Places a round hotspot on the screen.
setFramesPerSecond(double) - Method in interface ui.properties.AnimationEventSystem
Determines the speed of the animation.
setLowResolutionScale(double) - Static method in class ui.UserInterfaceFactory
 
setShowNames(boolean) - Method in interface ui.properties.BarScreen
This method determines whether the names of the bars are shown.
setShowValues(boolean) - Method in interface ui.properties.BarScreen
This method determines whether the values of the bars are shown.
setSquareHotspot(int, int, int, int, String) - Method in interface ui.properties.DrawScreen
Places a square hotspot on the screen.
showChanges() - Method in interface ui.properties.BarScreen
Shows the bar chart.
showChanges() - Method in interface ui.properties.DrawScreen
Shows all the changes made to the screen.
showChanges() - Method in interface ui.properties.GridScreen
Shows all the changes made to the screen.
showChanges() - Method in interface ui.properties.ImageScreen
Shows all the changes made to the screen.
showMessage(String) - Static method in class ui.UIAuxiliaryMethods
Shows a message in a pop-up window.
SNAKE - Static variable in interface ui.SnakeUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a piece of snake.
SnakeUserInterface - Interface in ui
The interface used in the Snake assignment.
StatusBar - Interface in ui.properties
Interfaces that implement this property provide a statusbar.
stopAlarm(String) - Method in interface ui.properties.AlarmSystem
Stops an alarm.

T

TreeWindowUserInterface - Class in ui
The user interface used in the Tree assignment.
TreeWindowUserInterface() - Constructor for class ui.TreeWindowUserInterface
Creates a new TreeWindow object.
TreeWindowUserInterface(int, int) - Constructor for class ui.TreeWindowUserInterface
Creates a new TreeWindow object.
TreeWindowUserInterface(String, int, int) - Constructor for class ui.TreeWindowUserInterface
Creates a new TreeWindow object.
turnLeft(double) - Method in class ui.TreeWindowUserInterface
Turns the pen used to draw to the left
turnRight(double) - Method in class ui.TreeWindowUserInterface
Turns the pen used to draw to the right

U

ui - package ui
 
ui.properties - package ui.properties
 
UIAuxiliaryMethods - Class in ui
A collection of methods used for writing programs using the UserInterface.
UIAuxiliaryMethods() - Constructor for class ui.UIAuxiliaryMethods
 
UserInterfaceFactory - Class in ui
The class that creates new user interfaces.
UserInterfaceFactory() - Constructor for class ui.UserInterfaceFactory
 

W

wait(int) - Method in interface ui.properties.WaitingSystem
Makes the program halt for a time.
WaitingSystem - Interface in ui.properties
Interfaces that implement this property provide the possibility to pauze the program.
WALL - Static variable in interface ui.LabyrinthUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a piece of wall
WALL - Static variable in interface ui.SnakeUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a piece of wall.
WHITE - Static variable in interface ui.CheckerboardUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a white stone.
WHITE - Static variable in interface ui.OthelloReplayUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a white stone.
WHITE - Static variable in interface ui.OthelloUserInterface
The constant to be used in GridScreen.place(int, int, int) to place a white stone.
A B C D E F G I L N O P R S T U W 
Skip navigation links