|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jcontrol.ui.vole.Component
|
+--jcontrol.ui.vole.meter.Fan
This class Fanimplements a simple animation that represents
a fan that can be used for e.g. system monitor applications.
| Field Summary | |
(package private) java.lang.String |
name
|
(package private) boolean |
whichImage
|
| Fields inherited from class jcontrol.ui.vole.Component |
focusOwner, font, g, height, listener, parent, visible, width, x, y |
| Constructor Summary | |
Fan(java.lang.String name,
int x,
int y)
Create a Fan with the specified name and coordinates. |
|
| Method Summary | |
void |
animate()
Animate the fan. |
void |
paint()
Paint the fan. |
void |
setValue(int value)
Sets the fans value. |
boolean |
transferFocus()
Fan can't gain input focus. |
void |
validate()
Compute this component's preferred size and assign internal values width and height. |
| Methods inherited from class jcontrol.ui.vole.Component |
getBounds, getParent, isVisible, onActionEvent, onKeyEvent, remove, removeFocus, requestFocus, setBounds, setFont, setGraphics, setLocation, setParent, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, notifyAll, wait |
| Field Detail |
java.lang.String name
boolean whichImage
| Constructor Detail |
public Fan(java.lang.String name,
int x,
int y)
name - x - y - | Method Detail |
public void animate()
animate in interface Animateablepublic void paint()
paint in class Componentpublic void setValue(int value)
value - the valuepublic boolean transferFocus()
transferFocus in class Componentpublic void validate()
validate in class Component
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||