|
|||||||||||
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.Row
Field Summary | |
protected javax.microedition.lcdui.Image |
image
|
protected FString |
label
|
protected javax.microedition.lcdui.Image |
selectedImage
|
protected FString |
text
|
Constructor Summary | |
Row()
|
|
Row(javax.microedition.lcdui.Image img)
|
|
Row(javax.microedition.lcdui.Image img,
java.lang.String txt)
|
|
Row(java.lang.String txt)
|
|
Row(java.lang.String txt,
javax.microedition.lcdui.Image img)
|
Method Summary | |
int |
getAlignment()
|
java.lang.Integer |
getBgColor()
|
int |
getColor()
|
java.lang.Integer |
getFilled()
|
javax.microedition.lcdui.Font |
getFont()
|
java.lang.Integer |
getForcedTextWidth()
|
java.lang.String |
getId()
|
javax.microedition.lcdui.Image |
getImage()
|
int |
getImageHpos()
|
int |
getImageVpos()
|
int |
getNumberOfLines()
|
javax.microedition.lcdui.Image |
getSelectedImage()
|
java.lang.String |
getText()
|
int |
getTextBoxConstrains()
|
int |
getTextBoxSize()
|
int |
getTextHpos()
|
int |
getTextVpos()
|
boolean |
isBorder()
|
boolean |
isEditable()
|
boolean |
isFullSizeHighlight()
|
boolean |
isOverlay()
|
boolean |
isTraversable()
If a component is traversable it can have commands associated with it and receive key and tap events (and vice versa). |
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 |
setAlignment(int alignment)
|
void |
setBgColor(java.lang.Integer bgColor)
|
void |
setBorder(boolean border)
|
void |
setColor(int color)
|
void |
setEditable(boolean editable)
Sets this row to editable (or not). |
void |
setFilled(java.lang.Integer filled)
|
void |
setFont(javax.microedition.lcdui.Font f)
|
void |
setForcedTextWidth(java.lang.Integer forcedTextWidth)
|
void |
setFullSizeHighlight(boolean fullSizeHighlight)
|
void |
setId(java.lang.String id)
|
void |
setImage(javax.microedition.lcdui.Image image)
|
void |
setImageHpos(int imageHpos)
|
void |
setImageVpos(int imageVpos)
|
void |
setLabel(java.lang.String labelStr,
javax.microedition.lcdui.Font labelFont,
java.lang.Integer width,
int labelVpos)
|
void |
setNumberOfLines(int numberOfLines)
Sets the number of text lines on this row. |
void |
setOverlay(boolean overlay)
|
void |
setSelectedImage(javax.microedition.lcdui.Image selectedImage)
|
void |
setText(java.lang.String text)
|
void |
setTextBoxConstrains(int textBoxConstrains)
|
void |
setTextBoxSize(int textBoxSize)
|
void |
setTextHpos(int textHpos)
|
void |
setTextVpos(int textVpos)
|
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 |
addCommand, clock, equals, fireValidateEvent, generateEvent, getHeight, getMinHeight, getMinWidth, getWidth, isAnimated, isSelected, setCommandListener, setContainerCurrent, setCurrent, 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 javax.microedition.lcdui.Image image
protected javax.microedition.lcdui.Image selectedImage
protected FString text
protected FString label
Constructor Detail |
public Row()
public Row(java.lang.String txt, javax.microedition.lcdui.Image img)
public Row(javax.microedition.lcdui.Image img)
public Row(java.lang.String txt)
public Row(javax.microedition.lcdui.Image img, java.lang.String txt)
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 boolean pointerEvent(int x, int y)
pointerEvent
in class Component
public boolean keyEvent(int key)
Component
keyEvent
in class Component
key
-
public javax.microedition.lcdui.Image getImage()
public void setImage(javax.microedition.lcdui.Image image)
public int getImageHpos()
public void setImageHpos(int imageHpos)
public int getImageVpos()
public void setImageVpos(int imageVpos)
public boolean isOverlay()
public void setOverlay(boolean overlay)
public javax.microedition.lcdui.Image getSelectedImage()
public void setSelectedImage(javax.microedition.lcdui.Image selectedImage)
public void setText(java.lang.String text)
public java.lang.String getText()
public javax.microedition.lcdui.Font getFont()
public void setFont(javax.microedition.lcdui.Font f)
public int getTextHpos()
public void setTextHpos(int textHpos)
public int getTextVpos()
public void setTextVpos(int textVpos)
public void validate()
Component
validate
in class Component
public java.lang.Integer getBgColor()
public void setBgColor(java.lang.Integer bgColor)
public int getColor()
public void setColor(int color)
public int getAlignment()
public void setAlignment(int alignment)
public boolean isBorder()
public void setBorder(boolean border)
public java.lang.Integer getFilled()
public void setFilled(java.lang.Integer filled)
public boolean isEditable()
public void setEditable(boolean editable)
editable
- public int getTextBoxConstrains()
public void setTextBoxConstrains(int textBoxConstrains)
public int getTextBoxSize()
public boolean isTraversable()
Component
isTraversable
in class Component
public void setTextBoxSize(int textBoxSize)
public java.lang.String getId()
public void setLabel(java.lang.String labelStr, javax.microedition.lcdui.Font labelFont, java.lang.Integer width, int labelVpos)
public void setId(java.lang.String id)
public java.lang.Integer getForcedTextWidth()
public void setForcedTextWidth(java.lang.Integer forcedTextWidth)
public void setNumberOfLines(int numberOfLines)
numberOfLines
- public int getNumberOfLines()
public boolean isFullSizeHighlight()
public void setFullSizeHighlight(boolean fullSizeHighlight)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |