|
Apime v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.java4ever.apime.ui.IComponent
com.java4ever.apime.ui.ITextComponent
com.java4ever.apime.ui.ILabel
com.java4ever.apime.ui.IProgressBar
Barra de progreso.
| Field Summary |
| Fields inherited from class com.java4ever.apime.ui.IComponent |
CURSOR_ENABLED_ALWAYS, CURSOR_ENABLED_NEVER, CURSOR_ENABLED_SWITCH, skin |
| Constructor Summary | |
IProgressBar(java.lang.String text,
int max)
Crea la barra. |
|
| Method Summary | |
int |
getMax()
Devuelve el valor máximo. |
int |
getPercentage()
Devuelve el porcentaje actual [0..100]. |
int |
getProgressColor()
Devuelve el color de la barra de progreso. |
int |
getSkinId()
Devuelve el Id del componente dentro del skin. |
java.lang.String |
getText()
Devuelve el texto. |
int |
getValue()
Devuelve el valor actual. |
void |
inc()
Incrementa el progreso. |
void |
paintComponent(javax.microedition.lcdui.Graphics g)
Pinta el componente. |
void |
processSkinProperties()
Procesa las propiedades del skin para el componente. |
void |
setMax(int max)
Asigna el valor máximo. |
void |
setProgressColor(int color)
Cambia el color de la barra de progreso. |
void |
setText(java.lang.String text)
Cambia el texto. |
void |
setValue(int value)
Asigna el valor actual. |
| Methods inherited from class com.java4ever.apime.ui.ILabel |
getImage, setImage |
| Methods inherited from class com.java4ever.apime.ui.ITextComponent |
getAlignment, getHorizontalAlignment, getTextListener, getVerticalAlignment, processTextEvent, setAlignment, setHorizontalAlignment, setTextListener, setVerticalAlignment |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IProgressBar(java.lang.String text,
int max)
text - Texto (si hay un '%' lo reemplaza por 'porcentaje%')max - Valor máximo| Method Detail |
public void setText(java.lang.String text)
setText in class ITextComponenttext - Texto (si hay un '%' lo reemplaza por 'porcentaje%')public java.lang.String getText()
getText in class ITextComponentpublic void setValue(int value)
value - Valorpublic int getValue()
public void setMax(int max)
max - Valorpublic int getMax()
public void inc()
public int getPercentage()
public void setProgressColor(int color)
color - Colorpublic int getProgressColor()
public int getSkinId()
IComponent
getSkinId in class ILabelpublic void processSkinProperties()
IComponent
processSkinProperties in class IComponentpublic void paintComponent(javax.microedition.lcdui.Graphics g)
IComponent
paintComponent in class ILabel
|
Apime v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||