gr.bluevibe.fire.components
Class Popup

java.lang.Object
  extended bygr.bluevibe.fire.components.Component
      extended bygr.bluevibe.fire.components.Panel
          extended bygr.bluevibe.fire.components.Popup
All Implemented Interfaces:
ComponentListener

public class Popup
extends Panel


Field Summary
 
Fields inherited from class gr.bluevibe.fire.components.Panel
animateDown, animateUp, control, internalHeight, pointerPos, rows, scrollY, verticalOffset, viewportHeight
 
Constructor Summary
Popup()
           
 
Method Summary
 int add(Component cmp)
           
 int getBottomOffset()
           
 javax.microedition.lcdui.Font getFont()
           
 int getPosX()
           
 int getPosY()
           
 int getTopOffset()
           
 boolean keyEvent(int key)
          Key events are propagated from FireScreen down to the components of the panel or the popup that contains them.
 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).
 boolean pointerEvent(int x, int y)
           
 void setBottomOffset(int bottomOffset)
           
 void setFont(javax.microedition.lcdui.Font componentFont)
           
 void setPosX(int posX)
           
 void setPosY(int posY)
           
 void setTopOffset(int topOffset)
           
 void validate()
          A validate event requests from the component to recalculate its internal properties suck as width/height etc.
 
Methods inherited from class gr.bluevibe.fire.components.Panel
addCommand, addCommand, clock, countRows, getLabel, getTicker, getViewportHeight, internalValidateEvent, isAnimated, isShowBorderDecorations, remove, remove, removeAll, removeCommands, resetPointer, setCommandListener, setContainerCurrent, setCurrent, setLabel, setShowBorderDecorations, setTicker, showAlert
 
Methods inherited from class gr.bluevibe.fire.components.Component
equals, fireValidateEvent, generateEvent, getHeight, getMinHeight, getMinWidth, getWidth, isSelected, isTraversable, setHeight, setMinHeight, setMinWidth, setSelected, setWidth
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Popup

public Popup()
Method Detail

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 Panel

add

public int add(Component cmp)
Overrides:
add in class Panel

pointerEvent

public boolean pointerEvent(int x,
                            int y)
Overrides:
pointerEvent in class Panel

keyEvent

public boolean keyEvent(int key)
Description copied from class: Component
Key events are propagated from FireScreen down to the components of the panel or the popup that contains them. If a component if not traversable it will not recieve key events.

Overrides:
keyEvent in class Panel

getPosX

public int getPosX()

setPosX

public void setPosX(int posX)

getPosY

public int getPosY()

setPosY

public void setPosY(int posY)

getFont

public javax.microedition.lcdui.Font getFont()

setFont

public void setFont(javax.microedition.lcdui.Font componentFont)

getTopOffset

public int getTopOffset()

setTopOffset

public void setTopOffset(int topOffset)

getBottomOffset

public int getBottomOffset()

setBottomOffset

public void setBottomOffset(int bottomOffset)

validate

public void validate()
Description copied from class: Component
A validate event requests from the component to recalculate its internal properties suck as width/height etc.

Overrides:
validate in class Panel
See Also:
Component.validate()