All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

a. Static variable in class fi.helsinki.cs.MapDrawer.Properties
addChild(ParseElement). Method in class fi.helsinki.cs.MapDrawer.CombinedLayout
Add a sub-layout to this one.
addChild(ParseElement). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
This routine is not supported by non-combined layouts.
addChild(ParseElement). Method in class fi.helsinki.cs.MapDrawer.MapElement
addChild(ParseElement). Method in interface fi.helsinki.cs.MapDrawer.ParseElement
Add a child for this element.
area. Static variable in class fi.helsinki.cs.MapDrawer.Properties
areas. Variable in class fi.helsinki.cs.MapDrawer.CombinedLayout
areaScalePoint(RelPoint, int). Method in class fi.helsinki.cs.MapDrawer.CombinedLayout
Scale point depending on which area it is in.
areaToPolygon(Rectangle, Stack, Vector). Method in class fi.helsinki.cs.MapDrawer.MapElement
Scale every point in a given polygon.
arg. Variable in class fi.helsinki.cs.MapDrawer.MapDProp
argAsNumber(). Method in class fi.helsinki.cs.MapDrawer.MapDProp
Converts arg into an int (for indexing).

B

bottom. Static variable in class fi.helsinki.cs.MapDrawer.Properties
bound(RelRect). Method in class fi.helsinki.cs.MapDrawer.RelPoint
Checks if the point is within a specified rectangle.

C

c. Variable in class fi.helsinki.cs.MapDrawer.MapDParser
caller. Variable in class fi.helsinki.cs.MapDrawer.MapDParser
checkOrder(). Method in class fi.helsinki.cs.MapDrawer.RelRect
Checks if the bounds are in correct order and corrects them if not so.
children. Variable in class fi.helsinki.cs.MapDrawer.MapElement
color. Variable in class fi.helsinki.cs.MapDrawer.MapElement
color. Static variable in class fi.helsinki.cs.MapDrawer.Properties
CombinedLayout(). Constructor for class fi.helsinki.cs.MapDrawer.CombinedLayout

D

d. Static variable in class fi.helsinki.cs.MapDrawer.Properties
deviate. Static variable in class fi.helsinki.cs.MapDrawer.Properties
div. Variable in class fi.helsinki.cs.MapDrawer.MapElement
division. Static variable in class fi.helsinki.cs.MapDrawer.Properties
draw(Graphics, MapDrawer, Stack, int). Method in class fi.helsinki.cs.MapDrawer.FormedContainer
Draw this FormedContainer.
draw(Graphics, MapDrawer, Stack, int). Method in class fi.helsinki.cs.MapDrawer.MapElement
Draw this element.
draw(Graphics, MapDrawer, Stack, int). Method in class fi.helsinki.cs.MapDrawer.PointElement
Draw this element.
draw(Graphics, MapDrawer, Stack, int). Method in class fi.helsinki.cs.MapDrawer.StripeElement
Draws the shape of this stripe as open polygon.
draw(Graphics, MapDrawer, Stack, int). Method in class fi.helsinki.cs.MapDrawer.TextElement
Draws the icon and the text of this element.
drawChildren(Graphics, MapDrawer, Stack, int). Method in class fi.helsinki.cs.MapDrawer.MapElement
Draw this element's children.

E

elements. Static variable in class fi.helsinki.cs.MapDrawer.MapDParser
ep. Variable in class fi.helsinki.cs.MapDrawer.FourEdgeScaler
The vertices of the polygon (there should always be four of them).
ep. Variable in class fi.helsinki.cs.MapDrawer.StripeElement
equals(FourEdgeScaler). Method in class fi.helsinki.cs.MapDrawer.FourEdgeScaler
equals(RelPoint). Method in class fi.helsinki.cs.MapDrawer.RelPoint
equals(RelRect). Method in class fi.helsinki.cs.MapDrawer.RelRect
error(String). Static method in class fi.helsinki.cs.MapDrawer.MapDrawer
Displays and records error messages.

F

FormedContainer(). Constructor for class fi.helsinki.cs.MapDrawer.FormedContainer
FourEdgeScaler(). Constructor for class fi.helsinki.cs.MapDrawer.FourEdgeScaler
Initialise this scaler to MapDrawer's default full rectangle.
FourEdgeScaler(FourEdgeScaler). Constructor for class fi.helsinki.cs.MapDrawer.FourEdgeScaler
FourEdgeScaler(RelPoint, RelPoint, RelPoint, RelPoint). Constructor for class fi.helsinki.cs.MapDrawer.FourEdgeScaler
Initialise this scaler with vertices p1, p2, p3, p4.

G

getArea(int). Method in class fi.helsinki.cs.MapDrawer.CombinedLayout
Get a sub-layout of this layout.
getBoundRect(). Method in class fi.helsinki.cs.MapDrawer.FourEdgeScaler
Get the bounding rectangle of this area.
getBoundRect(). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
Get the bounding rectangle of this area.
getBoundRect(). Method in class fi.helsinki.cs.MapDrawer.NullScaler
Get the bounding rectangle of this area.
getBoundRect(). Method in class fi.helsinki.cs.MapDrawer.RectLayout
Gives the bounding rectangle of this RectLayout.
getChildAt(RelPoint). Method in class fi.helsinki.cs.MapDrawer.MapElement
Find child element at the specified position.
getParent(). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
getParent(). Method in class fi.helsinki.cs.MapDrawer.MapElement
getParent(). Method in interface fi.helsinki.cs.MapDrawer.ParseElement
Get the parent for this element.
getProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
This routine is not supported by layouts.
getProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.MapElement
getProperty(MapDProp). Method in interface fi.helsinki.cs.MapDrawer.ParseElement
Get a property of this element.
getProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.TextElement
Property supported: text.
gIcon(String). Static method in class fi.helsinki.cs.MapDrawer.MapDrawer
Static cache for images.

H

hd. Variable in class fi.helsinki.cs.MapDrawer.MapDParser
hdiv. Static variable in class fi.helsinki.cs.MapDrawer.Properties

I

i. Static variable in class fi.helsinki.cs.MapDrawer.Properties
icon. Static variable in class fi.helsinki.cs.MapDrawer.Properties
images. Static variable in class fi.helsinki.cs.MapDrawer.MapDrawer
in(RelRect). Method in class fi.helsinki.cs.MapDrawer.RelPoint
Checks whether this RelPoint is within the given RelRect.
init(). Method in class fi.helsinki.cs.MapDrawer.MapDrawer
interp. Static variable in class fi.helsinki.cs.MapDrawer.Properties
interp(double). Method in class fi.helsinki.cs.MapDrawer.StripeElement
Interpolates the endpoints into a vector of new size.

L

l. Static variable in class fi.helsinki.cs.MapDrawer.Properties
layout. Static variable in class fi.helsinki.cs.MapDrawer.Properties
LayoutObject(). Constructor for class fi.helsinki.cs.MapDrawer.LayoutObject
left. Static variable in class fi.helsinki.cs.MapDrawer.Properties
loc. Variable in class fi.helsinki.cs.MapDrawer.LayoutObject

M

MapDMouseListener(MapDrawer). Constructor for class fi.helsinki.cs.MapDrawer.MapDMouseListener
MapDParser(URL). Constructor for class fi.helsinki.cs.MapDrawer.MapDParser
The constructor.
MapDProp(). Constructor for class fi.helsinki.cs.MapDrawer.MapDProp
MapDrawer(). Constructor for class fi.helsinki.cs.MapDrawer.MapDrawer
MapElement(). Constructor for class fi.helsinki.cs.MapDrawer.MapElement
maxrand. Static variable in class fi.helsinki.cs.MapDrawer.MapElement
mouseClicked(MouseEvent). Method in class fi.helsinki.cs.MapDrawer.MapDMouseListener
mouseEntered(MouseEvent). Method in class fi.helsinki.cs.MapDrawer.MapDMouseListener
mouseExited(MouseEvent). Method in class fi.helsinki.cs.MapDrawer.MapDMouseListener
mousePressed(MouseEvent). Method in class fi.helsinki.cs.MapDrawer.MapDMouseListener
mouseReleased(MouseEvent). Method in class fi.helsinki.cs.MapDrawer.MapDMouseListener

N

name. Static variable in class fi.helsinki.cs.MapDrawer.Properties
NullScaler(). Constructor for class fi.helsinki.cs.MapDrawer.NullScaler

O

ownlayt. Variable in class fi.helsinki.cs.MapDrawer.MapElement

P

p. Variable in class fi.helsinki.cs.MapDrawer.LayoutObject
paint(Graphics). Method in class fi.helsinki.cs.MapDrawer.MapDrawer
Draws error messages if any, else draws the map (from cur).
parent. Variable in class fi.helsinki.cs.MapDrawer.MapElement
parseBlock(). Method in class fi.helsinki.cs.MapDrawer.MapDParser
parseClick(int, int). Method in class fi.helsinki.cs.MapDrawer.MapDrawer
Called by the mouse listener to parse clicks.
parseDouble(String). Method in class fi.helsinki.cs.MapDrawer.MapDProp
parseProperties(ParseElement). Method in class fi.helsinki.cs.MapDrawer.MapDParser
parseTag(). Method in class fi.helsinki.cs.MapDrawer.MapDParser
place. Static variable in class fi.helsinki.cs.MapDrawer.Properties
PointElement(). Constructor for class fi.helsinki.cs.MapDrawer.PointElement
prop. Variable in class fi.helsinki.cs.MapDrawer.MapDProp
Properties(). Constructor for class fi.helsinki.cs.MapDrawer.Properties
pt. Static variable in class fi.helsinki.cs.MapDrawer.Properties

R

r. Variable in class fi.helsinki.cs.MapDrawer.MapDParser
rand(). Method in class fi.helsinki.cs.MapDrawer.MapElement
Create pseudorandom numbers.
random. Variable in class fi.helsinki.cs.MapDrawer.MapElement
randomize. Static variable in class fi.helsinki.cs.MapDrawer.Properties
randseed. Variable in class fi.helsinki.cs.MapDrawer.MapElement
readBlock(). Method in class fi.helsinki.cs.MapDrawer.MapDParser
RectLayout(). Constructor for class fi.helsinki.cs.MapDrawer.RectLayout
RectLayout(RectLayout). Constructor for class fi.helsinki.cs.MapDrawer.RectLayout
RectLayout(RelRect). Constructor for class fi.helsinki.cs.MapDrawer.RectLayout
RelPoint(). Constructor for class fi.helsinki.cs.MapDrawer.RelPoint
Sets both coordinates to zero.
RelPoint(double, double). Constructor for class fi.helsinki.cs.MapDrawer.RelPoint
RelPoint(RelPoint). Constructor for class fi.helsinki.cs.MapDrawer.RelPoint
RelRect(). Constructor for class fi.helsinki.cs.MapDrawer.RelRect
Creates a RelRect of zero area placed at the origo.
RelRect(double, double, double, double). Constructor for class fi.helsinki.cs.MapDrawer.RelRect
RelRect(RelRect). Constructor for class fi.helsinki.cs.MapDrawer.RelRect
right. Static variable in class fi.helsinki.cs.MapDrawer.Properties
rotation. Static variable in class fi.helsinki.cs.MapDrawer.Properties
run(). Method in class fi.helsinki.cs.MapDrawer.MapDParser
Start parsing.

S

s. Static variable in class fi.helsinki.cs.MapDrawer.Properties
s. Variable in class fi.helsinki.cs.MapDrawer.RectLayout
scalePoint(RelPoint). Method in class fi.helsinki.cs.MapDrawer.FourEdgeScaler
Scales a point so that it is within the area between the four vertices.
scalePoint(RelPoint). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
Scale a point according to this context.
ScalePoint(RelPoint). Method in class fi.helsinki.cs.MapDrawer.NullScaler
scalePoint(RelPoint). Method in class fi.helsinki.cs.MapDrawer.RectLayout
Scales a RelPoint to the RelRect.
scalePoint(RelPoint, Stack). Method in class fi.helsinki.cs.MapDrawer.MapElement
Do a complete scaling on a point.
setParent(ParseElement). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
setParent(ParseElement). Method in class fi.helsinki.cs.MapDrawer.MapElement
setParent(ParseElement). Method in interface fi.helsinki.cs.MapDrawer.ParseElement
Set the parent for this element.
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.FourEdgeScaler
Properties supported by this LayoutObject: left, right, top, bottom, pt[nr], rotation
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.MapElement
Supported properties: name, place, color
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.NullScaler
setProperty(MapDProp). Method in interface fi.helsinki.cs.MapDrawer.ParseElement
Set a property for this element.
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.PointElement
Properties supported: pt (the location) icon (the image)
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.RectLayout
Parse properties.
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.StripeElement
Supported properties: pt[nr], interp, deviate
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.TextElement
Property supported: text.
setProperty(MapDProp). Method in class fi.helsinki.cs.MapDrawer.WindowLayout
Properties supported: hdiv (horizontal dividing coord.) vdiv (vertical dividing coord.)
shape. Static variable in class fi.helsinki.cs.MapDrawer.Properties
skipToStart(). Method in class fi.helsinki.cs.MapDrawer.MapDParser
stripe. Static variable in class fi.helsinki.cs.MapDrawer.Properties
StripeElement(). Constructor for class fi.helsinki.cs.MapDrawer.StripeElement

T

t. Static variable in class fi.helsinki.cs.MapDrawer.Properties
text. Static variable in class fi.helsinki.cs.MapDrawer.Properties
TextElement(). Constructor for class fi.helsinki.cs.MapDrawer.TextElement
top. Static variable in class fi.helsinki.cs.MapDrawer.Properties
topnode. Variable in class fi.helsinki.cs.MapDrawer.MapDParser
toPoint(Rectangle). Method in class fi.helsinki.cs.MapDrawer.RelPoint
Translate this RelPoint to Point.
toPolygon(). Method in class fi.helsinki.cs.MapDrawer.FourEdgeScaler
Give the shape of this area as a Polygon.
toPolygon(). Method in class fi.helsinki.cs.MapDrawer.LayoutObject
Give the shape of this area as a Polygon.
toPolygon(). Method in class fi.helsinki.cs.MapDrawer.NullScaler
Give the shape of this area as a Polygon.
toPolygon(). Method in class fi.helsinki.cs.MapDrawer.RectLayout
Give the shape of this area as a Polygon.
toString(). Method in class fi.helsinki.cs.MapDrawer.RelPoint
toString(). Method in class fi.helsinki.cs.MapDrawer.RelRect

V

val. Variable in class fi.helsinki.cs.MapDrawer.MapDProp
valAsInt(). Method in class fi.helsinki.cs.MapDrawer.MapDProp
Converts the value of the property into an int.
valAsNumber(). Method in class fi.helsinki.cs.MapDrawer.MapDProp
Converts the value of the property into a double.
valAsRelPoint(). Method in class fi.helsinki.cs.MapDrawer.MapDProp
Converts the value of the property into a RelPoint.
vdiv. Static variable in class fi.helsinki.cs.MapDrawer.Properties

W

WindowLayout(). Constructor for class fi.helsinki.cs.MapDrawer.WindowLayout

X

x. Variable in class fi.helsinki.cs.MapDrawer.RelPoint
The x coordinate of the point.
xScale(double). Method in class fi.helsinki.cs.MapDrawer.RelPoint
Scales the point so that its polar coord.

Y

y. Variable in class fi.helsinki.cs.MapDrawer.RelPoint
The y coordinate of the point.
yScale(double). Method in class fi.helsinki.cs.MapDrawer.RelPoint
Scales the point so that its polar coord.