net.rim.blackberry.api.bbm.platform.ui.chat.component
Class IncomingTextMessageField

java.lang.Object
  |
  +--net.rim.device.api.ui.Field
        |
        +--net.rim.device.api.ui.component.TextField
              |
              +--net.rim.device.api.ui.component.RichTextField
                    |
                    +--net.rim.device.api.ui.component.ActiveRichTextField
                          |
                          +--net.rim.blackberry.api.bbm.platform.ui.chat.component.TextMessageField
                                |
                                +--net.rim.blackberry.api.bbm.platform.ui.chat.component.IncomingTextMessageField
All Implemented Interfaces:
ActiveRegionSupport.ActiveRegionFieldIf, CookieProvider, FieldLabelProvider, Formatter.TextRenderer, IComponent, IInputLocationRequests, InputMethodListener, InputMethodRequests, ITextInputStyle, MessageFieldProvider

public class IncomingTextMessageField
extends TextMessageField
implements MessageFieldProvider

Text Message Field representing an incoming message. This field can be added to the MessageListManager.

Since:
BBM SDK 1.0

Field Summary
 
Fields inherited from class net.rim.blackberry.api.bbm.platform.ui.chat.component.TextMessageField
_borderColor, _message
 
Constructor Summary
IncomingTextMessageField(TextMessage message)
          Creates a new instance of the field.
IncomingTextMessageField(TextMessage message, long style, int borderColor)
          Creates a new instance of the field.
 
Method Summary
 boolean isIncoming()
          Returns true.
 
Methods inherited from class net.rim.blackberry.api.bbm.platform.ui.chat.component.TextMessageField
createFieldContainer, createSenderField, drawFocus, getBorderColor, getField, getSender, getSenderDisplayName, isEditable, scrollHorizontally, scrollVertically, shouldGroupWithLastField
 
Methods inherited from interface net.rim.blackberry.api.bbm.platform.ui.chat.MessageFieldProvider
createFieldContainer, createSenderField, getField, shouldGroupWithLastField
 

Constructor Detail

IncomingTextMessageField

public IncomingTextMessageField(TextMessage message)
Creates a new instance of the field.
Parameters:
message - text tessage
Since:
BBM SDK 1.0

IncomingTextMessageField

public IncomingTextMessageField(TextMessage message,
                                long style,
                                int borderColor)
Creates a new instance of the field.
Parameters:
message - text tessage
style - style bit passed to the super
borderColor - color of the border as defined by ChatBorderFactory
Since:
BBM SDK 1.0
Method Detail

isIncoming

public boolean isIncoming()
Returns true.
Overrides:
isIncoming in class TextMessageField
Returns:
true
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.