LuxChat  2.0
Instant messenger for iOS
Class Methods | Properties | List of all members
JSQMessagesToolbarContentView Class Reference

#import <JSQMessagesToolbarContentView.h>

Inheritance diagram for JSQMessagesToolbarContentView:

Class Methods

(UINib *) + nib
 

Properties

JSQMessagesComposerTextViewtextView
 
UIButton * leftBarButtonItem
 
CGFloat leftBarButtonItemWidth
 
UIView * leftBarButtonContainerView
 
UIButton * rightBarButtonItem
 
CGFloat rightBarButtonItemWidth
 
UIView * rightBarButtonContainerView
 

Detailed Description

A JSQMessagesToolbarContentView represents the content displayed in a JSQMessagesInputToolbar. These subviews consist of a left button, a text view, and a right button. One button is used as the send button, and the other as the accessory button. The text view is used for composing messages.

Method Documentation

+ (UINib *) nib

Returns the UINib object initialized for a JSQMessagesToolbarContentView.

Returns
The initialized UINib object or nil if there were errors during initialization or the nib file could not be located.

Property Documentation

- (UIView*) leftBarButtonContainerView
readnonatomicweak

The container view for the leftBarButtonItem.

You may use this property to add additional button items to the left side of the toolbar content view. However, you will be completely responsible for responding to all touch events for these buttons in your JSQMessagesViewController subclass.

- (UIButton*) leftBarButtonItem
readwritenonatomicweak

A custom button item displayed on the left of the toolbar content view.

The frame height of this button is ignored. When you set this property, the button is fitted within a pre-defined default content view, the leftBarButtonContainerView, whose height is determined by the height of the toolbar. However, the width of this button will be preserved. You may specify a new width using leftBarButtonItemWidth. If the frame of this button is equal to CGRectZero when set, then a default frame size will be used. Set this value to nil to remove the button.

- (CGFloat) leftBarButtonItemWidth
readwritenonatomicassign

Specifies the width of the leftBarButtonItem.

This property modifies the width of the leftBarButtonContainerView.

- (UIView*) rightBarButtonContainerView
readnonatomicweak

The container view for the rightBarButtonItem.

You may use this property to add additional button items to the right side of the toolbar content view. However, you will be completely responsible for responding to all touch events for these buttons in your JSQMessagesViewController subclass.

- (UIButton*) rightBarButtonItem
readwritenonatomicweak

A custom button item displayed on the right of the toolbar content view.

The frame height of this button is ignored. When you set this property, the button is fitted within a pre-defined default content view, the rightBarButtonContainerView, whose height is determined by the height of the toolbar. However, the width of this button will be preserved. You may specify a new width using rightBarButtonItemWidth. If the frame of this button is equal to CGRectZero when set, then a default frame size will be used. Set this value to nil to remove the button.

- (CGFloat) rightBarButtonItemWidth
readwritenonatomicassign

Specifies the width of the rightBarButtonItem.

This property modifies the width of the rightBarButtonContainerView.

- (JSQMessagesComposerTextView*) textView
readnonatomicweak

Returns the text view in which the user composes a message.


The documentation for this class was generated from the following files: