Class tokenelement


(package private) class tokenelement
extends java.lang.Object

Field Summary

private double
angle
private static int
anz
private netpaint
box
private Color[]
color
private int
containerHeight
private int
containerWidth
private Point[]
coords
private static int
dist
private boolean[]
emptymode
private int
i
private Image
image
int
iresume
int[]
krpos
private int
maxComponentHeight
private int
maxComponentWidth
int
maxframe
private token
parent
private static int
pointmax
private static int
pu
private boolean[]
reverse
int
startstation
int
stopstation
int
t_anz
int
t_stat
private int
x2radius
private int
xcenter
private int
xradius
private int
y2radius
private int
ycenter
private int
yradius
int
zaehler
int
zstart

Constructor Summary

tokenelement(netpaint c, Image i, token p)

Method Summary

private double
calcangle(int i)
void
draw(int nr, Color col, boolean reversestat)
void
erase(int nr, boolean emptymode)
boolean
getreverse()
int
move(int nr, int startnr)
private void
setxy()

Field Details

angle

private double angle

anz

private static int anz

box

private netpaint box

color

private Color[] color

containerHeight

private int containerHeight

containerWidth

private int containerWidth

coords

private Point[] coords

dist

private static final int dist
Field Value:
4

emptymode

private boolean[] emptymode

i

private int i

image

private Image image

iresume

public int iresume

krpos

public int[] krpos

maxComponentHeight

private int maxComponentHeight

maxComponentWidth

private int maxComponentWidth

maxframe

public int maxframe

parent

private token parent

pointmax

private static final int pointmax
Field Value:
100

pu

private static final int pu
Field Value:
360

reverse

private boolean[] reverse

startstation

public int startstation

stopstation

public int stopstation

t_anz

public int t_anz

t_stat

public int t_stat

x2radius

private int x2radius

xcenter

private int xcenter

xradius

private int xradius

y2radius

private int y2radius

ycenter

private int ycenter

yradius

private int yradius

zaehler

public int zaehler

zstart

public int zstart

Constructor Details

tokenelement

public tokenelement(netpaint c,
                    Image i,
                    token p)

Method Details

calcangle

private double calcangle(int i)

draw

public void draw(int nr,
                 Color col,
                 boolean reversestat)

erase

public void erase(int nr,
                  boolean emptymode)

getreverse

public boolean getreverse()

move

public int move(int nr,
                int startnr)

setxy

private void setxy()