com.sybase.uep.bobclient.screens
Class SearchScreen

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.SearchScreen
All Implemented Interfaces:
IBOBScreen, java.lang.Runnable

public class SearchScreen
extends BaseBOBStockScreen

This is the search screen

This gets launched from the mobile application table context

Author:
tdang
See Also:
BaseBOBStockScreen

Field Summary
static java.lang.String DEFAULT_ALL_COLUMNS_SELECT_LABEL
           
static java.lang.String DEFAULT_BLOB_ERROR_MESSAGE
           
static java.lang.String DEFAULT_CLOSE_MENU_LABEL
           
static java.lang.String DEFAULT_COLUMN_SELECT_LABEL
           
static java.lang.String DEFAULT_COMPARISON_SELECT_AND_LABEL
           
static java.lang.String DEFAULT_COMPARISON_SELECT_LABEL
           
static java.lang.String DEFAULT_COMPARISON_SELECT_OR_LABEL
           
static java.lang.String DEFAULT_ENTER_SEARCH_VALUE_ALERT
           
static java.lang.String DEFAULT_FILTER_SELECT_CONTAINS_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_DOES_NOT_CONTAIN_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_DOES_NOT_END_WITH_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_DOES_NOT_START_WITH_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_ENDS_WITH_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_EQUAL_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_GREATER_THAN_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_GREATER_THEN_OR_EQUAL_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_LESS_THAN_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_LESS_THAN_OR_EQUAL_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_LIKE_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_NOT_EQUAL_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_NOT_LIKE_LABEL
           
static java.lang.String DEFAULT_FILTER_SELECT_STARTS_WITH_LABEL
           
static java.lang.String DEFAULT_FIND_INPUT_LABEL
           
static java.lang.String DEFAULT_FIND_MENU_LABEL
           
static java.lang.String DEFAULT_LOADING_MOBILE_APP_ERROR_MESSAGE
           
static java.lang.String DEFAULT_MOBILE_APP_UNDEFINED_ERROR_MESSAGE
           
static java.lang.String DEFAULT_NO_COLUMN_MATCH_OP_ERROR_MSG
           
static java.lang.String DEFAULT_SEARCH_DATA_TYPE_DOES_NOT_MATCH_MESSAGE
           
static java.lang.String DEFAULT_SEARCH_EXCEPTION_ERROR_MESSAGE
           
static java.lang.String DEFAULT_TITLE_LABEL
           
static java.lang.String DEFAULT_UNABLE_TO_FIND_ALERT
           
static net.rim.device.api.system.Bitmap HEADER_ICON
           
 
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
 
Constructor Summary
SearchScreen(int screenTitleRID)
          Constructor to create Search Screen
SearchScreen(java.lang.String screenTitle)
          Constructor to create Search Screen
 
Method Summary
 void buttonClicked(net.rim.device.api.ui.Field buttonField)
          Override the button clicked funtion to see what buttons has been clicked on
protected  void defineScreen()
          (non-Javadoc)
 FontStyle getButtonFocusFontStyle()
          Get the button focus font style
 FontStyle getButtonUnfocusFontStyle()
          Get the button unfocus font style
 Query getCurrentDataProperties()
          Get the current data properties being used
 FontStyle getLabelFontStyle()
          Get label font style
 FontStyle getScreenFontStyle()
          Get this screen's font style
 void initScreenContext(IBOBScreen parentScreen, java.lang.String[] relationshipList)
          (non-Javadoc)
protected  void onDisplay()
           
protected  boolean onSavePrompt()
           
protected  void refreshFilterChoices()
           
 void setAllColumnSelectLabel(java.lang.String label)
          Set the search screen all column select label
 void setBlobErrorMsg(java.lang.String msg)
          Set blob error message
 void setButtonFocusFontStyle(FontStyle fontStyle)
          Set the button focus font style for this control
 void setButtonUnfocusFontStyle(FontStyle fontStyle)
          Set the button unfocus font style for this control
 void setCloseButtonLabel(java.lang.String label)
          Set the search screen close button label
 void setCloseMenuLabel(java.lang.String label)
          Set the search screen close menu label
 void setColumnSelectLabel(java.lang.String label)
          Set the search screen column select label
 void setComparisonSelectLabel(java.lang.String label)
          Set the search screen filter select label
 void setEnterSearchValueAlert(java.lang.String alert)
          Set the search screen enter search value alert
 void setErrorLoadingMobileAppMsg(java.lang.String msg)
          Set the error loading mobile application message
 void setFilterSelectLabel(java.lang.String label)
          Set the search screen comparison select label
 void setFindButtonLabel(java.lang.String label)
          Set the search screen find button label
 void setFindInputLabel(java.lang.String label)
          Set the search screen find input label
 void setFindMenuLabel(java.lang.String label)
          Set the search screen find menu label
 void setLabelFontStyle(FontStyle fontStyle)
          Set label font style
 void setMobileAppID(java.lang.String mobileAppID)
          Set the mobile application ID
 void setMobileAppUndefinedErrorMsg(java.lang.String msg)
          Set the mobile application undefined error message
 void setNoColumnMatchErrorMsg(java.lang.String msg)
          Set no column match operation error message
 void setNotMatchErrorMsg(java.lang.String msg)
          Set search value not matching column data type error message
 void setOnFailure(IBOBAction action)
          Set on failure action
 void setOnSuccess(IBOBAction action)
          Set the on success action
 void setProperty(int key, java.lang.Object value)
          Set the property values for this screen
 void setScreenFontStyle(FontStyle fontStyle)
          Set the font style for this screen
 void setSearchExceptionErrorMsg(java.lang.String msg)
          Set the search error message
 void setUnableToFindAlert(java.lang.String alert)
          Set the search screen unable to find alert
 
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, isCache, isSynchronizing, keyChar, makeMenu, onFocusNotify, refresh, refreshScreenContext, run, setFooter, setFooterBorderColor, setFooterFontStyle, setFooterHasBorder, setFooterLabel, setHeaderFooter, setIsCache, setLabelMsgValue, setParentScreen, setProperty, 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, 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

HEADER_ICON

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

DEFAULT_TITLE_LABEL

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

DEFAULT_FIND_MENU_LABEL

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

DEFAULT_FIND_INPUT_LABEL

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

DEFAULT_CLOSE_MENU_LABEL

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

DEFAULT_FILTER_SELECT_LABEL

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

DEFAULT_COMPARISON_SELECT_LABEL

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

DEFAULT_COLUMN_SELECT_LABEL

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

DEFAULT_ALL_COLUMNS_SELECT_LABEL

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

DEFAULT_ENTER_SEARCH_VALUE_ALERT

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

DEFAULT_UNABLE_TO_FIND_ALERT

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

DEFAULT_FILTER_SELECT_CONTAINS_LABEL

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

DEFAULT_FILTER_SELECT_EQUAL_LABEL

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

DEFAULT_FILTER_SELECT_STARTS_WITH_LABEL

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

DEFAULT_FILTER_SELECT_ENDS_WITH_LABEL

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

DEFAULT_FILTER_SELECT_LIKE_LABEL

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

DEFAULT_FILTER_SELECT_NOT_LIKE_LABEL

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

DEFAULT_FILTER_SELECT_DOES_NOT_CONTAIN_LABEL

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

DEFAULT_FILTER_SELECT_DOES_NOT_END_WITH_LABEL

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

DEFAULT_FILTER_SELECT_DOES_NOT_START_WITH_LABEL

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

DEFAULT_FILTER_SELECT_GREATER_THAN_LABEL

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

DEFAULT_FILTER_SELECT_GREATER_THEN_OR_EQUAL_LABEL

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

DEFAULT_FILTER_SELECT_LESS_THAN_LABEL

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

DEFAULT_FILTER_SELECT_LESS_THAN_OR_EQUAL_LABEL

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

DEFAULT_FILTER_SELECT_NOT_EQUAL_LABEL

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

DEFAULT_COMPARISON_SELECT_OR_LABEL

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

DEFAULT_COMPARISON_SELECT_AND_LABEL

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

DEFAULT_LOADING_MOBILE_APP_ERROR_MESSAGE

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

DEFAULT_MOBILE_APP_UNDEFINED_ERROR_MESSAGE

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

DEFAULT_SEARCH_DATA_TYPE_DOES_NOT_MATCH_MESSAGE

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

DEFAULT_SEARCH_EXCEPTION_ERROR_MESSAGE

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

DEFAULT_BLOB_ERROR_MESSAGE

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

DEFAULT_NO_COLUMN_MATCH_OP_ERROR_MSG

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

SearchScreen

public SearchScreen(java.lang.String screenTitle)
Constructor to create Search Screen

Parameters:
screenTitle - String value for the screen title

SearchScreen

public SearchScreen(int screenTitleRID)
Constructor to create Search 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()

refreshFilterChoices

protected void refreshFilterChoices()

setMobileAppID

public void setMobileAppID(java.lang.String mobileAppID)
Set the mobile application ID

Parameters:
mobileAppID - String value for the mobile application ID

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

getLabelFontStyle

public FontStyle getLabelFontStyle()
Get label font style

Returns:
FontStyle font style object
See Also:
FontStyle

setLabelFontStyle

public void setLabelFontStyle(FontStyle fontStyle)
Set label font style

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

getButtonUnfocusFontStyle

public FontStyle getButtonUnfocusFontStyle()
Get the button unfocus font style

Returns:
FontStyle font style object
See Also:
FontStyle

setButtonUnfocusFontStyle

public void setButtonUnfocusFontStyle(FontStyle fontStyle)
Set the button unfocus font style for this control

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

getButtonFocusFontStyle

public FontStyle getButtonFocusFontStyle()
Get the button focus font style

Returns:
FontStyle font style object
See Also:
FontStyle

setButtonFocusFontStyle

public void setButtonFocusFontStyle(FontStyle fontStyle)
Set the button focus font style for this control

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

getCurrentDataProperties

public Query getCurrentDataProperties()
Get the current data properties being used

Returns:
Query query object
See Also:
Query

buttonClicked

public void buttonClicked(net.rim.device.api.ui.Field buttonField)
Override the button clicked funtion to see what buttons has been clicked on

Parameters:
buttonField - Field value for the button clicked on
See Also:
Field

setFindMenuLabel

public void setFindMenuLabel(java.lang.String label)
Set the search screen find menu label

Parameters:
label - String value for the new label

setFindButtonLabel

public void setFindButtonLabel(java.lang.String label)
Set the search screen find button label

Parameters:
label - String value for the new label

setCloseButtonLabel

public void setCloseButtonLabel(java.lang.String label)
Set the search screen close button label

Parameters:
label - String value for the new label

setFindInputLabel

public void setFindInputLabel(java.lang.String label)
Set the search screen find input label

Parameters:
label - String value for the new label

setCloseMenuLabel

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

Parameters:
label - String value for the new label

setFilterSelectLabel

public void setFilterSelectLabel(java.lang.String label)
Set the search screen comparison select label

Parameters:
label - String value for the new label

setComparisonSelectLabel

public void setComparisonSelectLabel(java.lang.String label)
Set the search screen filter select label

Parameters:
label - String value for the new label

setColumnSelectLabel

public void setColumnSelectLabel(java.lang.String label)
Set the search screen column select label

Parameters:
label - String value for the new label

setAllColumnSelectLabel

public void setAllColumnSelectLabel(java.lang.String label)
Set the search screen all column select label

Parameters:
label - String value for the new label

setEnterSearchValueAlert

public void setEnterSearchValueAlert(java.lang.String alert)
Set the search screen enter search value alert

Parameters:
label - String value for the new label

setUnableToFindAlert

public void setUnableToFindAlert(java.lang.String alert)
Set the search screen unable to find alert

Parameters:
label - String value for the new label

setErrorLoadingMobileAppMsg

public void setErrorLoadingMobileAppMsg(java.lang.String msg)
Set the error loading mobile application message

Parameters:
label - String value for the new label

setMobileAppUndefinedErrorMsg

public void setMobileAppUndefinedErrorMsg(java.lang.String msg)
Set the mobile application undefined error message

Parameters:
label - String value for the new label

setSearchExceptionErrorMsg

public void setSearchExceptionErrorMsg(java.lang.String msg)
Set the search error message

Parameters:
label - String value for the new label

setBlobErrorMsg

public void setBlobErrorMsg(java.lang.String msg)
Set blob error message

Parameters:
the - new error message msg String msg

setNoColumnMatchErrorMsg

public void setNoColumnMatchErrorMsg(java.lang.String msg)
Set no column match operation error message

Parameters:
the - new error message msg String msg

setNotMatchErrorMsg

public void setNotMatchErrorMsg(java.lang.String msg)
Set search value not matching column data type error message

Parameters:
the - new error message msg String msg

setOnSuccess

public void setOnSuccess(IBOBAction action)
Set the on success action

Parameters:
action - IBOBAction action object
See Also:
IBOBAction

setOnFailure

public void setOnFailure(IBOBAction action)
Set on failure action

Parameters:
action - IBOBAction action object
See Also:
IBOBAction

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()
Overrides:
onSavePrompt in class net.rim.device.api.ui.container.MainScreen

onDisplay

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

initScreenContext

public void initScreenContext(IBOBScreen parentScreen,
                              java.lang.String[] relationshipList)
Description copied from class: BaseBOBScreen
(non-Javadoc)

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