com.sybase.uep.bobclient.screens
Class PendingOperationScreen

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
                          extended by com.sybase.uep.bobclient.screens.BaseBOBStockScreen
                              extended by com.sybase.uep.bobclient.screens.PendingOperationScreen
All Implemented Interfaces:
IBOBScreen, java.lang.Runnable, net.rim.device.api.ui.component.TreeFieldCallback, net.rim.device.api.ui.FocusChangeListener

public class PendingOperationScreen
extends BaseBOBStockScreen
implements net.rim.device.api.ui.component.TreeFieldCallback, net.rim.device.api.ui.FocusChangeListener

This is the pending operation screen

This screen will list out all the pending operations that are not yet sent to the UEP server

Author:
tdang
See Also:
BaseBOBStockScreen

Field Summary
static java.lang.String DEFAULT_ALERT_CANCEL_LABEL
           
static java.lang.String DEFAULT_ALERT_DELETE_ALL_OPERATIONS_MSG
           
static java.lang.String DEFAULT_ALERT_DELETE_OPERATION_MSG
           
static java.lang.String DEFAULT_ALERT_OK_LABEL
           
static java.lang.String DEFAULT_ALERT_SUBMIT_ALL_OPERATIONS_MSG
           
static java.lang.String DEFAULT_ALERT_SUBMIT_PACKAGE_OPERATION_MSG
           
static java.lang.String DEFAULT_ALERT_SUBMIT_PUBLICATION_OPERATION_MSG
           
static java.lang.String DEFAULT_CLOSE_MENU_LABEL
           
static java.lang.String DEFAULT_CREATE_TREE_LABEL
           
static java.lang.String DEFAULT_DELETE_ALL_OPERATIONS_MENU_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_DELETE_ICON
           
static java.lang.String DEFAULT_DELETE_OPERATION_MENU_LABEL
           
static java.lang.String DEFAULT_DELETE_TREE_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_DISABLE_ICON
           
static java.lang.String DEFAULT_DISABLE_OPERATION_MENU_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_ENABLE_ICON
           
static java.lang.String DEFAULT_ENABLE_OPERATION_MENU_LABEL
           
static java.lang.String DEFAULT_ERROR_LOADING_MBOS_MESSAGE
           
static java.lang.String DEFAULT_FOOTER_DISABLED_LABEL
           
static java.lang.String DEFAULT_FOOTER_PENDING_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_INSERT_ICON
           
static net.rim.device.api.system.Bitmap DEFAULT_MBO_ICON
           
static java.lang.String DEFAULT_NO_OPERATION_TREE_LABEL
           
static java.lang.String DEFAULT_OPERATION_INFO_MENU_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_OTHER_ICON
           
static java.lang.String DEFAULT_OTHER_TREE_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_PACKAGE_ICON
           
static net.rim.device.api.system.Bitmap DEFAULT_PUBLICATION_ICON
           
static java.lang.String DEFAULT_SUBMIT_ALL_OPERATIONS_MENU_LABEL
           
static java.lang.String DEFAULT_SUBMIT_OPERATION_MENU_LABEL
           
static java.lang.String DEFAULT_TITLE_LABEL
           
static net.rim.device.api.system.Bitmap DEFAULT_UPDATE_ICON
           
static java.lang.String DEFAULT_UPDATE_TREE_LABEL
           
 
Fields inherited from class com.sybase.uep.bobclient.screens.BaseBOBStockScreen
_backgroundImage, _isScaleBackgroundImageAspectFit, _navigationBarBorderStyle, _navigationBarStyle, _screenTitle
 
Fields inherited from class com.sybase.uep.bobclient.screens.BaseBOBScreen
_appLogger, 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
 
Fields inherited from interface net.rim.device.api.ui.FocusChangeListener
FOCUS_CHANGED, FOCUS_GAINED, FOCUS_LOST
 
Constructor Summary
PendingOperationScreen(int screenTitleRID)
          Constructor to create the Mobile Application List Screen
PendingOperationScreen(java.lang.String screenTitle)
          Constructor to create the Mobile Application List Screen
 
Method Summary
protected  void defineScreen()
          (non-Javadoc)
 void deleteAllOperations()
          Delete all the operations
 void deleteOperation()
          Delete the selected operation
 void disableOperation()
          Disable the selected operation
 void drawTreeItem(net.rim.device.api.ui.component.TreeField treeField, net.rim.device.api.ui.Graphics graphics, int node, int y, int width, int indent)
          (non-Javadoc)
 void enableOperation()
          Enable the selected operation
 void focusChanged(net.rim.device.api.ui.Field field, int eventType)
          (non-Javadoc)
 FontStyle getScreenFontStyle()
          Get this screen's font style
protected  boolean onSavePrompt()
          This is called when the user click the escape We will then want to ask if the user want to save the form
protected  void onUndisplay()
           
 void operationInfo()
          Show infomation about this operation
 void refresh()
          (non-Javadoc)
 void setAlertCancelLabel(java.lang.String label)
          Set the alert cancel label
 void setAlertDeleteAllOperationsMessage(java.lang.String message)
          Set the alert delete all operation message
 void setAlertDeleteOperationMessage(java.lang.String message)
          Set the alert delete operation message
 void setAlertOkLabel(java.lang.String label)
          Set the alert ok label
 void setAlertSubmitAllOperationsMessage(java.lang.String message)
          Set the alert submit all operations message
 void setAlertSubmitPackageOperationMessage(java.lang.String message)
          Set the alert submit package operation message
 void setAlertSubmitPublicationOperationMessage(java.lang.String message)
          Set the alert submit package operation message
 void setCloseMenuLabel(java.lang.String label)
          Set the close menu label
 void setCreateIcon(java.lang.Object image)
          Set create icon
 void setCreateTreeLabel(java.lang.String label)
          Set the create tree label
 void setDeleteAllOperationsMenuLabel(java.lang.String label)
          Set the delete all operation menu label
 void setDeleteIcon(java.lang.Object image)
          Set delete icon
 void setDeleteOperationMenuLabel(java.lang.String label)
          Set the delete operation menu label
 void setDeleteTreeLabel(java.lang.String label)
          Set the delete tree label
 void setDisableIcon(java.lang.Object image)
          Set disable icon
 void setDisableOperationsMenuLabel(java.lang.String label)
          Set the disable operation menu label
 void setEnableIcon(java.lang.Object image)
          Set enable icon
 void setEnableOperationsMenuLabel(java.lang.String label)
          Set the enable operation menu label
 void setLoadingMBOErrorMessage(java.lang.String message)
          Set the loading MBO error message
 void setMBOIcon(java.lang.Object image)
          Set MBO icon
 void setNoOperationTreeLabel(java.lang.String label)
          Set the No operation tree label
 void setOperationInfoMenuLabel(java.lang.String label)
          Set the operation info menu label
 void setOtherIcon(java.lang.Object image)
          Set other icon
 void setOtherTreeLabel(java.lang.String label)
          Set the other tree label
 void setPackageIcon(java.lang.Object image)
          Set Package icon
 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 setPublicationIcon(java.lang.Object image)
          Set Publication icon
 void setScreenFontStyle(FontStyle fontStyle)
          Set the font style for this screen
 void setSubmitAllOperationsMenuLabel(java.lang.String label)
          Set the submit all operation menu label
 void setSubmitOperationMenuLabel(java.lang.String label)
          Set the submit operation menu label
 void setUpdateIcon(java.lang.Object image)
          Set update icon
 void setUpdateTreeLabel(java.lang.String label)
          Set the update tree label
 void submitAllOperations()
          Submit all the operations
 void submitMBOOperation()
          Submit the selected MBO operation(s)
 
Methods inherited from class com.sybase.uep.bobclient.screens.BaseBOBStockScreen
closeScreen, runOnSaveActions, setNavigationBarBorderStyle, setNavigationBarLabel, setNavigationBarStyle, setOnCloseActions, setOnSaveActions
 
Methods inherited from class com.sybase.uep.bobclient.screens.BaseBOBScreen
addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuAction, addMenuSeperator, addMenuSeperator, addReferencedMBO, addSourceConnectionReference, addSpacer, askMobileDataControlRefresh, deleteMenuAction, getFooter, getLabelMsgString, getLabelMsgValue, getMenuGroup, getMenuItemByName, getMenuItemByNameAndDisable, getParentScreen, getReferencedMBOList, getScreenContext, getSyncProgressBar, getUIController, initAppLogger, initScreenContext, isCache, isSynchronizing, keyChar, makeMenu, onFocusNotify, refreshScreenContext, run, setFooter, setFooterBorderColor, setFooterFontStyle, setFooterHasBorder, setFooterLabel, setHeaderFooter, setIsCache, setLabelMsgValue, setParentScreen, setSynchronizing
 
Methods inherited from class net.rim.device.api.ui.container.MainScreen
addMenuItem, getField, getFieldCount, getFieldWithFocus, getFieldWithFocusIndex, getMainManager, keyCharUnhandled, 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, 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

DEFAULT_TITLE_LABEL

public static final java.lang.String DEFAULT_TITLE_LABEL
See Also:
Constant Field Values

DEFAULT_MBO_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_MBO_ICON

DEFAULT_PUBLICATION_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_PUBLICATION_ICON

DEFAULT_PACKAGE_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_PACKAGE_ICON

DEFAULT_UPDATE_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_UPDATE_ICON

DEFAULT_DELETE_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_DELETE_ICON

DEFAULT_INSERT_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_INSERT_ICON

DEFAULT_OTHER_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_OTHER_ICON

DEFAULT_ENABLE_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_ENABLE_ICON

DEFAULT_DISABLE_ICON

public static final net.rim.device.api.system.Bitmap DEFAULT_DISABLE_ICON

DEFAULT_CLOSE_MENU_LABEL

public static final java.lang.String DEFAULT_CLOSE_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_OPERATION_INFO_MENU_LABEL

public static final java.lang.String DEFAULT_OPERATION_INFO_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_DELETE_OPERATION_MENU_LABEL

public static final java.lang.String DEFAULT_DELETE_OPERATION_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_DELETE_ALL_OPERATIONS_MENU_LABEL

public static final java.lang.String DEFAULT_DELETE_ALL_OPERATIONS_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_SUBMIT_OPERATION_MENU_LABEL

public static final java.lang.String DEFAULT_SUBMIT_OPERATION_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_SUBMIT_ALL_OPERATIONS_MENU_LABEL

public static final java.lang.String DEFAULT_SUBMIT_ALL_OPERATIONS_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_DISABLE_OPERATION_MENU_LABEL

public static final java.lang.String DEFAULT_DISABLE_OPERATION_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_ENABLE_OPERATION_MENU_LABEL

public static final java.lang.String DEFAULT_ENABLE_OPERATION_MENU_LABEL
See Also:
Constant Field Values

DEFAULT_NO_OPERATION_TREE_LABEL

public static final java.lang.String DEFAULT_NO_OPERATION_TREE_LABEL
See Also:
Constant Field Values

DEFAULT_UPDATE_TREE_LABEL

public static final java.lang.String DEFAULT_UPDATE_TREE_LABEL
See Also:
Constant Field Values

DEFAULT_DELETE_TREE_LABEL

public static final java.lang.String DEFAULT_DELETE_TREE_LABEL
See Also:
Constant Field Values

DEFAULT_CREATE_TREE_LABEL

public static final java.lang.String DEFAULT_CREATE_TREE_LABEL
See Also:
Constant Field Values

DEFAULT_OTHER_TREE_LABEL

public static final java.lang.String DEFAULT_OTHER_TREE_LABEL
See Also:
Constant Field Values

DEFAULT_ALERT_OK_LABEL

public static final java.lang.String DEFAULT_ALERT_OK_LABEL
See Also:
Constant Field Values

DEFAULT_ALERT_CANCEL_LABEL

public static final java.lang.String DEFAULT_ALERT_CANCEL_LABEL
See Also:
Constant Field Values

DEFAULT_FOOTER_PENDING_LABEL

public static final java.lang.String DEFAULT_FOOTER_PENDING_LABEL
See Also:
Constant Field Values

DEFAULT_FOOTER_DISABLED_LABEL

public static final java.lang.String DEFAULT_FOOTER_DISABLED_LABEL
See Also:
Constant Field Values

DEFAULT_ALERT_DELETE_OPERATION_MSG

public static final java.lang.String DEFAULT_ALERT_DELETE_OPERATION_MSG
See Also:
Constant Field Values

DEFAULT_ALERT_DELETE_ALL_OPERATIONS_MSG

public static final java.lang.String DEFAULT_ALERT_DELETE_ALL_OPERATIONS_MSG
See Also:
Constant Field Values

DEFAULT_ALERT_SUBMIT_ALL_OPERATIONS_MSG

public static final java.lang.String DEFAULT_ALERT_SUBMIT_ALL_OPERATIONS_MSG
See Also:
Constant Field Values

DEFAULT_ALERT_SUBMIT_PACKAGE_OPERATION_MSG

public static final java.lang.String DEFAULT_ALERT_SUBMIT_PACKAGE_OPERATION_MSG
See Also:
Constant Field Values

DEFAULT_ALERT_SUBMIT_PUBLICATION_OPERATION_MSG

public static final java.lang.String DEFAULT_ALERT_SUBMIT_PUBLICATION_OPERATION_MSG
See Also:
Constant Field Values

DEFAULT_ERROR_LOADING_MBOS_MESSAGE

public static final java.lang.String DEFAULT_ERROR_LOADING_MBOS_MESSAGE
See Also:
Constant Field Values
Constructor Detail

PendingOperationScreen

public PendingOperationScreen(java.lang.String screenTitle)
Constructor to create the Mobile Application List Screen

Parameters:
screenTitle - String value for the screen title

PendingOperationScreen

public PendingOperationScreen(int screenTitleRID)
Constructor to create the Mobile Application List Screen

Parameters:
screenTitleRID - int value for the screen title resource id
Method Detail

defineScreen

protected void defineScreen()
(non-Javadoc)

Overrides:
defineScreen in class BaseBOBStockScreen
See Also:
BaseBOBScreen.defineScreen()

getScreenFontStyle

public FontStyle getScreenFontStyle()
Get this screen's font style

Returns:
FontStyle font style object
See Also:
FontStyle

setScreenFontStyle

public void setScreenFontStyle(FontStyle fontStyle)
Set the font style for this screen

Parameters:
fontStyle - FontStyle font style object
See Also:
FontStyle

focusChanged

public void focusChanged(net.rim.device.api.ui.Field field,
                         int eventType)
(non-Javadoc)

Specified by:
focusChanged in interface net.rim.device.api.ui.FocusChangeListener
See Also:
FocusChangeListener.focusChanged(Field field, int eventType)

drawTreeItem

public void drawTreeItem(net.rim.device.api.ui.component.TreeField treeField,
                         net.rim.device.api.ui.Graphics graphics,
                         int node,
                         int y,
                         int width,
                         int indent)
(non-Javadoc)

Specified by:
drawTreeItem in interface net.rim.device.api.ui.component.TreeFieldCallback
See Also:
TreeFieldCallback.drawTreeItem( TreeField treeField, Graphics graphics, int node, int y, int width, int indent )

operationInfo

public void operationInfo()
Show infomation about this operation


deleteOperation

public void deleteOperation()
Delete the selected operation


deleteAllOperations

public void deleteAllOperations()
Delete all the operations


submitMBOOperation

public void submitMBOOperation()
Submit the selected MBO operation(s)


submitAllOperations

public void submitAllOperations()
Submit all the operations


enableOperation

public void enableOperation()
Enable the selected operation


disableOperation

public void disableOperation()
Disable the selected operation


refresh

public void refresh()
(non-Javadoc)

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

setCloseMenuLabel

public void setCloseMenuLabel(java.lang.String label)
Set the close menu label

Parameters:
label - String value for the new label

setOperationInfoMenuLabel

public void setOperationInfoMenuLabel(java.lang.String label)
Set the operation info menu label

Parameters:
label - String value for the new label

setDeleteOperationMenuLabel

public void setDeleteOperationMenuLabel(java.lang.String label)
Set the delete operation menu label

Parameters:
label - String value for the new label

setDeleteAllOperationsMenuLabel

public void setDeleteAllOperationsMenuLabel(java.lang.String label)
Set the delete all operation menu label

Parameters:
label - String value for the new label

setSubmitOperationMenuLabel

public void setSubmitOperationMenuLabel(java.lang.String label)
Set the submit operation menu label

Parameters:
label - String value for the new label

setSubmitAllOperationsMenuLabel

public void setSubmitAllOperationsMenuLabel(java.lang.String label)
Set the submit all operation menu label

Parameters:
label - String value for the new label

setDisableOperationsMenuLabel

public void setDisableOperationsMenuLabel(java.lang.String label)
Set the disable operation menu label

Parameters:
label - String value for the new label

setEnableOperationsMenuLabel

public void setEnableOperationsMenuLabel(java.lang.String label)
Set the enable operation menu label

Parameters:
label - String value for the new label

setNoOperationTreeLabel

public void setNoOperationTreeLabel(java.lang.String label)
Set the No operation tree label

Parameters:
label - String value for the new label

setUpdateTreeLabel

public void setUpdateTreeLabel(java.lang.String label)
Set the update tree label

Parameters:
label - String value for the new label

setDeleteTreeLabel

public void setDeleteTreeLabel(java.lang.String label)
Set the delete tree label

Parameters:
label - String value for the new label

setCreateTreeLabel

public void setCreateTreeLabel(java.lang.String label)
Set the create tree label

Parameters:
label - String value for the new label

setOtherTreeLabel

public void setOtherTreeLabel(java.lang.String label)
Set the other tree label

Parameters:
label - String value for the new label

setAlertOkLabel

public void setAlertOkLabel(java.lang.String label)
Set the alert ok label

Parameters:
label - String value for the new label

setAlertCancelLabel

public void setAlertCancelLabel(java.lang.String label)
Set the alert cancel label

Parameters:
label - String value for the new label

setAlertSubmitPackageOperationMessage

public void setAlertSubmitPackageOperationMessage(java.lang.String message)
Set the alert submit package operation message

Parameters:
message - String value for the message

setAlertSubmitPublicationOperationMessage

public void setAlertSubmitPublicationOperationMessage(java.lang.String message)
Set the alert submit package operation message

Parameters:
message - String value for the message

setAlertDeleteOperationMessage

public void setAlertDeleteOperationMessage(java.lang.String message)
Set the alert delete operation message

Parameters:
message - String value for the message

setAlertDeleteAllOperationsMessage

public void setAlertDeleteAllOperationsMessage(java.lang.String message)
Set the alert delete all operation message

Parameters:
message - String value for the message

setAlertSubmitAllOperationsMessage

public void setAlertSubmitAllOperationsMessage(java.lang.String message)
Set the alert submit all operations message

Parameters:
message - String value for the message

setLoadingMBOErrorMessage

public void setLoadingMBOErrorMessage(java.lang.String message)
Set the loading MBO error message

Parameters:
message - String value for the message

setMBOIcon

public void setMBOIcon(java.lang.Object image)
Set MBO icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setPublicationIcon

public void setPublicationIcon(java.lang.Object image)
Set Publication icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setPackageIcon

public void setPackageIcon(java.lang.Object image)
Set Package icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setUpdateIcon

public void setUpdateIcon(java.lang.Object image)
Set update icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setDeleteIcon

public void setDeleteIcon(java.lang.Object image)
Set delete icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setCreateIcon

public void setCreateIcon(java.lang.Object image)
Set create icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setOtherIcon

public void setOtherIcon(java.lang.Object image)
Set other icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setEnableIcon

public void setEnableIcon(java.lang.Object image)
Set enable icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setDisableIcon

public void setDisableIcon(java.lang.Object image)
Set disable icon

Parameters:
image - Object value for the image, can be image name or Bitmap object

setProperty

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

Overrides:
setProperty in class BaseBOBScreen
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

Overrides:
setProperty in class BaseBOBStockScreen
Parameters:
key - int value for a screen attribute
value - Object value for the attribute value
See Also:
ScreenProperties

onSavePrompt

protected boolean onSavePrompt()
This is called when the user click the escape We will then want to ask if the user want to save the form

Overrides:
onSavePrompt in class net.rim.device.api.ui.container.MainScreen
Returns:
true if prompt's resulting choice is to save; false if the prompt's resulting choice is to cancel

onUndisplay

protected void onUndisplay()
Overrides:
onUndisplay in class net.rim.device.api.ui.Screen