|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.bluevibe.fire.components.Component
gr.bluevibe.fire.components.Panel
Field Summary | |
protected boolean |
animateDown
|
protected boolean |
animateUp
|
protected FireScreen |
control
|
protected int |
internalHeight
|
protected int |
pointerPos
|
protected java.util.Vector |
rows
|
protected int |
scrollY
|
protected int |
verticalOffset
|
protected int |
viewportHeight
|
Constructor Summary | |
Panel()
|
Method Summary | |
int |
add(Component cmp)
|
void |
addCommand(javax.microedition.lcdui.Command c)
Add a command to the components. |
void |
addCommand(javax.microedition.lcdui.Command popupCmd,
Popup popup)
|
boolean |
clock()
Kitame an kapoio apo ta components pou fenonte ston panel einai animated. |
int |
countRows()
|
java.lang.String |
getLabel()
|
FTicker |
getTicker()
|
int |
getViewportHeight()
|
void |
internalValidateEvent(Component c)
A components that requires (Validation) redrawing can request it from its container using this method. |
boolean |
isAnimated()
If a componets states that it is animated, it will receive periodically clock events in order to update its animation. |
boolean |
isShowBorderDecorations()
|
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)
|
boolean |
remove(Component cmp)
|
void |
remove(int pos)
|
void |
removeAll()
Removes all components from this panel. |
void |
removeCommands()
|
void |
resetPointer()
|
void |
setCommandListener(CommandListener l)
|
void |
setContainerCurrent()
A component can request that is container will be made current, using this method. |
void |
setCurrent(javax.microedition.lcdui.Displayable d)
A component can request the display of a Displayable from the container using this method. |
void |
setLabel(java.lang.String label)
|
void |
setShowBorderDecorations(boolean showBordersDecorations)
|
void |
setTicker(FTicker ticker)
|
void |
showAlert(java.lang.String message,
javax.microedition.lcdui.Image img)
|
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.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 |
Field Detail |
protected java.util.Vector rows
protected FireScreen control
protected int internalHeight
protected int verticalOffset
protected int pointerPos
protected int viewportHeight
protected int scrollY
protected boolean animateUp
protected boolean animateDown
Constructor Detail |
public Panel()
Method Detail |
public void paint(javax.microedition.lcdui.Graphics g)
Component
paint
in class Component
g
- the area on witch the component will draw it self.public FTicker getTicker()
public void setTicker(FTicker ticker)
public int add(Component cmp)
public int countRows()
public boolean remove(Component cmp)
public void remove(int pos)
public boolean pointerEvent(int x, int y)
pointerEvent
in class Component
public boolean keyEvent(int key)
Component
keyEvent
in class Component
key
-
public void addCommand(javax.microedition.lcdui.Command c)
Component
addCommand
in class Component
c
- public void removeCommands()
public void addCommand(javax.microedition.lcdui.Command popupCmd, Popup popup)
public void setCommandListener(CommandListener l)
setCommandListener
in class Component
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public void removeAll()
public boolean clock()
clock
in class Component
public void internalValidateEvent(Component c)
ComponentListener
internalValidateEvent
in interface ComponentListener
c
- the issuer of the Validate eventpublic void setCurrent(javax.microedition.lcdui.Displayable d)
ComponentListener
setCurrent
in interface ComponentListener
setCurrent
in class Component
public void setContainerCurrent()
ComponentListener
setContainerCurrent
in interface ComponentListener
setContainerCurrent
in class Component
public void validate()
Component
validate
in class Component
Component.validate()
public boolean isAnimated()
Component
isAnimated
in class Component
public void showAlert(java.lang.String message, javax.microedition.lcdui.Image img)
public void resetPointer()
public boolean isShowBorderDecorations()
public void setShowBorderDecorations(boolean showBordersDecorations)
public int getViewportHeight()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |