|
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.ITextField
com.java4ever.apime.ui.ITextArea
Area de texto.
| Field Summary |
| Fields inherited from class com.java4ever.apime.ui.IComponent |
CURSOR_ENABLED_ALWAYS, CURSOR_ENABLED_NEVER, CURSOR_ENABLED_SWITCH, skin |
| Constructor Summary | |
ITextArea(java.lang.String text)
Crea el área de texto. |
|
| Method Summary | |
int |
getSkinId()
Devuelve el Id del componente dentro del skin. |
boolean |
isPack()
Devuelve si ajusta el tamaño al del texto. |
boolean |
isWrap()
Devuelve si corta las líneas. |
void |
paintComponent(javax.microedition.lcdui.Graphics g)
Pinta el componente. |
protected void |
processKeyEvent(int type,
int code,
int action,
char character)
Procesa un evento de teclado. |
void |
processSkinProperties()
Procesa las propiedades del skin para el componente. |
protected void |
recalculate()
Recalcula el tamaño. |
void |
setCaretPosition(int position)
Posición del cursor. |
void |
setPack(boolean pack)
Indica si ajusta el tamaño al del texto. |
void |
setSize(int width,
int height)
Cambia el tamaño del componente. |
protected void |
setText(java.lang.String text,
boolean caret)
Cambia el texto. |
void |
setWrap(boolean wrap)
Indica si corta las líneas. |
| Methods inherited from class com.java4ever.apime.ui.ITextField |
getCaretBlink, getCaretColor, getCaretPosition, getCharAtCaret, isCaretVisible, paintCaret, processFocusEvent, setCaretBlink, setCaretColor, setText |
| Methods inherited from class com.java4ever.apime.ui.ITextComponent |
getAlignment, getHorizontalAlignment, getText, getTextListener, getVerticalAlignment, processTextEvent, setAlignment, setHorizontalAlignment, setTextListener, setVerticalAlignment |
| Methods inherited from class com.java4ever.apime.ui.IComponent |
contains, getActionListener, getBackground, getBorder, getBounds, getComponentListener, getCursor, getCursorEnabled, getFocusListener, getFont, getForeground, getHeight, getKeyListener, getLocation, getLocationOnScreen, getMouseListener, getParent, getRoot, getScrollPane, getSize, getToolTip, getWidth, getX, getY, isEnabled, isFocusOwner, isVisible, paint, processActionEvent, processComponentEvent, processMouseEvent, repaint, requestFocus, setActionListener, setBackground, setBorder, setBounds, setComponentListener, setCursor, setCursorEnabled, setEnabled, setFocusListener, setFont, setForeground, setKeyListener, setLocation, setMouseListener, setToolTip, setVisible, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ITextArea(java.lang.String text)
text - Texto| Method Detail |
protected void setText(java.lang.String text,
boolean caret)
ITextField
setText in class ITextFieldtext - Nuevo textocaret - True para poner el cursor al inicio
public void setSize(int width,
int height)
IComponent
setSize in class IComponentwidth - Anchoheight - Altopublic void setWrap(boolean wrap)
wrap - True para cortar las líneaspublic boolean isWrap()
public void setPack(boolean pack)
pack - True para ajustarpublic boolean isPack()
public void setCaretPosition(int position)
ITextField
setCaretPosition in class ITextFieldposition - Posición [0..tamaño del texto]protected void recalculate()
public int getSkinId()
IComponent
getSkinId in class ITextFieldpublic void processSkinProperties()
IComponent
processSkinProperties in class ITextFieldpublic void paintComponent(javax.microedition.lcdui.Graphics g)
IComponent
paintComponent in class ITextField
protected void processKeyEvent(int type,
int code,
int action,
char character)
IComponent
processKeyEvent in class ITextField
|
Apime v1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||