|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.rim.device.api.ui.Field
|
+--net.rim.device.api.ui.component.TextField
|
+--net.rim.device.api.ui.component.BasicEditField
|
+--net.rim.device.api.ui.component.EditField
|
+--net.rim.device.api.ui.component.AutoTextEditField
|
+--net.rim.device.api.ui.component.ActiveAutoTextEditField
|
+--net.rim.blackberry.api.bbm.platform.ui.chat.component.ReplyField
This field is used to compose messages with smiley support.
| Constructor Summary | ||
ReplyField()
Default reply field with getMaxChars() as the maximum number of characters and
the 0 as the style bit. |
||
ReplyField(int max,
long style)
Creates an instance of the reply field with provided parameters. |
||
ReplyField(long style)
Creates an instance of the reply field with getMaxChars() as the maximum number
of characters. |
||
| Method Summary | ||
void |
clear()
Clears the field with FieldChangeListener.PROGRAMMATIC flag. |
|
static int |
getMaxChars()
Returns the default maximum number of characters allowed in this field. |
|
String |
getText()
Returns empty string if no text was entered into the field; otherwise, value contained in this field. |
|
boolean |
isEmpty()
Returns true if no text was entered into the field and false otherwise. |
|
| Constructor Detail |
public ReplyField()
getMaxChars() as the maximum number of characters and
the 0 as the style bit.
public ReplyField(int max,
long style)
max - maximum number of characters.style - style passed to the super (EDITABLE is included)public ReplyField(long style)
getMaxChars() as the maximum number
of characters.style - style passed to the super implementation| Method Detail |
public void clear()
FieldChangeListener.PROGRAMMATIC flag.public static int getMaxChars()
public String getText()
public boolean isEmpty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999- Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.