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

A

absoluteSize - Static variable in class DE.purple_sunshine.bigbro.Smily
 
absoluteSmily - Static variable in class DE.purple_sunshine.bigbro.Smily
The positions of the points of the smily.
ALLLEFT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
Animator - class DE.purple_sunshine.bigbro.Animator.
The Animator controls a continuous time line and triggers the recomputation of the positions of each person.
Animator(Vector, int, SpyCanvas) - Constructor for class DE.purple_sunshine.bigbro.Animator
Constructs a new Animator.
Area - class DE.purple_sunshine.bigbro.Area.
An Area within a house.
Area(String, int, int, int, int) - Constructor for class DE.purple_sunshine.bigbro.Area
Constructs a new Area.
Area(String, int, int, int, int, PathArea) - Constructor for class DE.purple_sunshine.bigbro.Area
Constructs a new Area that contains a PathArea.
areaNames - Static variable in class DE.purple_sunshine.bigbro.PositionLoader
 

C

COLORREPEATTIME - Static variable in class DE.purple_sunshine.bigbro.Smily
 
compute() - Method in class DE.purple_sunshine.bigbro.CountdownDigits
Computes a new frame for this thing.
computePath(PathElement, PathElement) - Method in class DE.purple_sunshine.bigbro.House
Calculates a path from the current PathArea of the updated Area (real world coordinates).
computePosition(double) - Method in class DE.purple_sunshine.bigbro.Person
Computs the current position of this person within its current path.
CountdownAnimator - class DE.purple_sunshine.bigbro.CountdownAnimator.
The Animator controls a continuous time line and triggers the recomputation of the positions of each sprite.
CountdownAnimator(Vector, int, CountdownApplet, CountdownCanvas) - Constructor for class DE.purple_sunshine.bigbro.CountdownAnimator
 
CountdownApplet - class DE.purple_sunshine.bigbro.CountdownApplet.
An Applet that shows the current date and time and a countdown to a specified date.
CountdownApplet() - Constructor for class DE.purple_sunshine.bigbro.CountdownApplet
 
CountdownCanvas - class DE.purple_sunshine.bigbro.CountdownCanvas.
Shows the CountdownDigits when animation is switched on, or the current date and the remaining days if it is switched off.
CountdownCanvas(Vector, CountdownApplet) - Constructor for class DE.purple_sunshine.bigbro.CountdownCanvas
 
CountdownDigits - class DE.purple_sunshine.bigbro.CountdownDigits.
One "Sprite" that displays the countdown or the current date.
CountdownDigits(CountdownApplet, CountdownCanvas, int) - Constructor for class DE.purple_sunshine.bigbro.CountdownDigits
 
criticalError - Static variable in class DE.purple_sunshine.bigbro.SpyCanvas
 
criticalErrorOccured(String) - Static method in class DE.purple_sunshine.bigbro.SpyCanvas
If this method is called, an error message will be shown in the canvas, and msg will be writtin to standard out (console).
CURRDATE - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
currentDateString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
currentTimeString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
currentWeekdayString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 

D

DAYS - Static variable in class DE.purple_sunshine.bigbro.CountdownApplet
 
DAYS_IN_MONTH - Static variable in class DE.purple_sunshine.bigbro.CountdownApplet
 
DAYSINTO - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
daysIntoString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
DAYSLEFT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
DE.purple_sunshine.bigbro - package DE.purple_sunshine.bigbro
This package contains all the relevant classes for two applets that were created for the website of BigBrother 2.
DEFAULT_FPS - Static variable in class DE.purple_sunshine.bigbro.Animator
The default number of frames per second (30fps).
DEFAULT_FPS - Static variable in class DE.purple_sunshine.bigbro.CountdownAnimator
The default number of frames per second.
DEFAULT_REFRESH_DELAY - Static variable in class DE.purple_sunshine.bigbro.PositionLoader
 
destroy() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
Stops the animation.
destroy() - Method in class DE.purple_sunshine.bigbro.SpyApplet
Finishes the Threads and frees image resources.
destroy() - Method in class DE.purple_sunshine.bigbro.MacTestApplet
Finishes the Threads and frees image resources.

E

EAST - Static variable in class DE.purple_sunshine.bigbro.House
 
EAST - Static variable in class DE.purple_sunshine.bigbro.PathArea
This is the code for the direction EAST (+3).

F

fadeIn - Variable in class DE.purple_sunshine.bigbro.Person
 
finish() - Method in class DE.purple_sunshine.bigbro.SuspendableThread
This should make the Thread leave its loop and thus finish. (
fontMax - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
fontMin - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 

G

getAppletInfo() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
Shows information about this applet.
getAppletInfo() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
Shows information about this applet.
getAppletInfo() - Method in class DE.purple_sunshine.bigbro.SpyApplet
Shows information about this applet.
getAppletInfo() - Method in class DE.purple_sunshine.bigbro.MacTestApplet
Shows information about this applet.
getArea(String) - Method in class DE.purple_sunshine.bigbro.House
Returns the Area with id.
getColor() - Method in class DE.purple_sunshine.bigbro.Person
 
getHitTime() - Method in class DE.purple_sunshine.bigbro.PathElement
Returns the time at which this point shall be reached by the Person (between 0.0 and 1.0 on the time scale of the whole path).
getId() - Method in class DE.purple_sunshine.bigbro.Person
Returns the id of this person.
getId() - Method in class DE.purple_sunshine.bigbro.Area
Returns the ID of this Area.
getImageURL() - Method in class DE.purple_sunshine.bigbro.House
Returns the URL of the background image of this house.
getNeighbour(int) - Method in class DE.purple_sunshine.bigbro.PathArea
Returns the neighbor to direction of the receiver.
getParameterInfo() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
Shows which parameters are allowed.
getParameterInfo() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
Shows which parameters are allowed.
getParameterInfo() - Method in class DE.purple_sunshine.bigbro.SpyApplet
Shows which parameters are allowed.
getParameterInfo() - Method in class DE.purple_sunshine.bigbro.MacTestApplet
Shows which parameters are allowed.
getPathArea() - Method in class DE.purple_sunshine.bigbro.Area
Returns the PathArea contained in this Area.
getPathArea() - Method in class DE.purple_sunshine.bigbro.PathElement
 
getPathArea(String) - Method in class DE.purple_sunshine.bigbro.House
Returns the PathArea with id.
getPoint() - Method in class DE.purple_sunshine.bigbro.PathElement
 
getPosition() - Method in class DE.purple_sunshine.bigbro.Person
Returns the current position of this person.
getPositionFileURL() - Method in class DE.purple_sunshine.bigbro.PositionLoader
 
getRandomPathArea() - Method in class DE.purple_sunshine.bigbro.House
Returns a random path area.
getRefreshDelay() - Method in class DE.purple_sunshine.bigbro.PositionLoader
 
getSize() - Method in class DE.purple_sunshine.bigbro.House
Returns the size of this house.
getZValue() - Method in class DE.purple_sunshine.bigbro.CountdownDigits
 

H

HOURS - Static variable in class DE.purple_sunshine.bigbro.CountdownApplet
 
HOURSLEFT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
House - class DE.purple_sunshine.bigbro.House.
Knows the image of the blueprint of the house (which is usually used as background image) and manages the areas (including the calculation of Paths).
House(Dimension, URL, URL, URL) - Constructor for class DE.purple_sunshine.bigbro.House
Constructs a new House with the given parameters.

I

imageUpdate(Image, int, int, int, int, int) - Method in class DE.purple_sunshine.bigbro.CountdownCanvas
 
imageUpdate(Image, int, int, int, int, int) - Method in class DE.purple_sunshine.bigbro.SpyCanvas
 
IN - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
init() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
Initializes the Applet.
init() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
Initializes the Applet.
init() - Method in class DE.purple_sunshine.bigbro.SpyApplet
Initializes the Applet.
init() - Method in class DE.purple_sunshine.bigbro.MacTestApplet
 
isFinished() - Method in class DE.purple_sunshine.bigbro.SuspendableThread
Leaving the run method, the variable finished should be set to true.

K

KEEP - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
KEEP_PAINTED - Static variable in class DE.purple_sunshine.bigbro.SpyApplet
 

M

macError - Static variable in class DE.purple_sunshine.bigbro.SpyCanvas
 
MacTestApplet - class DE.purple_sunshine.bigbro.MacTestApplet.
 
MacTestApplet() - Constructor for class DE.purple_sunshine.bigbro.MacTestApplet
 
MAXCACHE - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
MAXKEEPTIME - Static variable in class DE.purple_sunshine.bigbro.Smily
 
MINKEEPTIME - Static variable in class DE.purple_sunshine.bigbro.Smily
 
MINUTES - Static variable in class DE.purple_sunshine.bigbro.CountdownApplet
 
MINUTESLEFT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
mouseDown(Event, int, int) - Method in class DE.purple_sunshine.bigbro.CountdownCanvas
JDK1.0 for: if the mouse button has been pressed, start or stop the animation.
mouseDown(Event, int, int) - Method in class DE.purple_sunshine.bigbro.SpyCanvas
JDK1.0 for: if the mouse button has been pressed, start or stop the animation.
mouseUp(Event, int, int) - Method in class DE.purple_sunshine.bigbro.SpyCanvas
 
moveTo(PathArea) - Method in class DE.purple_sunshine.bigbro.Person
Gives the person a new target to move to.
moveTo(PathElement) - Method in class DE.purple_sunshine.bigbro.Person
Gives the person a new target to move to.
moveTo(String) - Method in class DE.purple_sunshine.bigbro.Person
Gives the person a new target to move to.
moveToRandom() - Method in class DE.purple_sunshine.bigbro.Person
Makes the person move to a random PathArea.
MS - Static variable in class DE.purple_sunshine.bigbro.CountdownApplet
 
MSLEFT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 

N

newFrame() - Method in class DE.purple_sunshine.bigbro.CountdownCanvas
 
newFrame() - Method in class DE.purple_sunshine.bigbro.SpyCanvas
Paints a new frame.
NORTH - Static variable in class DE.purple_sunshine.bigbro.House
 
NORTH - Static variable in class DE.purple_sunshine.bigbro.PathArea
This is the code for the direction NORTH (+1).
noServerConnection - Static variable in class DE.purple_sunshine.bigbro.SpyCanvas
 

O

offButtonURL() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
 
onButtonURL() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
 
OUT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 

P

PAINT_AREAS - Static variable in class DE.purple_sunshine.bigbro.SpyApplet
 
PAINT_PATH - Static variable in class DE.purple_sunshine.bigbro.SpyApplet
 
PAINT_PATHAREAS - Static variable in class DE.purple_sunshine.bigbro.SpyApplet
 
PAINT_PATHLINE - Static variable in class DE.purple_sunshine.bigbro.SpyApplet
 
PAINT_TRAILS - Static variable in class DE.purple_sunshine.bigbro.SpyApplet
 
paint(Graphics) - Method in class DE.purple_sunshine.bigbro.CountdownCanvas
If animation is on, paints all the CountdownDigits, if animation is off, paints a message with the current date and remaining days.
paint(Graphics) - Method in class DE.purple_sunshine.bigbro.SpyCanvas
Paints everything ;-)
paintInto(Graphics) - Method in class DE.purple_sunshine.bigbro.House
Paints the Areas into g depending on settings made in the SpyApplet.
paintInto(Graphics) - Method in class DE.purple_sunshine.bigbro.CountdownDigits
 
paintInto(Graphics) - Method in class DE.purple_sunshine.bigbro.Person
Paints this person at its current position into g
paintInto(Graphics) - Method in class DE.purple_sunshine.bigbro.Smily
 
ParameterApplet - class DE.purple_sunshine.bigbro.ParameterApplet.
An Applet that reads a few standard parameters and provides method to conveniently access some others.
ParameterApplet() - Constructor for class DE.purple_sunshine.bigbro.ParameterApplet
 
PathArea - class DE.purple_sunshine.bigbro.PathArea.
An Area that has neighbour areas that can be reached from this area.
PathArea(String, int, int, int, int) - Constructor for class DE.purple_sunshine.bigbro.PathArea
 
PathElement - class DE.purple_sunshine.bigbro.PathElement.
An Element within a Path inside the house.
PathElement(PathArea, Point) - Constructor for class DE.purple_sunshine.bigbro.PathElement
Constructs a new PathElement.
Person - class DE.purple_sunshine.bigbro.Person.
A Person represents a real person in the bb-house.
Person(String, Color, House) - Constructor for class DE.purple_sunshine.bigbro.Person
Constructs a new Person.
PIXELMOVETIME - Static variable in class DE.purple_sunshine.bigbro.Smily
 
PositionLoader - class DE.purple_sunshine.bigbro.PositionLoader.
The PositionLoader loads the current real world position for each Person from a server.
PositionLoader(Vector, URL, long, Animator) - Constructor for class DE.purple_sunshine.bigbro.PositionLoader
Constructs a new PositionLoader.
PROGRAMS - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 

R

randomPointWithin() - Method in class DE.purple_sunshine.bigbro.Area
Generates a random point within this Area and returns it.
remainingDateString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
remainingDaysString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
remainingHoursString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
remainingMinutesString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
remainingMSString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
remainingSecondsString() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
resetTime() - Method in class DE.purple_sunshine.bigbro.Person
Switches the current path to the next path and resets pathStep.
resetTime(long) - Method in class DE.purple_sunshine.bigbro.Animator
Resets the time to the next position update.
resume_() - Method in class DE.purple_sunshine.bigbro.SuspendableThread
suspended is reset to false, so the Thread should leave the sleep-loop and start working again.
run() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
This Thread tries to load the time from the server.
run() - Method in class DE.purple_sunshine.bigbro.Smily
Moves points from each person towards their correct positions within the Smily, keeps it for a while and does some color animation, and then moves everything to its initial state.
run() - Method in class DE.purple_sunshine.bigbro.Animator
This does the actual animation in an own Thread.
run() - Method in class DE.purple_sunshine.bigbro.CountdownAnimator
While the Thread is not finishing, this calls each CountdownDigits' compute() method for each frame, removes CountdownDigits that are finished and tells the Canvas to repaint itself (that means: repaint the CountdownDigits).
When the CountdownAnimator has finished, it still sends a last newFrame() call to CountdownCanvas.
run() - Method in class DE.purple_sunshine.bigbro.PositionLoader
Loads the new positions every refreshDelay ms.
runsInMac - Static variable in class DE.purple_sunshine.bigbro.ParameterApplet
 
runsInMac() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
 
runsInMacNetscape - Static variable in class DE.purple_sunshine.bigbro.ParameterApplet
 
runsInMacNetscape() - Method in class DE.purple_sunshine.bigbro.ParameterApplet
 

S

SECONDS - Static variable in class DE.purple_sunshine.bigbro.CountdownApplet
 
SECONDSLEFT - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
setBounds(Rectangle) - Method in class DE.purple_sunshine.bigbro.Smily
 
setColor(Color) - Method in class DE.purple_sunshine.bigbro.Person
 
setHitTime(double) - Method in class DE.purple_sunshine.bigbro.PathElement
 
setNeighbour(int, PathArea) - Method in class DE.purple_sunshine.bigbro.PathArea
Sets a new neighbor for direction.
setPositionFileURL(URL) - Method in class DE.purple_sunshine.bigbro.PositionLoader
 
setRefreshDelay(long) - Method in class DE.purple_sunshine.bigbro.PositionLoader
 
Smily - class DE.purple_sunshine.bigbro.Smily.
Gets the locations of the Persons and moves their pixels so that they form a Smily.
Smily(SpyCanvas, Vector, Rectangle) - Constructor for class DE.purple_sunshine.bigbro.Smily
Constructs a new Smily.
smilyAnim() - Method in class DE.purple_sunshine.bigbro.Animator
Starts the Smily Animation which is done in a Thread of the SpyCanvas.
smilyAnim() - Method in class DE.purple_sunshine.bigbro.SpyCanvas
Starts the smily animation.
SOUTH - Static variable in class DE.purple_sunshine.bigbro.House
 
SOUTH - Static variable in class DE.purple_sunshine.bigbro.PathArea
This is the code for the direction SOUTH (-1).
SpyApplet - class DE.purple_sunshine.bigbro.SpyApplet.
The actual Locator-Applet (this must be called in the applet-tag).
SpyApplet() - Constructor for class DE.purple_sunshine.bigbro.SpyApplet
 
SpyCanvas - class DE.purple_sunshine.bigbro.SpyCanvas.
The SpyCanvas is where all the stuff is painted.
SpyCanvas(Vector, House, SpyApplet) - Constructor for class DE.purple_sunshine.bigbro.SpyCanvas
 
start() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
Starts the animation.
start() - Method in class DE.purple_sunshine.bigbro.SpyApplet
When called the first time, the Animator and the PositionLoader are started.
start() - Method in class DE.purple_sunshine.bigbro.MacTestApplet
 
stop() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
Stops the animation.
stop() - Method in class DE.purple_sunshine.bigbro.SpyApplet
Suspends Animator and PositionLoader.
stop() - Method in class DE.purple_sunshine.bigbro.MacTestApplet
Suspends Animator and PositionLoader.
suspend_() - Method in class DE.purple_sunshine.bigbro.SuspendableThread
If the subclass is correctly implemented using the suspended boolean variable, the Thread will finish all its tasks and then remain in a sleep-mode until its resumed. (
SuspendableThread - class DE.purple_sunshine.bigbro.SuspendableThread.
A thread that can be suspended and finished...
SuspendableThread() - Constructor for class DE.purple_sunshine.bigbro.SuspendableThread
 

T

tick() - Method in class DE.purple_sunshine.bigbro.CountdownApplet
 
TIME - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
TIMEOUT - Static variable in class DE.purple_sunshine.bigbro.PositionLoader
Timeout after which the applet gives up loading from the server.
toString() - Method in class DE.purple_sunshine.bigbro.Person
 
toString() - Method in class DE.purple_sunshine.bigbro.Area
Returns a String representation of this Area.
toString() - Method in class DE.purple_sunshine.bigbro.PathElement
 

U

update(Graphics) - Method in class DE.purple_sunshine.bigbro.CountdownCanvas
 

V

VERBOSITY - Static variable in class DE.purple_sunshine.bigbro.ParameterApplet
 
VERBOSITY - Static variable in class DE.purple_sunshine.bigbro.MacTestApplet
 

W

WEEKDAY - Static variable in class DE.purple_sunshine.bigbro.CountdownDigits
 
WEST - Static variable in class DE.purple_sunshine.bigbro.House
 
WEST - Static variable in class DE.purple_sunshine.bigbro.PathArea
This is the code for the direction WEST (-3).

X

X - Static variable in class DE.purple_sunshine.bigbro.Smily
 

Y

Y - Static variable in class DE.purple_sunshine.bigbro.Smily
 

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

© 2000, Holger Wagner, Purple Sunshine Productions.