net.rim.blackberry.api.bbm.platform.ui.chat.container
Class OverlappingFieldManager
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.OverlappingFieldManager
- All Implemented Interfaces:
- AdjustmentListener, FieldVisibleRectChangeListener, IComponent, InputMethodListener
- public class OverlappingFieldManager
- extends Manager
This manager can be used to position two fields such that their bottom edges are aligned.
This manager is useful for placing the reply field in front of the message list manager,
in order to save space. The reply field can be hidden using the toggler once the user composes and
sends the message.
- Since:
- BBM SDK 1.0
|
Method Summary |
protected boolean |
isScrollCopyable()
Does not support copying while scrolling. |
protected void |
sublayout(int maxWidth,
int maxHeight)
Lays out first and second fields to align their bottom edges. |
_first
protected Field _first
- Since:
- BBM SDK 1.0
_second
protected Field _second
- Since:
- BBM SDK 1.0
OverlappingFieldManager
public OverlappingFieldManager(Field first,
Field second)
- Create an instance of the manager.
- Parameters:
first - field to be managedsecond - field to be managed- Throws:
IllegalArgumentException - if one of the provided fields is null- Since:
- BBM SDK 1.0
isScrollCopyable
protected boolean isScrollCopyable()
- Does not support copying while scrolling.
- Returns:
false- Since:
- BBM SDK 1.0
sublayout
protected void sublayout(int maxWidth,
int maxHeight)
- Lays out first and second fields to align their bottom edges.
- Parameters:
maxWidth - width available for this managermaxHeight - height available for this manager- 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.