net.rim.blackberry.api.bbm.platform.ui.chat.container
Class BottomUpManager
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.BottomUpManager
- All Implemented Interfaces:
- AdjustmentListener, FieldVisibleRectChangeListener, IComponent, InputMethodListener
- public class BottomUpManager
- extends Manager
Vertical manager that gives its first field all the height that remains after laying out
the other fields. This manager is useful if you would like to embed your chat controls
into a window which has most of the height taken up by other application specific context
(e.g. game board, news feed, streaming video). For example,
BottomUpManager m = new BottomUpManager();
m.add(videoField); // this field should use all the height given to it by the manager (Field.USE_ALL_HEIGHT)
m.add(chatControllerManager);
- Since:
- BBM SDK 1.0
|
Constructor Summary |
BottomUpManager()
Creates an instance of the manager with a default USE_ALL_HEIGHT style. |
BottomUpManager(long style)
Creates an instance of the manager with a default USE_ALL_HEIGHT style and the
specified style. |
|
Method Summary |
protected void |
sublayout(int width,
int height)
Gives its first field all the height that remains after laying out the other fields. |
BottomUpManager
public BottomUpManager()
- Creates an instance of the manager with a default
USE_ALL_HEIGHT style.
- Since:
- BBM SDK 1.0
BottomUpManager
public BottomUpManager(long style)
- Creates an instance of the manager with a default
USE_ALL_HEIGHT style and the
specified style.
- Parameters:
style - style to pass to the super implementation- Since:
- BBM SDK 1.0
sublayout
protected void sublayout(int width,
int height)
- Gives its first field all the height that remains after laying out the other fields.
- Parameters:
width - width available for layoutheight - height available for layout- Since:
- BBM SDK 1.0
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.