net.rim.device.api.ui.component.pane
Class PaneManagerFactory

java.lang.Object
  extended by net.rim.device.api.ui.component.pane.PaneManagerFactory

public class PaneManagerFactory
extends Object

Factory class to create and setup a PaneManagerView instance. The PaneManagerView returned will have its associcated PaneManagerModel and PaneManagerController connceted. It can be used to create either a scrollable pane manager or a tabbed pane manager.

Since:
BlackBerry API 7.0.0

Method Summary
static PaneManagerView createScrollablePaneManager()
          Creates a PaneManagerView object with an assoicated HorizontalScrollableController and PaneManagerModel setup.
static PaneManagerView createScrollablePaneManagerWithStyle(int titleStyle, long paneViewStyle, long paneManagerStyle)
          Creates a PaneManagerView object with an assoicated HorizontalScrollableController and PaneManagerModel setup.
static PaneManagerView createTabbedPaneManager()
          Creates a PaneManagerView object with an assoicated HorizontalTabController and PaneManagerModel setup.
static PaneManagerView createTabbedPaneManagerWithStyle(int titleStyle, long paneViewStyle, long paneManagerStyle)
          Creates a PaneManagerView object with an assoicated HorizontalTabController and PaneManagerModel setup.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

createScrollablePaneManager

public static PaneManagerView createScrollablePaneManager()
Creates a PaneManagerView object with an assoicated HorizontalScrollableController and PaneManagerModel setup. A HorizontalScrollableTitleView will be used as the TitleView. The model will still be empty, with no set index and will need to have panes added to it. The TitleView, PaneView, and PaneManagerView will all be focusable areas.

Returns:
the view to be added to the screen
Since:
BlackBerry API 7.0.0

createTabbedPaneManager

public static PaneManagerView createTabbedPaneManager()
Creates a PaneManagerView object with an assoicated HorizontalTabController and PaneManagerModel setup. A HorizontalTabTitleView will be used as the TitleView. The model will still be empty, with no set index and will need to have panes added to it. The TitleView, PaneView, and PaneManagerView will all be focusable areas.

Returns:
the view to be added to the screen
Since:
BlackBerry API 7.0.0

createScrollablePaneManagerWithStyle

public static PaneManagerView createScrollablePaneManagerWithStyle(int titleStyle,
                                                                   long paneViewStyle,
                                                                   long paneManagerStyle)
Creates a PaneManagerView object with an assoicated HorizontalScrollableController and PaneManagerModel setup. A HorizontalScrollableTitleView will be used as the TitleView. The model will still be empty, with no set index and will need to have panes added to it. The TitleView, PaneView, and PaneManagerView will all be focusable areas, and in addition can be given other styles too, if desired.

Parameters:
titleStyle - the desired style bits for the TitleView
paneViewStyle - the desired style bits for the PaneView
paneManagerStyle - the desired style bits for the paneManagerStyle
Returns:
the view to be added to the screen
Since:
BlackBerry API 7.0.0

createTabbedPaneManagerWithStyle

public static PaneManagerView createTabbedPaneManagerWithStyle(int titleStyle,
                                                               long paneViewStyle,
                                                               long paneManagerStyle)
Creates a PaneManagerView object with an assoicated HorizontalTabController and PaneManagerModel setup. A HorizontalTabTitleView will be used as the TitleView. The model will still be empty, with no set index and will need to have panes added to it. The TitleView, PaneView, and PaneManagerView will all be focusable areas.

Returns:
the view to be added to the screen
Since:
BlackBerry API 7.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal