com.sybase.uep.bobclient.screens
Class BaseBOBScreen

java.lang.Object
  extended by net.rim.device.api.ui.Field
      extended by net.rim.device.api.ui.Manager
          extended by net.rim.device.api.ui.Screen
              extended by net.rim.device.api.ui.container.FullScreen
                  extended by net.rim.device.api.ui.container.MainScreen
                      extended by com.sybase.uep.bobclient.screens.BaseBOBScreen
All Implemented Interfaces:
IBOBScreen, java.lang.Runnable
Direct Known Subclasses:
BaseBOBStockScreen, FileExplorerScreen

public abstract class BaseBOBScreen
extends net.rim.device.api.ui.container.MainScreen
implements IBOBScreen, java.lang.Runnable

This is a base implementation of a screen used in BOB Blackberry client. This base screen is extended by all the generated screen from BOB tooling as well as the base stock screen BaseBOBStockScreen.

Extends from MainScreen

Author:
tdang
See Also:
BaseBOBStockScreen, IBOBScreen, MainScreen, Runnable

Field Summary
protected  AppLoggerWrapper _appLogger
           
static long KEY
           
 
Fields inherited from class net.rim.device.api.ui.container.MainScreen
NO_STATUS_SEPARATOR, NO_TITLE_SEPARATOR
 
Fields inherited from class net.rim.device.api.ui.Screen
DEFAULT_CLOSE, DEFAULT_MENU, NO_SYSTEM_MENU_ITEMS
 
Fields inherited from class net.rim.device.api.ui.Manager
BOTTOMMOST, DOWNWARD, HORIZONTAL_SCROLL, HORIZONTAL_SCROLL_MASK, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_MASK, LEAVE_BLANK_SPACE, LEFTMOST, LEFTWARD, NO_HORIZONTAL_SCROLL, NO_HORIZONTAL_SCROLLBAR, NO_SCROLL_RESET, NO_VERTICAL_SCROLL, NO_VERTICAL_SCROLLBAR, QUANTA_FONT, RIGHTMOST, RIGHTWARD, TOPMOST, UPWARD, VERTICAL_SCROLL, VERTICAL_SCROLL_MASK, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_MASK
 
Fields inherited from class net.rim.device.api.ui.Field
ACTION_INVOKE, EDITABLE, EDITABLE_MASK, FIELD_BOTTOM, FIELD_HALIGN_MASK, FIELD_HCENTER, FIELD_LEADING, FIELD_LEFT, FIELD_RIGHT, FIELD_TOP, FIELD_TRAILING, FIELD_VALIGN_MASK, FIELD_VCENTER, FOCUSABLE, FOCUSABLE_MASK, HIGHLIGHT_FOCUS, HIGHLIGHT_SELECT, NON_FOCUSABLE, NON_SPELLCHECKABLE, READONLY, SPELLCHECKABLE, SPELLCHECKABLE_MASK, STATUS_MOVE_FOCUS_HORIZONTALLY, STATUS_MOVE_FOCUS_VERTICALLY, USE_ALL_HEIGHT, USE_ALL_WIDTH, VISUAL_STATE_ACTIVE, VISUAL_STATE_DISABLED, VISUAL_STATE_DISABLED_FOCUS, VISUAL_STATE_FOCUS, VISUAL_STATE_NORMAL
 
Constructor Summary
BaseBOBScreen()
          Constructor to create a base BOB screen
BaseBOBScreen(long style)
          Constructor to create a base BOB screen
 
Method Summary
 net.rim.device.api.ui.MenuItem addMenuAction(int resourceID, IBOBAction action)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(int resourceID, IBOBAction action, ControlVariable variable, int menuGroupType)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(int resourceID, IBOBAction action, ControlVariable variable, int menuGroupType, net.rim.device.api.ui.Field control, boolean showForTable)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(int resourceID, IBOBAction action, int menuGroupType)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(MenuAction mi, int menuGroupType)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label, IBOBAction action)
          Add new menu Runnable action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label, IBOBAction action, ControlVariable variable, int menuGroupType)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label, IBOBAction action, ControlVariable variable, int menuGroupType, net.rim.device.api.ui.Field control, boolean showForTable)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label, IBOBAction action, int menuGroupType)
          Add new menu action to this screen
 net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label, IBOBAction action, int menuGroupType, net.rim.device.api.ui.Field control)
          Add new menu action to this screen
 void addMenuSeperator()
          Add a menu seperator
 void addMenuSeperator(int menuGroupType)
          Add a menu seperator
 void addReferencedMBO(java.lang.String mboId)
          (non-Javadoc)
 void addSourceConnectionReference(java.lang.String connectionType, java.lang.String screenId, IBOBScreen screen)
          (non-Javadoc)
 void addSpacer(int lines)
          Add spacers between fields
 void askMobileDataControlRefresh()
          (non-Javadoc)
 void closeScreen()
          Pop off this screen from the UI stack
protected abstract  void defineScreen()
          This is called by the run method Instantiation of layout and controls added to the screen should be defined in this method
 void deleteMenuAction(java.lang.String menuName)
          Delete menu action by menu name
 FooterField getFooter()
          Get the footer field of this screen
 java.lang.String getLabelMsgString(int key, java.lang.String defaultLabelMsg)
          Get the label or message string based on the key
 java.lang.Object getLabelMsgValue(int key)
          Retrieve the label/message based on the resource key
 MenuGroup getMenuGroup()
          Get the menu group
 MenuAction getMenuItemByName(java.lang.String menuName)
          Check to see if a menu item by name exist
 MenuAction getMenuItemByNameAndDisable(java.lang.String menuName)
          Check to see if a menu item by name exist Return the Menu Item and disable it
 IBOBScreen getParentScreen()
          (non-Javadoc)
 java.util.Vector getReferencedMBOList()
          (non-Javadoc)
 ScreenContext getScreenContext()
          (non-Javadoc)
 net.rim.device.api.ui.component.GaugeField getSyncProgressBar()
          (non-Javadoc)
protected  net.rim.device.api.ui.UiApplication getUIController()
           
protected  void initAppLogger()
           
 void initScreenContext(IBOBScreen parentScreen, java.lang.String[] relationshipList)
          (non-Javadoc)
 boolean isCache()
          Check if screen is cached
 boolean isSynchronizing()
          Returns whether the screen is in synchronization.
 boolean keyChar(char key, int status, int time)
          (non-Javadoc)
protected  void makeMenu(net.rim.device.api.ui.component.Menu menu, int instance)
          (non-Javadoc)
protected  void onFocusNotify(boolean focus)
          (non-Javadoc)
 void refresh()
          (non-Javadoc)
 void refreshScreenContext()
          (non-Javadoc)
 void run()
          (non-Javadoc)
 void setFooter(java.lang.Object footer)
          Set the footer for this screen using a custom footer control
 void setFooterBorderColor(int color)
          Set the border color for the footer
 void setFooterFontStyle(FontStyle fs)
          Set the footer font style on the screen
 void setFooterHasBorder(boolean hasBorder)
          Set to have border around the footer or not
 void setFooterLabel(java.lang.String label)
          Set the label for the footer
 void setHeaderFooter(java.lang.Object header, java.lang.Object footer)
          Set the header and footer object to show on the screen
 void setIsCache(boolean bol)
          Set if the screen is cached
 void setLabelMsgValue(int key, java.lang.String labelMsg)
          Set the label/message based on the resource key
 void setParentScreen(IBOBScreen parentScreen)
          (non-Javadoc)
 void setProperty(int key, int resourceID)
          Set the property values for the screen
 void setProperty(int key, java.lang.Object value)
          Set the property values for this screen
 void setSynchronizing(boolean isSynchronizing)
          (non-Javadoc)
 
Methods inherited from class net.rim.device.api.ui.container.MainScreen
addMenuItem, getField, getFieldCount, getFieldWithFocus, getFieldWithFocusIndex, getMainManager, keyCharUnhandled, onSavePrompt, removeAllMenuItems, removeMenuItem, setBanner, setId, setStatus, setTitle, setTitle, setTitle, setTitle
 
Methods inherited from class net.rim.device.api.ui.container.FullScreen
sublayout
 
Methods inherited from class net.rim.device.api.ui.Screen
add, addKeyListener, addScreenUiEngineAttachedListener, addTrackwheelListener, close, delete, deleteRange, dispatchKeyEvent, doLayout, doPaint, ensureRegionVisible, getAccessibleContext, getApplication, getDefaultMenuItem, getDelegate, getFieldAtLocation, getFocusRect, getGraphics, getLeafFieldWithFocus, getMenu, getScreenAbove, getScreenBelow, getUiEngine, getVirtualKeyboard, insert, invalidate, invalidate, invalidateAll, invalidateLayout, invokeAction, isDataValid, isDirty, isDisplayed, isFocus, isFocusable, isGlobal, isGlobalStatus, isMuddy, isObscured, isSelecting, keyControl, keyDown, keyRepeat, keyStatus, keyUp, layoutDelegate, navigationClick, navigationMovement, navigationUnclick, onClose, onDisplay, onExposed, onFocus, onMenu, onMenuDismissed, onMenuDismissed, onObscured, onSave, onUiEngineAttached, onUndisplay, onUnfocus, openDevelopmentBackdoor, openProductionBackdoor, paint, paintBackground, removeFocus, removeKeyListener, removeScreenUiEngineAttachedListener, removeTrackwheelListener, replace, save, scroll, setBackdoorAltStatus, setDefaultClose, setDirty, setFocus, setFocus, setFocus, setHorizontalQuantization, setPositionDelegate, setTrackballFilter, setTrackballSensitivityXOffset, setTrackballSensitivityYOffset, setVerticalQuantization, touchEvent, trackwheelClick, trackwheelClickUnhandled, trackwheelRoll, trackwheelUnclick, updateDisplay
 
Methods inherited from class net.rim.device.api.ui.Manager
clearCustomScrollArrows, deleteAll, getHorizontalScroll, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, getVisibleHeight, getVisibleWidth, invalidateFieldRange, isDownArrowShown, isUpArrowShown, isValidLayout, layout, layoutChild, moveFocus, moveFocus, moveFocus, nextFocus, nextFocus, paintChild, setFocus, setHorizontalScroll, setNonfocusableOverride, setPositionChild, setScrollListener, setVerticalScroll, setVirtualExtent, subpaint
 
Methods inherited from class net.rim.device.api.ui.Field
drawFocus, drawHighlightRegion, fieldChangeNotify, focusAdd, focusChangeNotify, focusRemove, getBackground, getBackground, getBorder, getBorder, getBorder, getChangeListener, getContentHeight, getContentLeft, getContentRect, getContentRect, getContentTop, getContentWidth, getContextMenu, getContextMenu, getCookie, getExtent, getExtent, getFieldStyle, getFocusListener, getFont, getHeight, getIndex, getLeft, getManager, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOriginal, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPreferredHeight, getPreferredWidth, getScreen, getState, getStyle, getTop, getVisualState, getWidth, isEditable, isPasteable, isSelectable, isSelectionCopyable, isSelectionCutable, isSelectionDeleteable, isSpellCheckable, isStyle, isVisible, makeContextMenu, makeContextMenu, onVisibilityChange, paste, select, selectionCopy, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setEditable, setExtent, setFocusListener, setFont, setFont, setMargin, setMargin, setMuddy, setNonSpellCheckable, setPadding, setPadding, setPosition, setVisualState, updateLayout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final long KEY
See Also:
Constant Field Values

_appLogger

protected AppLoggerWrapper _appLogger
Constructor Detail

BaseBOBScreen

public BaseBOBScreen()
Constructor to create a base BOB screen

By default this is called by code generation.


BaseBOBScreen

public BaseBOBScreen(long style)
Constructor to create a base BOB screen

This can only be used internally by the parent subclass.

Parameters:
style - long value for the screen style
See Also:
Field
Method Detail

run

public void run()
(non-Javadoc)

Specified by:
run in interface IBOBScreen
Specified by:
run in interface java.lang.Runnable
See Also:
IBOBScreen.run()

defineScreen

protected abstract void defineScreen()
This is called by the run method Instantiation of layout and controls added to the screen should be defined in this method


addSourceConnectionReference

public void addSourceConnectionReference(java.lang.String connectionType,
                                         java.lang.String screenId,
                                         IBOBScreen screen)
(non-Javadoc)

Specified by:
addSourceConnectionReference in interface IBOBScreen
Parameters:
connectionType - String value for the type of connection defined by the bob_1_2.xsd, ie.
screenId - String value for the the unique id attached to the screen in the Bob model design.
screen - IBOBScreen value for the actual screen referenced in the code generation.
See Also:
IBOBScreen.addSourceConnectionReference(String connectionType, String screenId, IBOBScreen screen)

isCache

public boolean isCache()
Check if screen is cached

Returns:
true means the screen is cached and doesn't need to be redrawn, otherwise false

setIsCache

public void setIsCache(boolean bol)
Set if the screen is cached

Parameters:
bol - true if cached, otherwise truex

setParentScreen

public void setParentScreen(IBOBScreen parentScreen)
(non-Javadoc)

Specified by:
setParentScreen in interface IBOBScreen
Parameters:
parentScreen - IBOBScreen screen reference
See Also:
IBOBScreen.setParentScreen(IBOBScreen parentScreen)

getParentScreen

public IBOBScreen getParentScreen()
(non-Javadoc)

Specified by:
getParentScreen in interface IBOBScreen
Returns:
IBOBScreen screen reference
See Also:
IBOBScreen.getParentScreen()

getMenuGroup

public MenuGroup getMenuGroup()
Get the menu group

Returns:
MenuGroup object
See Also:
MenuGroup

getMenuItemByName

public MenuAction getMenuItemByName(java.lang.String menuName)
Check to see if a menu item by name exist

Parameters:
menuName - String value for the menu name to search
Returns:
MenuAction menu action object
See Also:
MenuAction

getMenuItemByNameAndDisable

public MenuAction getMenuItemByNameAndDisable(java.lang.String menuName)
Check to see if a menu item by name exist Return the Menu Item and disable it

Parameters:
menuName - String value for the menu name to search and disable
Returns:
MenuAction menu action object
See Also:
MenuAction

makeMenu

protected void makeMenu(net.rim.device.api.ui.component.Menu menu,
                        int instance)
(non-Javadoc)

Overrides:
makeMenu in class net.rim.device.api.ui.container.MainScreen
See Also:
MainScreen.makeMenu(Menu menu, int instance)

setHeaderFooter

public void setHeaderFooter(java.lang.Object header,
                            java.lang.Object footer)
Set the header and footer object to show on the screen

Parameters:
header - Object value for the header object
footer - Object value for the footer object

setFooterFontStyle

public void setFooterFontStyle(FontStyle fs)
Set the footer font style on the screen

Parameters:
fs - FontStyle object
See Also:
FontStyle

setFooterHasBorder

public void setFooterHasBorder(boolean hasBorder)
Set to have border around the footer or not

Parameters:
bol - true if the footer has a border around it, otherwise false

setFooterBorderColor

public void setFooterBorderColor(int color)
Set the border color for the footer

Parameters:
int - Hex value for the color of the footer Example of some Hex value would be 0x00FF0000, 0x00FFFFFF, 0x00000000

setFooterLabel

public void setFooterLabel(java.lang.String label)
Set the label for the footer

Parameters:
String - value for the label

setFooter

public void setFooter(java.lang.Object footer)
Set the footer for this screen using a custom footer control

Parameters:
footer - Object value that can be a String, FooterField, or a Field
See Also:
FooterField, Field

getFooter

public FooterField getFooter()
Get the footer field of this screen

Returns:
FooterField footer object
See Also:
FooterField

addMenuSeperator

public void addMenuSeperator()
Add a menu seperator


addMenuSeperator

public void addMenuSeperator(int menuGroupType)
Add a menu seperator

Parameters:
menuGroupType - int value for the menu group type Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
See Also:
MenuGroup

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label,
                                                    IBOBAction action)
Add new menu Runnable action to this screen

Parameters:
label - String value for them enu label
action - IBOBAction action object to perform
Returns:
MenuItem menu object
See Also:
MenuItem, IBOBAction

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(int resourceID,
                                                    IBOBAction action)
Add new menu action to this screen

Parameters:
resourceID - int value for the localization resource ID of the menu label
action - IBOBAction action object to perform
Returns:
MenuItem menu item object
See Also:
MenuItem

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label,
                                                    IBOBAction action,
                                                    int menuGroupType)
Add new menu action to this screen

Parameters:
label - String value for them enu label
action - IBOBAction action object to perform
menuGroupType - int value for the menu group type. Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(int resourceID,
                                                    IBOBAction action,
                                                    int menuGroupType)
Add new menu action to this screen

Parameters:
resourceID - int value for the localization resource ID of the menu label
action - IBOBAction action object to perform
menuGroupType - int value for the menu group type. Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label,
                                                    IBOBAction action,
                                                    int menuGroupType,
                                                    net.rim.device.api.ui.Field control)
Add new menu action to this screen

Parameters:
label - String value for them enu label
action - IBOBAction action object to perform
menuGroupType - int value for the menu group type. Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
control - Field value for the focus control
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(int resourceID,
                                                    IBOBAction action,
                                                    ControlVariable variable,
                                                    int menuGroupType)
Add new menu action to this screen

Parameters:
resourceID - int value for the localization resource ID of the menu label
action - IBOBAction action object to perform
variable - ControlVariable object used to get user defined values
menuGroupType - int value for the menu group type. Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup, ControlVariable

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label,
                                                    IBOBAction action,
                                                    ControlVariable variable,
                                                    int menuGroupType)
Add new menu action to this screen

Parameters:
label - String value for them enu label
action - IBOBAction action object to perform
variable - ControlVariable object used to get user defined values
menuGroupType - int value for the menu group type. Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup, ControlVariable

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(int resourceID,
                                                    IBOBAction action,
                                                    ControlVariable variable,
                                                    int menuGroupType,
                                                    net.rim.device.api.ui.Field control,
                                                    boolean showForTable)
Add new menu action to this screen

Parameters:
resourceID - int value for the localization resource ID of the menu label
action - IBOBAction action object to perform
variable - ControlVariable object used to get user defined values
menuGroupType - int value for the menu group type. Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
control - Field value for the focus control
showForTable - boolean boolean value whether to always show the menu for the focus table
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup, ControlVariable

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(java.lang.String label,
                                                    IBOBAction action,
                                                    ControlVariable variable,
                                                    int menuGroupType,
                                                    net.rim.device.api.ui.Field control,
                                                    boolean showForTable)
Add new menu action to this screen

Parameters:
label - String value for them enu label
action - IBOBAction action object to perform
variable - ControlVariable object used to get user defined values
menuGroupType - int value for the menu group type.s Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
control - if not null, we add the menu action into the control
showForTable - boolean boolean value whether to always show the menu for the focus table
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup

addMenuAction

public net.rim.device.api.ui.MenuItem addMenuAction(MenuAction mi,
                                                    int menuGroupType)
Add new menu action to this screen

Parameters:
MenuAction - com.sybase.uep.bobclient.controls.IBOBAction menu action to add
menuGroupType - int value for the menu group type.s Can be MenuGroup.MENU_GROUP_TYPE_ABOVE_CONTEXT or MenuGroup.MENU_GROUP_TYPE_BELOW_CONTEXT
Returns:
MenuItem menu item object
See Also:
MenuItem, MenuGroup

deleteMenuAction

public void deleteMenuAction(java.lang.String menuName)
Delete menu action by menu name

Parameters:
menuName - String value for the menu name

closeScreen

public void closeScreen()
Pop off this screen from the UI stack


addSpacer

public void addSpacer(int lines)
Add spacers between fields

Parameters:
int - value for the lines number of lines

refresh

public void refresh()
(non-Javadoc)

Specified by:
refresh in interface IBOBScreen
See Also:
IBOBScreen.refresh()

getLabelMsgString

public java.lang.String getLabelMsgString(int key,
                                          java.lang.String defaultLabelMsg)
Get the label or message string based on the key

Parameters:
key - int value for the reference key of the label or message
defaultLabelMsg - String value for the label message
Returns:
String value of the label/message

getLabelMsgValue

public java.lang.Object getLabelMsgValue(int key)
Retrieve the label/message based on the resource key

Parameters:
key - int value for the resource key
Returns:
Object value of the label/message

setLabelMsgValue

public void setLabelMsgValue(int key,
                             java.lang.String labelMsg)
Set the label/message based on the resource key

Parameters:
key - int value for the resource key
labelMsg - String value for the new label/message value

setProperty

public void setProperty(int key,
                        int resourceID)
Set the property values for the screen

Parameters:
key - int value for the screen property attribute
resourceID - int for the string localization resource ID

setProperty

public void setProperty(int key,
                        java.lang.Object value)
Set the property values for this screen

Parameters:
key - int value for a screen attribute
value - Object value for the attribute value
See Also:
ScreenProperties

keyChar

public boolean keyChar(char key,
                       int status,
                       int time)
(non-Javadoc)

Overrides:
keyChar in class net.rim.device.api.ui.Screen
See Also:
Screen.keyChar(char key,int status,int time)

addReferencedMBO

public void addReferencedMBO(java.lang.String mboId)
(non-Javadoc)

Specified by:
addReferencedMBO in interface IBOBScreen
See Also:
IBOBScreen.addReferencedMBO(String mboId)

getReferencedMBOList

public java.util.Vector getReferencedMBOList()
(non-Javadoc)

Specified by:
getReferencedMBOList in interface IBOBScreen
Returns:
Vector value for the list of referenced MBO list
See Also:
IBOBScreen.getReferencedMBOList()

getScreenContext

public ScreenContext getScreenContext()
(non-Javadoc)

Specified by:
getScreenContext in interface IBOBScreen
Returns:
ScreenContext screen context object
See Also:
IBOBScreen.getScreenContext()

refreshScreenContext

public void refreshScreenContext()
(non-Javadoc)

Specified by:
refreshScreenContext in interface IBOBScreen
See Also:
IBOBScreen.refreshScreenContext()

onFocusNotify

protected void onFocusNotify(boolean focus)
(non-Javadoc)

Overrides:
onFocusNotify in class net.rim.device.api.ui.Screen
See Also:
Screen.onFocusNotify(boolean focus)

askMobileDataControlRefresh

public void askMobileDataControlRefresh()
(non-Javadoc)

Specified by:
askMobileDataControlRefresh in interface IBOBScreen
See Also:
IBOBScreen.askMobileDataControlRefresh()

initScreenContext

public void initScreenContext(IBOBScreen parentScreen,
                              java.lang.String[] relationshipList)
(non-Javadoc)

Specified by:
initScreenContext in interface IBOBScreen
Parameters:
parentScreen - IBOBScreen parent screen that called this screen
relationshipList - String array of relationship information
See Also:
IBOBScreen.initScreenContext(IBOBScreen parentScreen, String[] relationshipList)

setSynchronizing

public void setSynchronizing(boolean isSynchronizing)
(non-Javadoc)

Specified by:
setSynchronizing in interface IBOBScreen
See Also:
IBOBScreen.setSynchronizing(boolean isSynchronizing)

isSynchronizing

public boolean isSynchronizing()
Description copied from interface: IBOBScreen
Returns whether the screen is in synchronization.

Specified by:
isSynchronizing in interface IBOBScreen
Returns:
true if the screen is in synchronization and false otherwise.

getSyncProgressBar

public net.rim.device.api.ui.component.GaugeField getSyncProgressBar()
(non-Javadoc)

Specified by:
getSyncProgressBar in interface IBOBScreen
Returns:
See Also:
IBOBScreen.getSyncProgressBar()

getUIController

protected net.rim.device.api.ui.UiApplication getUIController()

initAppLogger

protected void initAppLogger()