Alphabetical Index

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

A

actionPerformed(ActionEvent) - method in class animation.tr.Station
ACTIVE - static field in class animation.tr.Station
Function constants
addReceiver(int) - method in class animation.tr.Station
addStation() - method in class animation.tr.NetPaint
Puts a new station on the ring and sets the initial values
advanceToken() - method in class animation.tr.ClaimToken
advanceToken() - method in class animation.tr.LostToken
advanceToken() - method in class animation.tr.NormalToken
advanceToken() - method in class animation.tr.SendFrameLostToken
advanceToken() - method in class animation.tr.SendToken
advanceToken() - method in class animation.tr.Token
advanceToken(int) - method in class animation.tr.Token
aliveFrameCounter - field in class animation.tr.NormalToken
angle - field in class animation.tr.Token
Position as Radiant
animopt - field in class animation.tr.TokenRing
anz - static field in class animation.tr.NetPaint

B

bg - field in class animation.tr.NetPaint
buffer - field in class animation.tr.NetPaint

C

candidate - field in class animation.tr.ClaimToken
Current candidate for monitor
checkPriority(int) - method in class animation.tr.Station
ClaimToken - class animation.tr.ClaimToken
ClaimToken(int,animation.tr.NetPaint) - constructor for class animation.tr.ClaimToken
clearFunction(int) - method in class animation.tr.Station
clearStation() - method in class animation.tr.Station
COLOURS - static field in class animation.tr.NetPaint
componentHidden(ComponentEvent) - method in class animation.tr.TokenThread
componentMoved(ComponentEvent) - method in class animation.tr.TokenThread
componentResized(ComponentEvent) - method in class animation.tr.TokenThread
componentShown(ComponentEvent) - method in class animation.tr.TokenThread
contains(int,int) - method in class animation.tr.Station
count - field in class animation.tr.LostToken
createButtonPanel() - method in class animation.tr.TokenRing
createErrorPanel() - method in class animation.tr.TokenRing
createMenuBar() - method in class animation.tr.TokenRing

D

delay - field in class animation.tr.TokenThread
distFactor - field in class animation.tr.SendToken
Distance Factor between frames
drawNode(Graphics) - method in class animation.tr.Station
drawReceiveFrame(Graphics,int) - method in class animation.tr.Station
drawReceiveFrame(int) - method in class animation.tr.Station
drawSendFrame() - method in class animation.tr.Station
drawSendFrame(Graphics) - method in class animation.tr.Station
drawStation(Graphics) - method in class animation.tr.Station
drawStationOff(Graphics) - method in class animation.tr.Station
drawToken() - method in class animation.tr.Token
drawToken(Graphics) - method in class animation.tr.ClaimToken
Draw the token represented
drawToken(Graphics) - method in class animation.tr.LostToken
Need to implement this method, do nothing
drawToken(Graphics) - method in class animation.tr.NormalToken
drawToken(Graphics) - method in class animation.tr.SendToken
drawToken(Graphics) - method in class animation.tr.Token
Draw the token represented
drawToken(Graphics) - method in class animation.tr.TokenThread

F

farbnr - field in class animation.tr.NetPaint
fillPopupMenu(PopupMenu) - method in class animation.tr.Station
find(int,int) - method in class animation.tr.NetPaint
function - field in class animation.tr.Station
indicates if station is active / monitor / both

G

getAnz() - method in class animation.tr.NetPaint
getBinaryString(int) - method in class animation.tr.Token
getCloseToCenterX(Rectangle) - method in class animation.tr.SendToken
getCloseToCenterY(Rectangle) - method in class animation.tr.SendToken
getContents() - method in class TokenTexts
getContents() - method in class TokenTexts_de
getDelay() - method in class animation.tr.TokenThread
getFunction() - method in class animation.tr.Station
getMonitor() - method in class animation.tr.NetPaint
getMonitorNode() - method in class animation.tr.TokenRing
getNormalNode() - method in class animation.tr.TokenRing
getPosition() - method in class animation.tr.Station
getPriority() - method in class animation.tr.Station
getPrioString() - method in class animation.tr.Token
getReceiver() - method in class animation.tr.Station
getReservePrioString() - method in class animation.tr.Token
getResourceBundle() - static method in class animation.tr.MainApplet
getSleepTime() - method in class animation.tr.TokenRing
getTerminate() - method in class animation.tr.TokenThread
getThreadGroup() - static method in class animation.tr.MainApplet

I

init() - method in class animation.tr.MainApplet
Initializes the applet and loads the gifs
isActive() - method in class animation.tr.Station
isAtStation() - method in class animation.tr.Token
Checks if token is on a station Warning: This algorithm relies on the fact that each degree on the 360 Degree circle will be hit at least once by the token!
isMonitor() - method in class animation.tr.Station

L

lastStation - field in class animation.tr.Token
Station visited last
LostToken - class animation.tr.LostToken
LostToken(int,animation.tr.NetPaint) - constructor for class animation.tr.LostToken

M

MainApplet - class animation.tr.MainApplet
Class MainApplet is the main class for the applet
mainThread - static field in class animation.tr.MainApplet
MAX - static field in class animation.tr.SpeedSelect
maxComponentHeight - field in class animation.tr.NetPaint
maxComponentWidth - field in class animation.tr.NetPaint
maxFrameReceived - field in class animation.tr.SendToken
maxFrameSend - field in class animation.tr.SendToken
number of frames send, received or verifyed
maxFrameVerified - field in class animation.tr.SendToken
MAXSTATIONS - static field in class animation.tr.NetPaint
messageText - static field in class animation.tr.NetPaint
MONITOR - static field in class animation.tr.Station
monitorNode - field in class animation.tr.MainApplet
monitorNode - field in class animation.tr.NetPaint
monitorNode - field in class animation.tr.NormalToken
monitorNode - field in class animation.tr.TokenRing
monitorPos - field in class animation.tr.LostToken
monitorstatus - field in class animation.tr.TokenRing
mouseClicked(MouseEvent) - method in class animation.tr.NetPaint
mouseDragged(MouseEvent) - method in class animation.tr.NetPaint
mouseEntered(MouseEvent) - method in class animation.tr.NetPaint
mouseExited(MouseEvent) - method in class animation.tr.NetPaint
mouseMoved(MouseEvent) - method in class animation.tr.NetPaint
mousePressed(MouseEvent) - method in class animation.tr.NetPaint
mouseReleased(MouseEvent) - method in class animation.tr.NetPaint

N

NetPaint - class animation.tr.NetPaint
class to paint the network and to handle the settings of animation
netPaint - field in class animation.tr.Station
1: idle 2: Receiving station >100 Sendstation
netPaint - field in class animation.tr.Token
netPaint - field in class animation.tr.TokenThread
NetPaint(animation.tr.TokenRing) - constructor for class animation.tr.NetPaint
Constructor initializes the first two stations and sets some variables
netz - field in class animation.tr.TokenRing
normalNode - field in class animation.tr.MainApplet
normalNode - field in class animation.tr.NetPaint
normalNode - field in class animation.tr.TokenRing
NormalToken - class animation.tr.NormalToken
NormalToken(int,animation.tr.NetPaint,int) - constructor for class animation.tr.NormalToken
npriorityStack - field in class animation.tr.Station
num - field in class animation.tr.Station
numFrames - field in class animation.tr.SendToken
number of data frames to be transmitted
numFramesLost - field in class animation.tr.SendFrameLostToken
number of frames lost

O

openWindow() - method in class animation.tr.MainApplet
Opens the main frame for the simulation
opriorityStack - field in class animation.tr.Station

P

paint(Graphics) - method in class animation.tr.MainApplet
Sets font and text for the applet window
paint(Graphics) - method in class animation.tr.NetPaint
Main paint routine draws all graphics
passedMonitor - field in class animation.tr.SendFrameLostToken
passed over monitor (simulate setting of bit)
pm - field in class animation.tr.NetPaint
pos - field in class animation.tr.Token
Position as angle on the circle (0..360)
position - field in class animation.tr.Station
priority - field in class animation.tr.Station
Default priority of the station
priority - field in class animation.tr.Token
Priority of token (0..7)
pushPriority(int,int) - method in class animation.tr.Station

R

receivePos - field in class animation.tr.SendToken
receiveStation - field in class animation.tr.NetPaint
receiveStation - field in class animation.tr.SendToken
receiveStations - field in class animation.tr.Station
list of stations to which this station wants to send data
receiving - field in class animation.tr.Station
removeStation() - method in class animation.tr.NetPaint
Removes a station off the ring
res - static field in class animation.tr.MainApplet
res - field in class animation.tr.TokenRing
reservePriority - field in class animation.tr.Token
run() - method in class animation.tr.MainApplet
run() - method in class animation.tr.TokenThread

S

schaden - field in class animation.tr.TokenRing
select - field in class animation.tr.TokenRing
selectmode - field in class animation.tr.NetPaint
sendestop() - method in class animation.tr.NetPaint
Stops putting data frames on the ring
sendFinished(int) - method in class animation.tr.Station
sending - field in class animation.tr.Station
sendmode - field in class animation.tr.NetPaint
sendoff(int,int) - method in class animation.tr.NetPaint
Erases the frame of sending and receiving station
sendPos - field in class animation.tr.SendToken
position of sending, receiving and verifying station (in general, sending == verifying)
sendStation - field in class animation.tr.NetPaint
sendStation - field in class animation.tr.SendToken
sending and receiving station
SendToken - class animation.tr.SendToken
SendToken(int,animation.tr.NetPaint,int,int) - constructor for class animation.tr.SendToken
setDelay(int) - method in class animation.tr.TokenThread
setFunction(int) - method in class animation.tr.Station
setMessageText(String) - method in class animation.tr.NetPaint
Prints a red colored message line in the center
setReceiving(boolean) - method in class animation.tr.Station
setSelectMode(int) - method in class animation.tr.NetPaint
Sets what a mouse click on a station will produce
setsend(boolean) - method in class animation.tr.NetPaint
setSleepTime(int) - method in class animation.tr.TokenRing
setTerminate(boolean) - method in class animation.tr.TokenThread
setToken(animation.tr.Token) - method in class animation.tr.TokenThread
showHelp() - method in class animation.tr.MainApplet
Opens a new HTML-page with help TODO: This might not work, especially if the appletviewer is used, solution: open a new window and display the text in it
sleepTime - field in class animation.tr.TokenRing
SpeedSelect - class animation.tr.SpeedSelect
class SpeedSelect draws a dialog frame to select the animation speed
SpeedSelect(animation.tr.TokenRing) - constructor for class animation.tr.SpeedSelect
constructor
st - field in class animation.tr.NetPaint
sta - field in class animation.tr.NetPaint
start() - method in class animation.tr.MainApplet
startanim(int,int) - method in class animation.tr.NetPaint
Generates the tokenclass and starts the whole animation
Station - class animation.tr.Station
class station handles all parameters of net stations
Station(int,animation.tr.NetPaint) - constructor for class animation.tr.Station
status - field in class animation.tr.TokenRing
stop() - method in class animation.tr.MainApplet
stopanim() - method in class animation.tr.NetPaint
Stops the animation and sets the initial values

T

t - field in class animation.tr.NetPaint
terminate - field in class animation.tr.TokenThread
texts - static field in class TokenTexts
texts - static field in class TokenTexts_de
Token - class animation.tr.Token
token - field in class animation.tr.TokenThread
Token(int,animation.tr.NetPaint) - constructor for class animation.tr.Token
token_lives() - method in class animation.tr.NetPaint
TokenRing - class animation.tr.TokenRing
Class TokenRing initializes the main frame with menues and buttons
TokenRing(Image,Image) - constructor for class animation.tr.TokenRing
tokenstatus - field in class animation.tr.TokenRing
TokenThread - class animation.tr.TokenThread

U

update(Graphics) - method in class animation.tr.NetPaint
updateDimensions() - method in class animation.tr.Token

V

verifyPos - field in class animation.tr.SendToken
version - field in class animation.tr.TokenRing

W

wantToSend() - method in class animation.tr.Station

X

xcenter - field in class animation.tr.Token
Dimension of drawing area
xradius - field in class animation.tr.Token

Y

ycenter - field in class animation.tr.Token
yradius - field in class animation.tr.Token