gr.bluevibe.fire.components
Class FGauge

java.lang.Object
  extended bygr.bluevibe.fire.components.Component
      extended bygr.bluevibe.fire.components.FGauge

public class FGauge
extends Component


Constructor Summary
FGauge(int width, int height)
           
 
Method Summary
 boolean clock()
          Animated components receive clock events in order to update their animation.
 boolean isAnimated()
          If a componets states that it is animated, it will receive periodically clock events in order to update its animation.
 void paint(javax.microedition.lcdui.Graphics g)
          Paint is called by the container of the component to allow it to draw itself on Graphics g The drawable area on g is (0,0,width,height).
 
Methods inherited from class gr.bluevibe.fire.components.Component
addCommand, equals, fireValidateEvent, generateEvent, getHeight, getMinHeight, getMinWidth, getWidth, isSelected, isTraversable, keyEvent, pointerEvent, setCommandListener, setContainerCurrent, setCurrent, setHeight, setMinHeight, setMinWidth, setSelected, setWidth, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FGauge

public FGauge(int width,
              int height)
Method Detail

isAnimated

public boolean isAnimated()
Description copied from class: Component
If a componets states that it is animated, it will receive periodically clock events in order to update its animation.

Overrides:
isAnimated in class Component
Returns:

clock

public boolean clock()
Description copied from class: Component
Animated components receive clock events in order to update their animation.

Overrides:
clock in class Component
Returns:
true if repainting is needed after the clock event.

paint

public void paint(javax.microedition.lcdui.Graphics g)
Description copied from class: Component
Paint is called by the container of the component to allow it to draw itself on Graphics g The drawable area on g is (0,0,width,height).

Overrides:
paint in class Component
Parameters:
g - the area on witch the component will draw it self.