|
|||||||||
| 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.ScrollView
|
+--net.rim.device.api.ui.Manager
|
+--net.rim.blackberry.api.bbm.platform.ui.chat.container.ReplyFieldManager
Manager to layout ReplyField and SmileyButton horizontally.
The manager lays out the smiley button and gives the rest of the width to the reply field.
Left-to-Rightness is respected by this manager.
| Constructor Summary | ||
ReplyFieldManager()
Creates an instance of the manager with a default background. |
||
ReplyFieldManager(Bitmap backgroundBitmap)
Creates an instance of the manager. |
||
ReplyFieldManager(int[] backgroundColors)
Creates an instance of the manager. |
||
| Method Summary | ||
protected int |
moveFocus(int amount,
int status,
int time)
Ensures that horizontal scrolls do not leave this manager. |
|
protected int |
nextFocus(int direction,
int axis)
Scrolling down skips the smiley field. |
|
protected void |
sublayout(int maxWidth,
int maxHeight)
Lays out the reply field and smiley fields. |
|
| Constructor Detail |
public ReplyFieldManager()
public ReplyFieldManager(Bitmap backgroundBitmap)
Graphics#tileRop( int rop, int x, int y, int width, int height, Bitmap source, int left, int top ).IllegalArgumentException - if the provided image is nullpublic ReplyFieldManager(int[] backgroundColors)
Graphics#drawShadedFilledPath( int[] xPts, int[] yPts, byte[] pointTypes, int[] colors, int[] offsets ).IllegalArgumentException - if the provided colors array is null| Method Detail |
protected int moveFocus(int amount,
int status,
int time)
Manager#moveFocus(int amount, int status, int time)
protected int nextFocus(int direction,
int axis)
direction - Direction the focus is moving within the fieldaxis - The axis of movement
protected void sublayout(int maxWidth,
int maxHeight)
maxWidth - width available for this managermaxHeight - height available for this managerIllegalStateException - if the manager does not have exactly two fields
|
|||||||||
| 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.