Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
D
E
G
H
L
M
R
S
U
A
adjustHappiness(double)
- Method in class
Emote
Changes the current level of the 'happiness' slider by the specified amount, deltaH.
adjustTemperature(double)
- Method in class
Emote
Changes the current level of the 'anger' slider by the specified amount, deltaA.
adjustValue(double)
- Method in class
Slider
This method changes the value of the slider by the integer value that is passed in.
D
downKeyPressed()
- Method in class
EKeyListener
E
EKeyListener
- class
EKeyListener
.
EKeyListener(Component, Emote)
- Constructor for class
EKeyListener
Emote
- class
Emote
.
Emote(int, int)
- Constructor for class
Emote
Creates and Emote of the specified width and height.
Eyebrow
- class
Eyebrow
.
Eyebrow(DrawingPane, Slider, double, DrawingGrid)
- Constructor for class
Eyebrow
See EyeComponent for detail on parameters.
EyeComponent
- class
EyeComponent
.
EyeComponent(DrawingPane, Slider, double, DrawingGrid)
- Constructor for class
EyeComponent
G
getDrawingPane()
- Method in class
Emote
Returns the DrawingPane that the Emote is on.
getFraction()
- Method in class
Slider
This method returns the percentage of the slider's potential positive or negative value.
getHappiness()
- Method in class
Emote
Returns the current value of the happiness slider.
getTemperature()
- Method in class
Emote
Returns the current value of the temperature slider.
getValue()
- Method in class
Slider
This method returns the current value of the slider.
H
Head
- class
Head
.
Head(DrawingPane, double, double, Slider, DrawingGrid)
- Constructor for class
Head
L
leftKeyPressed()
- Method in class
EKeyListener
M
Mouth
- class
Mouth
.
Mouth(DrawingPane, DrawingGrid, int, int, Slider)
- Constructor for class
Mouth
R
rightKeyPressed()
- Method in class
EKeyListener
S
setColor(Color)
- Method in class
Head
setHappiness(double)
- Method in class
Emote
Changes the happiness to the new value passed in.
setTemperature(double)
- Method in class
Emote
Changes the temperature to the new value passed in.
setValue(double)
- Method in class
Slider
This method sets the value of the slider to a specified value.
Slider
- class
Slider
.
Slider(String, double, double, double)
- Constructor for class
Slider
U
update()
- Method in class
Eyebrow
Changes the angle of the Eyebrow based on happiness.
update()
- Method in class
EyeComponent
Calls 'update()' on the Eyebrow.
update()
- Method in class
Head
Changes the color of the head based on the value of the temperature Slider.
update()
- Method in class
Mouth
Changes the vertical size of the mouth based on the value of the happiness Slider.
updateFeatures()
- Method in class
Emote
Calls upon each of the features of the face to change themselves based on the values of the 'happiness,' 'stress,' and 'anger' sliders.
upKeyPressed()
- Method in class
EKeyListener
A
D
E
G
H
L
M
R
S
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes