com.sybase.uep.bobclient.controls
Class TwoColumnLayout

java.lang.Object
  extended by net.rim.device.api.ui.Field
      extended by net.rim.device.api.ui.Manager
          extended by com.sybase.uep.bobclient.controls.LayoutManager
              extended by com.sybase.uep.bobclient.controls.TwoColumnLayout
All Implemented Interfaces:
ScreenProperties, Control, ControlFocus, MobileDataControl, IModelChangeListener, net.rim.device.api.ui.FocusChangeListener

public class TwoColumnLayout
extends LayoutManager
implements Control, MobileDataControl, net.rim.device.api.ui.FocusChangeListener, ControlFocus, IModelChangeListener

This is the two column layout

Author:
tdang

Field Summary
static int DEFAULT_BACKGROUND_COLOR
           
static char DEFAULT_NEXT_HOT_KEY
           
static java.lang.String DEFAULT_NEXT_MENU_LABEL
           
static char DEFAULT_PREVIOUS_HOT_KEY
           
static java.lang.String DEFAULT_PREVIOUS_MENU_LABEL
           
 
Fields inherited from class com.sybase.uep.bobclient.controls.LayoutManager
_columnPercentages, _controlID, _currentRowLayout, _customEventsHandler, _orientation, DEFAULT_MARGIN, DEFAULT_SPACING
 
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
 
Fields inherited from interface com.sybase.uep.bobclient.constants.ScreenProperties
ABOUT_SCREEN_CLOSE_MENU_LABEL, ABOUT_SCREEN_DESCRIPTION, ABOUT_SCREEN_FLASH_ALLOWCATED_LABEL, ABOUT_SCREEN_FLASH_FREE_LABEL, ABOUT_SCREEN_FLASH_OBJECTS_LABEL, ABOUT_SCREEN_FONT_STYLE, ABOUT_SCREEN_LOGO_IMAGE, ABOUT_SCREEN_NAVIGATION_BORDER_STYLE, ABOUT_SCREEN_NAVIGATION_STYLE, ABOUT_SCREEN_RAM_ALLOWCATED_LABEL, ABOUT_SCREEN_RAM_FREE_LABEL, ABOUT_SCREEN_RAM_OBJECTS_LABEL, ABOUT_SCREEN_SHOW_DEVICE_INFO, ABOUT_SCREEN_VERSION_LABEL, APPLOG_Details_SCREEN_CANCELL_MENU_ACTION, APPLOG_Details_SCREEN_CANCELL_MENU_LABEL, APPLOG_Details_SCREEN_FONT_STYLE, APPLOG_Details_SCREEN_LABEL_PENDING_FONT_STYLE, APPLOG_Details_SCREEN_LOG_LEVEL_DEBUG_LABEL, APPLOG_Details_SCREEN_LOG_LEVEL_ERROR_LABEL, APPLOG_Details_SCREEN_LOG_LEVEL_FATAL_LABEL, APPLOG_Details_SCREEN_LOG_LEVEL_INFO_LABEL, APPLOG_Details_SCREEN_LOG_LEVEL_LABEL, APPLOG_Details_SCREEN_LOG_LEVEL_WARN_LABEL, APPLOG_Details_SCREEN_LOG_MESSAGE_LABEL, APPLOG_Details_SCREEN_LOG_STATUS_CLIENTONLY, APPLOG_Details_SCREEN_LOG_STATUS_UPLOADED, APPLOG_Details_SCREEN_LOG_TIME_LABEL, APPLOG_Details_SCREEN_NAVIGATION_BORDER_STYLE, APPLOG_Details_SCREEN_NAVIGATION_STYLE, APPLOG_Details_SCREEN_PENDING_FONT_STYLE, APPLOG_Details_SCREEN_STATUS_LABEL, APPLOG_Details_SCREEN_TITLE, APPLOGS_SCREEN_CLIENTLOG_TAB_TITLE, APPLOGS_SCREEN_CLOSE_MENU_LABEL, APPLOGS_SCREEN_DEBUG_LEVEL_LABEL, APPLOGS_SCREEN_DELETE_ALL_LOGS_MENU_LABEL, APPLOGS_SCREEN_DELETE_ALL_LOGS_MESSAGE, APPLOGS_SCREEN_DELETE_LOG_MENU_LABEL, APPLOGS_SCREEN_DELETE_LOG_MESSAGE, APPLOGS_SCREEN_DELETE_LOGLEVELTREE_MESSAGE, APPLOGS_SCREEN_DETAIL_MENU_LABEL, APPLOGS_SCREEN_ERROR_LEVEL_LABEL, APPLOGS_SCREEN_FATAl_LEVEL_LABEL, APPLOGS_SCREEN_HEADER_FONT_STYLE, APPLOGS_SCREEN_INFO_LEVEL_LABEL, APPLOGS_SCREEN_LOG_LEVEL_DEBUG_ICON, APPLOGS_SCREEN_LOG_LEVEL_ERROR_ICON, APPLOGS_SCREEN_LOG_LEVEL_FATAL_ICON, APPLOGS_SCREEN_LOG_LEVEL_INFO_ICON, APPLOGS_SCREEN_LOG_LEVEL_WARN_ICON, APPLOGS_SCREEN_LOGLEVEL_NODE_ITEM_LABEL, APPLOGS_SCREEN_LOGLEVEL_NODE_ITEMS_LABEL, APPLOGS_SCREEN_NAVIGATION_BORDER_STYLE, APPLOGS_SCREEN_SORT_ON_LOGTIME_MENU_LABEL, APPLOGS_SCREEN_SYNCHRONIZE_MENU_LABEL, APPLOGS_SCREEN_TITLE, APPLOGS_SCREEN_UPLOAD_ALL_LOGS_MENU_LABEL, APPLOGS_SCREEN_UPLOAD_LOG_MENU_LABEL, APPLOGS_SCREEN_WARN_LEVEL_LABEL, BUTTON_ACTION, BUTTON_BORDER_COLOR, BUTTON_IMAGE, BUTTON_IMAGE_ALIGNMENT, BUTTON_LABEL, BUTTON_WIDTH, CHECKBOX_CHECK, CHECKBOX_LABEL, DATE_CHOICE_LABEL, FOOTER_BORDER_COLOR, FOOTER_FONT_STYLE, FOOTER_HAS_BORDER, FOOTER_LABEL, HORIZONTAL_RULER_COLOR, HORIZONTAL_RULER_THICKNESS, HORIZONTAL_RULER_WIDTH, HYPERLINK_ACTION, HYPERLINK_LABEL, LABEL_TEXT, LAYOUT_DISPLAY_FONT_STYLE, LAYOUT_EVEN_ROW_FONT_STYLE, LAYOUT_NUMBER_OF_COLUMNS, LAYOUT_ODD_ROW_FONT_STYLE, LAYOUT_SHOW_ALT_COLORS, LIST_ITEM_BORDER_COLOR, LIST_ITEM_HAS_BORDER, LIST_ITEM_ICON, LIST_ITEM_LABEL, LOG_INFO_SCREEN_CLOSE_ACTION, LOG_INFO_SCREEN_CLOSE_MENU_LABEL, LOG_INFO_SCREEN_LOG_APPLICATION_NAME_LABEL, LOG_INFO_SCREEN_LOG_DATE_LABEL, LOG_INFO_SCREEN_LOG_MESSAGE_LABEL, LOG_INFO_SCREEN_LOG_STATUS_FAILED_LABEL, LOG_INFO_SCREEN_LOG_STATUS_LABEL, LOG_INFO_SCREEN_LOG_STATUS_SUCCESS_LABEL, LOG_INFO_SCREEN_NAVIGATION_BORDER_STYLE, LOG_INFO_SCREEN_NAVIGATION_STYLE, LOG_INFO_SCREEN_TITLE, LOGCONFIG_SCREEN_BUTTON_FOCUS_FONT_STYLE, LOGCONFIG_SCREEN_BUTTON_UNFOCUS_FONT_STYLE, LOGCONFIG_SCREEN_CLOSE_BUTTON_LABEL, LOGCONFIG_SCREEN_CLOSE_MENU_LABEL, LOGCONFIG_SCREEN_FONT_STYLE, LOGCONFIG_SCREEN_LABEL_FONT_STYLE, LOGCONFIG_SCREEN_LOGLEVEL_SELECT_DEBUG_LABEL, LOGCONFIG_SCREEN_LOGLEVEL_SELECT_ERROR_LABEL, LOGCONFIG_SCREEN_LOGLEVEL_SELECT_FATAL_LABEL, LOGCONFIG_SCREEN_LOGLEVEL_SELECT_INFO_LABEL, LOGCONFIG_SCREEN_LOGLEVEL_SELECT_OFF_LABEL, LOGCONFIG_SCREEN_LOGLEVEL_SELECT_WARN_LABEL, LOGCONFIG_SCREEN_NO_CHANGE_MESSAGE, LOGCONFIG_SCREEN_SAVE_BUTTON_LABEL, LOGCONFIG_SCREEN_SAVE_MENU_LABEL, LOGCONFIG_SCREEN_TITLE, LOGGING_SCREEN_DEFAULT_DELETELOG_CHECKBOX_LABEL, LOGGING_SCREEN_DEFAULT_DELETELOGS, LOGGING_SCREEN_DEFAULT_LOG_LEVEL, LOGGING_SCREEN_DEFAULT_LOG_LEVEL_LABEL, LOGGING_SCREEN_NAVIGATION_BORDER_STYLE, LOGGING_SCREEN_NAVIGATION_STYLE, LOGGING_SCREEN_SAVE_LOGSETTING_MESSAGE, LOGIN_SCREEN_BANNER_IMAGE, LOGIN_SCREEN_BUTTON_FOCUS_FONT_STYLE, LOGIN_SCREEN_BUTTON_UNFOCUS_FONT_STYLE, LOGIN_SCREEN_ERROR_AUTHENTICATE_MESSAGE, LOGIN_SCREEN_ERROR_LOADING_PROFILE_MESSAGE, LOGIN_SCREEN_EXIT_BUTTON_LABEL, LOGIN_SCREEN_EXIT_MENU_LABEL, LOGIN_SCREEN_FAILED_LOGIN_ALERT_MESSAGE, LOGIN_SCREEN_FAILURE_ACTION, LOGIN_SCREEN_FONT_STYLE, LOGIN_SCREEN_LOGIN_BUTTON_LABEL, LOGIN_SCREEN_LOGIN_LABEL, LOGIN_SCREEN_LOGIN_MENU_LABEL, LOGIN_SCREEN_LOGIN_PROMPT_MESSAGE, LOGIN_SCREEN_NAVIGATION_BORDER_STYLE, LOGIN_SCREEN_NAVIGATION_STYLE, LOGIN_SCREEN_PASSWORD_LABEL, LOGIN_SCREEN_PASSWORD_PROMPT_MESSAGE, LOGIN_SCREEN_SHOW_BUTTONS, LOGIN_SCREEN_SHOW_LOGO, LOGIN_SCREEN_SUCCESS_ACTION, LOGIN_SCREEN_WAIT_AUTHENTICATE_MESSAGE, LOGS_SCREEN_ADD_NAVIGATIONBAR_OPTION, LOGS_SCREEN_ALERT_CANCEL_LABEL, LOGS_SCREEN_ALERT_OK_LABEL, LOGS_SCREEN_CLOSE_ACTION, LOGS_SCREEN_CLOSE_MENU_LABEL, LOGS_SCREEN_DELETE_ALL_LOGS_MENU_LABEL, LOGS_SCREEN_DELETE_ALL_LOGS_MESSAGE, LOGS_SCREEN_DELETE_LOG_MENU_LABEL, LOGS_SCREEN_DELETE_LOG_MESSAGE, LOGS_SCREEN_DETAIL_MENU_LABEL, LOGS_SCREEN_LOADING_MBO_ERROR_MESSAGE, LOGS_SCREEN_LOG_ERROR_ICON, LOGS_SCREEN_LOG_ICON, LOGS_SCREEN_MBO_ICON, LOGS_SCREEN_NAVIGATION_BORDER_STYLE, LOGS_SCREEN_NAVIGATION_STYLE, LOGS_SCREEN_NAVIGATION_TITLE, LOGS_SCREEN_NO_LOGS_LABEL, LOGS_SCREEN_PACKAGE_ICON, LOGS_SCREEN_SCREEN_FONT_STYLE, LOGS_SCREEN_SERVERLOG_TAB_TITLE, LOGS_SCREEN_SYNCHRONIZE_MENU_LABEL, MOBILE_OBJECT_INFO_SCREEN_CLOSE_ACTION, MOBILE_OBJECT_INFO_SCREEN_CLOSE_MENU_LABEL, MOBILE_OBJECT_INFO_SCREEN_NAME_LABEL, MOBILE_OBJECT_INFO_SCREEN_TITLE, NAVIGATION_BAR_BORDER_STYLE, NAVIGATION_BAR_FONT_STYLE, NAVIGATION_BAR_LABEL, PASSWORD_INPUT_BORDER_COLOR, PASSWORD_INPUT_EMPTY_MEANS_NULL, PASSWORD_INPUT_LABEL, PASSWORD_INPUT_SHOW_BORDER, PENDING_OPERATION_INFO_SCREEN_CLOSE_ACTION, PENDING_OPERATION_INFO_SCREEN_CLOSE_MENU_LABEL, PENDING_OPERATION_INFO_SCREEN_LAST_MODIFIED_LABEL, PENDING_OPERATION_INFO_SCREEN_NAVIGATION_BORDER_STYLE, PENDING_OPERATION_INFO_SCREEN_NAVIGATION_STYLE, PENDING_OPERATION_INFO_SCREEN_OPERATION_NAME_LABEL, PENDING_OPERATION_INFO_SCREEN_PARAMETER_LIST_LABEL, PENDING_OPERATION_INFO_SCREEN_STATUS_DISABLED_LABEL, PENDING_OPERATION_INFO_SCREEN_STATUS_LABEL, PENDING_OPERATION_INFO_SCREEN_STATUS_PENDING_LABEL, PENDING_OPERATION_INFO_SCREEN_TITLE, PENDING_OPERATION_SCREEN_ALERT_CANCEL_LABEL, PENDING_OPERATION_SCREEN_ALERT_DELETE_ALL_OPERATIONS_MESSAGE, PENDING_OPERATION_SCREEN_ALERT_DELETE_OPERATION_MESSAGE, PENDING_OPERATION_SCREEN_ALERT_OK_LABEL, PENDING_OPERATION_SCREEN_ALERT_SUBMIT_ALL_OPERATIONS_MESSAGE, PENDING_OPERATION_SCREEN_ALERT_SUBMIT_PACKAGE_OPERATION_MESSAGE, PENDING_OPERATION_SCREEN_ALERT_SUBMIT_PUBLICATION_OPERATION_MESSAGE, PENDING_OPERATION_SCREEN_CLOSE_ACTION, PENDING_OPERATION_SCREEN_CLOSE_MENU_LABEL, PENDING_OPERATION_SCREEN_DELETE_ALL_OPERATION_MENU_LABEL, PENDING_OPERATION_SCREEN_DELETE_ICON, PENDING_OPERATION_SCREEN_DELETE_OPERATION_MENU_LABEL, PENDING_OPERATION_SCREEN_DELETE_TREE_LABEL, PENDING_OPERATION_SCREEN_DISABLE_ICON, PENDING_OPERATION_SCREEN_DISABLE_OPERATION_MENU_LABEL, PENDING_OPERATION_SCREEN_ENABLE_ICON, PENDING_OPERATION_SCREEN_ENABLE_OPERATION_MENU_LABEL, PENDING_OPERATION_SCREEN_FONT_STYLE, PENDING_OPERATION_SCREEN_FOOTER_DISABLED_LABEL, PENDING_OPERATION_SCREEN_FOOTER_PENDING_LABEL, PENDING_OPERATION_SCREEN_INSERT_ICON, PENDING_OPERATION_SCREEN_INSERT_TREE_LABEL, PENDING_OPERATION_SCREEN_LOADING_MBO_ERROR_MESSAGE, PENDING_OPERATION_SCREEN_MBO_ICON, PENDING_OPERATION_SCREEN_NAVIGATION_BORDER_STYLE, PENDING_OPERATION_SCREEN_NAVIGATION_STYLE, PENDING_OPERATION_SCREEN_NO_OPERATION_TREE_LABEL, PENDING_OPERATION_SCREEN_OPERATION_INFO_MENU_LABEL, PENDING_OPERATION_SCREEN_OTHER_ICON, PENDING_OPERATION_SCREEN_OTHER_TREE_LABEL, PENDING_OPERATION_SCREEN_PACKAGE_ICON, PENDING_OPERATION_SCREEN_PUBLICATION_ICON, PENDING_OPERATION_SCREEN_SUBMIT_ALL_OPERATION_MENU_LABEL, PENDING_OPERATION_SCREEN_SUBMIT_OPERATION_MENU_LABEL, PENDING_OPERATION_SCREEN_UPDATE_ICON, PENDING_OPERATION_SCREEN_UPDATE_TREE_LABEL, PERSONALIZATION_SCREEN_ADD_MENU_LABEL, PERSONALIZATION_SCREEN_BUTTON_FOCUS_FONT_STYLE, PERSONALIZATION_SCREEN_BUTTON_UNFOCUS_FONT_STYLE, PERSONALIZATION_SCREEN_CLOSE_ACTION, PERSONALIZATION_SCREEN_CLOSE_BUTTON_LABEL, PERSONALIZATION_SCREEN_CLOSE_MENU_LABEL, PERSONALIZATION_SCREEN_EDIT_MENU_LABEL, PERSONALIZATION_SCREEN_ERROR_LOADING_PERSONALIZATION_MESSAGE, PERSONALIZATION_SCREEN_FONT_STYLE, PERSONALIZATION_SCREEN_LABEL_FONT_STYLE, PERSONALIZATION_SCREEN_NAVIGATION_BORDER_STYLE, PERSONALIZATION_SCREEN_NAVIGATION_STYLE, PERSONALIZATION_SCREEN_NO_PERSONALIZATION_APP_MESSAGE, PERSONALIZATION_SCREEN_NO_PERSONALIZATION_KEYS_MESSAGE, PERSONALIZATION_SCREEN_NO_PERSONALIZATION_KEYS_NO_CHANGE_MESSAGE, PERSONALIZATION_SCREEN_PACKAGE_ICON, PERSONALIZATION_SCREEN_PERSONALIZATION_ICON, PERSONALIZATION_SCREEN_REMOVE_MENU_LABEL, PERSONALIZATION_SCREEN_SAVE_ACTION, PERSONALIZATION_SCREEN_UPDATE_BUTTON_LABEL, PERSONALIZATION_SCREEN_UPDATE_MENU_LABEL, PERSONALIZATION_SCREEN_VALUE_MAX_LENGTH, PERSONALIZATION_SCREEN_VALUE_NULL_MESSAGE, PERSONALIZATION_SCREEN_VALUE_TOO_LONG_MESSAGE, PROFILE_SCREEN_CLOSE_MENU_LABEL, PROFILE_SCREEN_EDIT_PROFILE_MENU_LABEL, PROFILE_SCREEN_ERROR_LOADING_PROFILE_MSG, PROFILE_SCREEN_ERROR_SAVING_PROFILE_MSG, PROFILE_SCREEN_FONT_STYLE, PROFILE_SCREEN_LOGIN_PROFILE_ICON, PROFILE_SCREEN_LOGIN_PROFILE_MENU_LABEL, PROFILE_SCREEN_NAVIGATION_BORDER_STYLE, PROFILE_SCREEN_NAVIGATION_STYLE, PROFILE_SCREEN_SET_LOGIN_PROFILE_ERROR_MSG, PROFILE_UPDATE_SCREEN_CANCEL_MENU_LABEL, PROFILE_UPDATE_SCREEN_CLOSE_ACTION, PROFILE_UPDATE_SCREEN_FONT_STYLE, PROFILE_UPDATE_SCREEN_LABEL_FONT_STYLE, PROFILE_UPDATE_SCREEN_LOGIN_PROFILE_ICON, PROFILE_UPDATE_SCREEN_NAVIGATION_BORDER_STYLE, PROFILE_UPDATE_SCREEN_NAVIGATION_STYLE, PROFILE_UPDATE_SCREEN_NO_PROFILE_MSG, PROFILE_UPDATE_SCREEN_NOTHING_CHANGED_MSG, PROFILE_UPDATE_SCREEN_ONLINE_LOGIN_ERROR_MSG, PROFILE_UPDATE_SCREEN_PASSWORD_INPUT_LABEL, PROFILE_UPDATE_SCREEN_PORT_NUMBER_INPUT_LABEL, PROFILE_UPDATE_SCREEN_PROFILE_NAME_INPUT_LABEL, PROFILE_UPDATE_SCREEN_SAVE_ACTION, PROFILE_UPDATE_SCREEN_SAVE_MENU_LABEL, PROFILE_UPDATE_SCREEN_SAVE_PROFILE_SUCCESS_MSG, PROFILE_UPDATE_SCREEN_SAVE_PROFILE_SUCCESS_SUGGESTION_MSG, PROFILE_UPDATE_SCREEN_SERVER_INPUT_LABEL, PROFILE_UPDATE_SCREEN_STREAM_PARAMS_INPUT_LABEL, PROFILE_UPDATE_SCREEN_TITLE, PROFILE_UPDATE_SCREEN_UPDATE_DUPLICATE_PROFILE_NAME_MSG, PROFILE_UPDATE_SCREEN_UPDATE_ENTER_PROFILE_NAME_MSG, PROFILE_UPDATE_SCREEN_UPDATE_ENTER_SERVER_NAME_MSG, PROFILE_UPDATE_SCREEN_UPDATE_ENTER_SERVER_PORT_MSG, PROFILE_UPDATE_SCREEN_UPDATE_ENTER_USER_NAME_MSG, PROFILE_UPDATE_SCREEN_UPDATE_PORT_INVALID_MSG, PROFILE_UPDATE_SCREEN_UPDATE_SECURE_LABEL, PROFILE_UPDATE_SCREEN_UPDATE_VALIDATING_MSG, PROFILE_UPDATE_SCREEN_USERNAME_INPUT_LABEL, PUSH_LOGS_CLEAR_LOGS_MENU_LABEL, PUSH_LOGS_CLOSE_ACTION, PUSH_LOGS_CLOSE_MENU_LABEL, PUSH_LOGS_SAVE_ACTION, PUSH_LOGS_SCREEN_ERROR_LOADING_SYNC_GROUP_INFO_MSG, PUSH_LOGS_SCREEN_ERROR_SAVING_SYNC_GROUP_MSG, PUSH_LOGS_SCREEN_NAVIGATION_BORDER_STYLE, PUSH_LOGS_SCREEN_NAVIGATION_FONT_STYLE, PUSH_LOGS_SCREEN_TITLE, PUSH_SETTINGS_INFORMATION_FONT_STYLE, PUSH_SETTINGS_LABEL_FONT_STYLE, PUSH_SETTINGS_SCREEN_BUTTON_FOCUS_FONT_STYLE, PUSH_SETTINGS_SCREEN_BUTTON_UNFOCUS_FONT_STYLE, PUSH_SETTINGS_SCREEN_CANCEL_BUTTON_LABEL, PUSH_SETTINGS_SCREEN_CANCEL_MENU_LABEL, PUSH_SETTINGS_SCREEN_ENTER_HTTP_MDS_PORT_MESSAGE, PUSH_SETTINGS_SCREEN_ENTER_HTTP_MDS_SERVER_MESSAGE, PUSH_SETTINGS_SCREEN_ERROR_LOADING_SETTINGS_MESSAGE, PUSH_SETTINGS_SCREEN_FONT_STYLE, PUSH_SETTINGS_SCREEN_HTTP_INPUT_LABEL, PUSH_SETTINGS_SCREEN_HTTP_INPUT_MESSAGE, PUSH_SETTINGS_SCREEN_HTTP_INVALID_MDS_PORT_MESSAGE, PUSH_SETTINGS_SCREEN_HTTP_MDS_PORT, PUSH_SETTINGS_SCREEN_HTTP_MDS_PORT_INPUT_LABEL, PUSH_SETTINGS_SCREEN_HTTP_MDS_SERVER_INPUT_LABEL, PUSH_SETTINGS_SCREEN_HTTP_MDS_SERVER_NAME, PUSH_SETTINGS_SCREEN_NAVIGATION_BORDER_STYLE, PUSH_SETTINGS_SCREEN_NAVIGATION_STYLE, PUSH_SETTINGS_SCREEN_SAVE_BUTTON_LABEL, PUSH_SETTINGS_SCREEN_SAVE_MENU_LABEL, PUSH_SETTINGS_SCREEN_SAVE_SUCCESS_MESSAGE, RADIO_BOX_GROUP_DISPLAY_FONT_STYLE, RADIO_BOX_GROUP_SELECTED_RADIO_LABEL, RADIOBOX_LABEL, SCALAR_PERSONALIZATION_EDITOR_SCREEN_CLOSE_BUTTON_LABEL, SCALAR_PERSONALIZATION_EDITOR_SCREEN_CLOSE_MENU_LABEL, SCALAR_PERSONALIZATION_EDITOR_SCREEN_PERS_KEY_VALUE_LABEL, SCALAR_PERSONALIZATION_EDITOR_SCREEN_SAVE_BUTTON_LABEL, SCALAR_PERSONALIZATION_EDITOR_SCREEN_SAVE_MENU_LABEL, SCALAR_PERSONALIZATION_EDITOR_SCREEN_TITLE, SCREEN_SAVER_SCREEN_BUTTON_FOCUS_FONT_STYLE, SCREEN_SAVER_SCREEN_BUTTON_UNFOCUS_FONT_STYLE, SCREEN_SAVER_SCREEN_CANCEL_BUTTON_LABEL, SCREEN_SAVER_SCREEN_CANCEL_MENU_LABEL, SCREEN_SAVER_SCREEN_CHANGE_IDLE_TIME, SCREEN_SAVER_SCREEN_CHANGE_SCREEN_SAVER, SCREEN_SAVER_SCREEN_ENABLE_SCREEN_SAVER_LABEL, SCREEN_SAVER_SCREEN_ERROR_LOADING_SETTINGS_MESSAGE, SCREEN_SAVER_SCREEN_FONT_STYLE, SCREEN_SAVER_SCREEN_IDLE_TIME_MESSAGE, SCREEN_SAVER_SCREEN_LOCK_CLIENT_NOW_LABEL, SCREEN_SAVER_SCREEN_LOCK_CLIENT_NOW_PROMPT_MESSAGE, SCREEN_SAVER_SCREEN_NAVIGATION_BORDER_STYLE, SCREEN_SAVER_SCREEN_NAVIGATION_STYLE, SCREEN_SAVER_SCREEN_SAVE_ACTION, SCREEN_SAVER_SCREEN_SAVE_BUTTON_LABEL, SCREEN_SAVER_SCREEN_SAVE_MENU_LABEL, SCREEN_SAVER_SCREEN_SAVE_SUCCESS_MESSAGE, SCREEN_SAVER_SCREEN_SHOW_BUTTONS, SCREEN_SAVER_SCREEN_WAIT_LABEL, SEARCH_SCREEN_ALL_COLUMN_SELECT_LABEL, SEARCH_SCREEN_BLOB_ERROR_MESSAGE, SEARCH_SCREEN_BUTTON_FOCUS_FONT_STYLE, SEARCH_SCREEN_BUTTON_UNFOCUS_FONT_STYLE, SEARCH_SCREEN_CLOSE_BUTTON_LABEL, SEARCH_SCREEN_CLOSE_MENU_LABEL, SEARCH_SCREEN_COLUMN_SELECT_LABEL, SEARCH_SCREEN_COMPARISON_SELECT_AND_LABEL, SEARCH_SCREEN_COMPARISON_SELECT_LABEL, SEARCH_SCREEN_COMPARISON_SELECT_OR_LABEL, SEARCH_SCREEN_ENTER_SEARCH_VALUE_ALERT, SEARCH_SCREEN_FAILURE_ACTION, SEARCH_SCREEN_FILTER_SELECT_CONTAINS_LABEL, SEARCH_SCREEN_FILTER_SELECT_DOES_NOT_CONTAIN_LABEL, SEARCH_SCREEN_FILTER_SELECT_DOES_NOT_END_WITH_LABEL, SEARCH_SCREEN_FILTER_SELECT_DOES_NOT_START_WITH_LABEL, SEARCH_SCREEN_FILTER_SELECT_ENDS_WITH_LABEL, SEARCH_SCREEN_FILTER_SELECT_EQUAL_LABEL, SEARCH_SCREEN_FILTER_SELECT_GREATER_THAN_LABEL, SEARCH_SCREEN_FILTER_SELECT_GREATER_THEN_OR_EQUAL_LABEL, SEARCH_SCREEN_FILTER_SELECT_LABEL, SEARCH_SCREEN_FILTER_SELECT_LESS_THAN_LABEL, SEARCH_SCREEN_FILTER_SELECT_LESS_THAN_OR_EQUAL_LABEL, SEARCH_SCREEN_FILTER_SELECT_LIKE_LABEL, SEARCH_SCREEN_FILTER_SELECT_NOT_EQUAL_LABEL, SEARCH_SCREEN_FILTER_SELECT_NOT_LIKE_LABEL, SEARCH_SCREEN_FILTER_SELECT_STARTS_WITH_LABEL, SEARCH_SCREEN_FIND_BUTTON_LABEL, SEARCH_SCREEN_FIND_INPUT_LABEL, SEARCH_SCREEN_FIND_MENU_LABEL, SEARCH_SCREEN_LABEL_FONT_STYLE, SEARCH_SCREEN_MOBILE_APP_UNDEFINED_ERROR_MSG, SEARCH_SCREEN_MOBILE_ERROR_LOADING_MOBILE_APP_MSG, SEARCH_SCREEN_NAVIGATION_BORDER_STYLE, SEARCH_SCREEN_NAVIGATION_STYLE, SEARCH_SCREEN_NO_COLUMN_MATCH_OP_ERROR_MSG, SEARCH_SCREEN_SCREEN_FONT_STYLE, SEARCH_SCREEN_SEARCH_DATA_TYPE_DOES_NOT_MATCH_MESSAGE, SEARCH_SCREEN_SEARCH_EXCEPTION_ERROR_MSG, SEARCH_SCREEN_SUCCESS_ACTION, SEARCH_SCREEN_UNABLE_TO_FIND_ALERT, SELECTBOX_ITEM_LABEL, SELECTBOX_ITEM_NAME, SELECTBOX_ITEM_VALUE, SELECTBOX_LABEL, SPLASH_SCREEN_CLOSE_ACTION, SPLASH_SCREEN_LOGO_IMAGE, SPLASH_SCREEN_MESSAGE, STOCK_SCREEN_CLOSE_ACTION, STOCK_SCREEN_FAILED_ACTION, STOCK_SCREEN_SAVE_ACTION, STOCK_SCREEN_SUCCESS_ACTION, SYNC_GROUP_INFO_SCREEN_CLOSE_ACTION, SYNC_GROUP_INFO_SCREEN_CLOSE_MENU_LABEL, SYNC_GROUP_INFO_SCREEN_ERROR_LOADING_SYNC_GROUP_INFO_MSG, SYNC_GROUP_INFO_SCREEN_ERROR_SAVING_SYNC_GROUP_MSG, SYNC_GROUP_INFO_SCREEN_FONT_STYLE, SYNC_GROUP_INFO_SCREEN_LOG_MESSAGE_MENU_LABEL, SYNC_GROUP_INFO_SCREEN_NAVIGATION_BORDER_STYLE, SYNC_GROUP_INFO_SCREEN_NAVIGATION_STYLE, SYNC_GROUP_INFO_SCREEN_NO_PUSH_LOGS_MSG, SYNC_GROUP_INFO_SCREEN_PACKAGE_LABEL, SYNC_GROUP_INFO_SCREEN_PUSH_ADMIN_MSG, SYNC_GROUP_INFO_SCREEN_PUSH_ENABLE_MSG, SYNC_GROUP_INFO_SCREEN_PUSH_NOTIFICATION_LABEL, SYNC_GROUP_INFO_SCREEN_PUSH_SYNC_INTERVAL_LABEL, SYNC_GROUP_INFO_SCREEN_PUSH_SYNC_INTERVAL_MSG, SYNC_GROUP_INFO_SCREEN_PUSH_SYNC_INTERVAL_NUM_MSG, SYNC_GROUP_INFO_SCREEN_PUSH_TYPE_NO_PROMPT_NO_SYNC_LABEL, SYNC_GROUP_INFO_SCREEN_PUSH_TYPE_NO_SYNC_NO_RESP_LABEL, SYNC_GROUP_INFO_SCREEN_PUSH_TYPE_SYNC_IMMEDIATELY_LABEL, SYNC_GROUP_INFO_SCREEN_PUSH_TYPE_SYNC_NO_RESP_LABEL, SYNC_GROUP_INFO_SCREEN_SAVE_ACTION, SYNC_GROUP_INFO_SCREEN_SAVE_MENU_LABEL, SYNC_GROUP_INFO_SCREEN_SAVING_MESSAGE, SYNC_GROUP_INFO_SCREEN_SHOW_PUSH_LOGS, SYNC_GROUP_INFO_SCREEN_SYNC_GROUP_ID_UNDEFINED_MSG, SYNC_GROUP_INFO_SCREEN_SYNC_GROUP_LABEL, SYNC_GROUP_INFO_SCREEN_TITLE, SYNC_GROUP_INFO_SCREEN_WAIT_IDLE_LABEL, SYNCHRONIZATION_MBO_INFO_SCREEN_APP_SIZE_NAME_LABEL, SYNCHRONIZATION_MBO_INFO_SCREEN_ERROR_LOADING_MBO_INFO_MSG, SYNCHRONIZATION_MBO_INFO_SCREEN_FONT_STYLE, SYNCHRONIZATION_MBO_INFO_SCREEN_ID_UNDEFINED_MSG, SYNCHRONIZATION_MBO_INFO_SCREEN_LAST_TIME_REFRESH_LABEL, SYNCHRONIZATION_MBO_INFO_SCREEN_NAVIGATION_BORDER_STYLE, SYNCHRONIZATION_MBO_INFO_SCREEN_NAVIGATION_STYLE, SYNCHRONIZATION_MBO_INFO_SCREEN_PROFILE_LABEL, SYNCHRONIZATION_SCREEN_CLEARING_DATA_ERROR_MESSAGE, SYNCHRONIZATION_SCREEN_CLOSE_ACTION, SYNCHRONIZATION_SCREEN_CLOSE_MENU_LABEL, SYNCHRONIZATION_SCREEN_FONT_STYLE, SYNCHRONIZATION_SCREEN_LOADING_MBO_ERROR_MESSAGE, SYNCHRONIZATION_SCREEN_MBO_ICON, SYNCHRONIZATION_SCREEN_MBO_INFO_MENU_LABEL, SYNCHRONIZATION_SCREEN_NAVIGATION_BORDER_STYLE, SYNCHRONIZATION_SCREEN_NAVIGATION_STYLE, SYNCHRONIZATION_SCREEN_PACKAGE_ICON, SYNCHRONIZATION_SCREEN_PUBLICATION_ICON, SYNCHRONIZATION_SCREEN_REFRESH_ALL_MENU_LABEL, SYNCHRONIZATION_SCREEN_REFRESH_MENU_LABEL, SYNCHRONIZATION_SCREEN_REFRESH_PACKAGE_MENU_LABEL, SYNCHRONIZATION_SCREEN_REMOVE_MBO_MENU_LABEL, SYNCHRONIZATION_SCREEN_SYNC_GROUP_INFO_MENU_LABEL, TAB_ACTIVE_BORDER_COLOR, TAB_INACTIVE_BORDER_COLOR, TABLE_BORDER_COLOR, TABLE_ERROR_LOADING_MBO_MESSAGE, TABLE_EVEN_ROW_FONT_STYLE, TABLE_FOCUS_FONT_STYLE, TABLE_HAS_BORDER, TABLE_HAS_ROW_ALTERNATE_COLOR, TABLE_HAS_SORT_MENUS, TABLE_HEADER_FONT_STYLE, TABLE_ODD_ROW_FONT_STYLE, TABLE_PARAMETER_BGCOLOR_COLOR, TABLE_PENDING_FONT_STYLE, TABLE_SORT_MENU_LABEL, TEXTINPUT_BORDER_COLOR, TEXTINPUT_EMPTY_MEANS_NULL, TEXTINPUT_LABEL, TEXTINPUT_SHOW_BORDER, TWO_COLUMN_LAYOUT_BORDER_COLOR, TWO_COLUMN_LAYOUT_DISABLE_HOT_KEYS, TWO_COLUMN_LAYOUT_DISPLAY_FONT_STYLE, TWO_COLUMN_LAYOUT_ERROR_LOADING_MOBILE_APP_MSG, TWO_COLUMN_LAYOUT_EVEN_ROW_FONT_STYLE, TWO_COLUMN_LAYOUT_FOCUS_FONT_STYLE, TWO_COLUMN_LAYOUT_LEFT_ALIGNMENT, TWO_COLUMN_LAYOUT_NEXT_HOTKEY, TWO_COLUMN_LAYOUT_NEXT_MENU_LABEL, TWO_COLUMN_LAYOUT_ODD_ROW_FONT_STYLE, TWO_COLUMN_LAYOUT_PENDING_FONT_STYLE, TWO_COLUMN_LAYOUT_PREVIOUS_HOTKEY, TWO_COLUMN_LAYOUT_PREVIOUS_MENU_LABEL, TWO_COLUMN_LAYOUT_RIGHT_ALIGNMENT, TWO_COLUMN_LAYOUT_SHOW_NEXT_PREVIOUS_MENUS
 
Constructor Summary
TwoColumnLayout(java.lang.String mobileAppID, int leftColumnPercentage, int currentRecordIndex, long leftColumnAlignment, long rightColumnAlignment, FontStyle displayFontStyle, FontStyle evenRowFontStyle, FontStyle oddRowFontStyle, FontStyle focusFontStyle, FontStyle pendingFontStyle, boolean showNextPrevMenu, java.lang.String[] columnConfig, IBOBScreen screen)
          Two Column Layout constructor
TwoColumnLayout(java.lang.String mobileAppID, int leftColumnPercentage, int currentRecordIndex, long leftColumnAlignment, long rightColumnAlignment, FooterField footerField, FontStyle displayFontStyle, FontStyle evenRowFontStyle, FontStyle oddRowFontStyle, FontStyle focusFontStyle, FontStyle pendingFontStyle, boolean showNextPrevMenu, java.lang.String[] columnConfig, IBOBScreen screen)
          Two Column Layout constructor
 
Method Summary
 void clearMenuItems()
          Remove all the menu items
 void clearQuery()
          Clear the cached query
 void focusChanged(net.rim.device.api.ui.Field field, int eventType)
          (non-Javadoc)
 MBOModel getApplicationData()
          Retrieve the mobile application currently set for this table
 int getColSpan()
          (non-Javadoc)
 MBOAttribute[] getColumnAttributes()
          Retrieve the column attributes defined for this 2 column layout
 int getCurrentRecordIndex()
          Retrieve the current record index
 java.lang.Object getCurrentRow()
          Retrieve current selected row
 IMobileApplicationDataHandler getDataHandler()
          Retrieve the mobile application data hander
 Query getDataProperties()
          Retrieve the data properties
 FontStyle getFocusFontStyle()
          Get the focus font style of the right hand controls
 long getHorizontalAlignment()
          (non-Javadoc)
 long getLeftColumnAlignment()
          Get the left column alignment
 java.lang.String getMobileAppID()
          Retrieve the Mobile Application ID
 java.lang.String getMobileApplicationName()
          Retrieve the application data name
 java.lang.String getName()
          (non-Javadoc)
 PagingObject getPagingObject()
          Get a new paging object
 java.lang.String getParentAssociationName()
          Retrieve the parent assoication name
 IBOBScreen getParentScreen()
          (non-Javadoc)
 java.lang.Object getParentSelectedRow()
          Retrieve parent selected row
 FontStyle getPendingFontStyle()
          Get the pending font style of the right hand controls
 int getPreferredHeight()
          Retrieves this field's preferred height.
 int getPreferredWidth()
          Retrieves this field's preferred width.
 MBOModel getRelationshipParentAppData()
          Retrieve relationship parent application data
 long getRightColumnAlignment()
          Retrieve the right column alignment
 int getRowSpan()
          (non-Javadoc)
 boolean getShowNextPrevMenu()
          Get if we are showing the next and previous menus
 java.lang.Object getValue()
          (non-Javadoc)
 long getVerticalAlignment()
          (non-Javadoc)
 boolean hasRelationshipAppData()
          Check is this mobile data control contains relationship data
 void initialize()
          Draw the 2 column list
 void initMobileApplicationData()
          Initialize the Mobile Application data Check to see if there are data already synced to the device
 boolean isDeleted()
          Check to see if current record is deleted
 boolean isDirty()
          Check to see if current record is new or updated
 boolean isFocusedOn()
          Check to see if this control is being focused on
 boolean isNew()
          Check to see if current record is new
 boolean isUpdated()
          Check to see if current record is updated
 boolean keyChar(char key, int status, int time)
          (non-Javadoc)
protected  void makeContextMenu(net.rim.device.api.ui.ContextMenu menu)
          (non-Javadoc)
 void modelChanged(ModelChangeEvent event)
          (non-Javadoc)
 void nextRecord()
          Go to the next record
protected  void onRecordChange()
          This method is called when the record selection changes.
protected  void paint(net.rim.device.api.ui.Graphics g)
          (non-Javadoc)
protected  void paintBackground(net.rim.device.api.ui.Graphics g)
           
 void previousRecord()
          Go to the previous record
 void refresh()
          (non-Javadoc)
 void refreshData()
          Refresh the data
 void setApplicationData(MBOModel applicationData)
          Set the application data
 void setBackgroundColor(int bgcolor)
          (non-Javadoc)
 void setBorderColor(int color)
          Set the border color
 void setColSpan(int colspan)
          (non-Javadoc)
 void setCurrentRecordIndex(int currentRecordIndex)
          Set the current record index
 void setCurrentRowIndex(int currentRecordIndex)
          Set the current row index
 void setDataProperties(Query dataProps)
          Set the data properties filtering
 void setDynamicNamedQuery(java.lang.String namedQuery)
          (non-Javadoc)
 void setDynamicNamedQueryParameters(java.util.Hashtable parameters)
          (non-Javadoc)
 void setEnableHotKeys(boolean bol)
          Disable or enable the next and previous hot keys
 void setErrorLoadingMobileAppMessage(int resourceID)
          Set the error loading mobile application message
 void setErrorLoadingMobileAppMessage(java.lang.String message)
          Set the error loading mobile application message
 void setFocusFontStyle(FontStyle fontStyle)
          Set the focus font style for the right hand controls
 void setLayoutHeight(int height)
          (non-Javadoc)
 void setLayoutWidth(int width)
          (non-Javadoc)
 void setLeftColumnAlignment(long alignment)
          Set the left column alignment
 void setMobileAppID(java.lang.String appId)
          (non-Javadoc)
 void setMobileApplicationDataHandler(MobileApplicationDataHandler dataHandler)
          Sets up the data handler of the list details from the table context
 void setNamedQuery(java.lang.String namedQuery)
          (non-Javadoc)
 void setNamedQueryParameters(java.util.Hashtable parameters)
          (non-Javadoc)
 void setNamedQuerySubmitElements(java.util.Vector parameters)
          (non-Javadoc)
 void setNextHotKey(char c)
          Set the next hot key
 void setNextMenuLabel(int resourceID)
          Set the next menu label
 void setNextMenuLabel(java.lang.String label)
          Set the next menu label
 void setPagingObject(PagingObject pagingObject)
          Set a new paging object
 void setPendingFontStyle(FontStyle fontStyle)
          Set the Pending font style for the right hand controls
 void setPreviousHotKey(char c)
          Set the previous hot key
 void setPreviousMenuLabel(int resourceID)
          Set the previous menu label
 void setPreviousMenuLabel(java.lang.String label)
          Set the previous menu label
 void setProperty(int key, long alignment)
          Set the property alignment
 void setProperty(int key, java.lang.Object value)
          Set the property values for this tab layout manager
 void setRelationshipAppData(MBOModel parentAppData, java.lang.Object selectedRow, java.lang.String assoicationName)
          Set relationship application data
 void setRightColumnAlignment(long alignment)
          Set the right column alignment
 void setRowSpan(int rowspan)
          (non-Javadoc)
 void setShowNextPrevMenu(boolean showNextPrevMenu)
          Set if we want to show the next and previous menus
 void setupMobileDataControlContextVariables()
          Saves current selected row of this mobile data control
protected  boolean touchEvent(net.rim.device.api.ui.TouchEvent message)
           
 void updateMobileDataControlContextVariables(boolean isAddtoContext)
          Updates current selected row of this mobile data control
 
Methods inherited from class com.sybase.uep.bobclient.controls.LayoutManager
addWidget, addWidget, addWidget, approximateColumnPercentage, deleteAll, drawFocus, getAllFields, getBackgroundImage, getBackgroundImageName, getColumnWidths, getControlID, getControlWithFocus, getCustomEventsDelegate, getDisplayFontStyle, getEvenRowFontStyle, getFieldWithFocus, getHeightBeforeIndex, getMarginHeight, getMarginWidth, getNumberOfColumns, getNumberOfRows, getOddRowFontStyle, getScreenFooter, getScreenHeader, getScreenHeight, getSpacingHorizontal, getSpacingVertical, isFullScreen, isPaintRowLayout, isScaleBackgroundImage, isShowAltColors, navigationClick, navigationMovement, navigationUnclick, onFocus, onUnfocus, setBackgroundImage, setBackgroundImage, setColumnPercentage, setColumnWidths, setControlID, setCustomEventsDelegate, setDisplayFontStyle, setEvenRowFontStyle, setMarginHeight, setMarginWidth, setNumberOfColumns, setOddRowFontStyle, setPaintRowLayout, setScaleBackgroundImage, setScreenFooter, setScreenHeader, setShowAltColors, setSpacingHorizontal, setSpacingVertical, setupColumnWidths, sublayout, updateRowsLayout
 
Methods inherited from class net.rim.device.api.ui.Manager
add, clearCustomScrollArrows, delete, deleteRange, getAccessibleContext, getField, getFieldAtLocation, getFieldCount, getFieldWithFocusIndex, getFocusRect, getHorizontalScroll, getLeafFieldWithFocus, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, getVisibleHeight, getVisibleWidth, insert, invalidate, invalidate, invalidateFieldRange, invokeAction, isDataValid, isDownArrowShown, isFocusable, isMuddy, isSelecting, isUpArrowShown, isValidLayout, keyControl, keyDown, keyRepeat, keyStatus, keyUp, layout, layoutChild, makeMenu, moveFocus, moveFocus, moveFocus, nextFocus, nextFocus, onUndisplay, paintChild, replace, setDirty, setFocus, setHorizontalQuantization, setHorizontalScroll, setNonfocusableOverride, setPositionChild, setScrollListener, setVerticalQuantization, setVerticalScroll, setVirtualExtent, subpaint, trackwheelClick, trackwheelUnclick
 
Methods inherited from class net.rim.device.api.ui.Field
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, getScreen, getState, getStyle, getTop, getVisualState, getWidth, invalidateAll, isEditable, isFocus, isPasteable, isSelectable, isSelectionCopyable, isSelectionCutable, isSelectionDeleteable, isSpellCheckable, isStyle, isVisible, makeContextMenu, onDisplay, onExposed, onMenuDismissed, onMenuDismissed, onObscured, onVisibilityChange, paste, select, selectionCopy, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setEditable, setExtent, setFocus, 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_BACKGROUND_COLOR

public static final int DEFAULT_BACKGROUND_COLOR
See Also:
Constant Field Values

DEFAULT_PREVIOUS_MENU_LABEL

public static final java.lang.String DEFAULT_PREVIOUS_MENU_LABEL

DEFAULT_NEXT_MENU_LABEL

public static final java.lang.String DEFAULT_NEXT_MENU_LABEL

DEFAULT_PREVIOUS_HOT_KEY

public static final char DEFAULT_PREVIOUS_HOT_KEY
See Also:
Constant Field Values

DEFAULT_NEXT_HOT_KEY

public static final char DEFAULT_NEXT_HOT_KEY
See Also:
Constant Field Values
Constructor Detail

TwoColumnLayout

public TwoColumnLayout(java.lang.String mobileAppID,
                       int leftColumnPercentage,
                       int currentRecordIndex,
                       long leftColumnAlignment,
                       long rightColumnAlignment,
                       FontStyle displayFontStyle,
                       FontStyle evenRowFontStyle,
                       FontStyle oddRowFontStyle,
                       FontStyle focusFontStyle,
                       FontStyle pendingFontStyle,
                       boolean showNextPrevMenu,
                       java.lang.String[] columnConfig,
                       IBOBScreen screen)
Two Column Layout constructor

Parameters:
mobileAppID - String value for the mobile application ID
leftColumnPercentage - int value for the left side column percentage
currentRecordIndex - int value for the current record index
leftColumnAlignment - int value for the left column aligment eg. Field.FIELD_LEFT, Field.FIELD_RIGHT, Field.FIELD_HCENTER, etc.
rightColumnAlignment - int value for the right column alignment eg. Field.FIELD_LEFT, Field.FIELD_RIGHT, Field.FIELD_HCENTER, etc.
displayFontStyle - FontStyle font style object for the display
evenRowFontStyle - FontStyle font style object for the even row
oddRowFontStyle - FontStyle font style object for the odd row
focusFontStyle - FontStyle font style object for the focus text
pendingFontStyle - FontStyle font style object for the pending record
showNextPrevMenu - true if we want to show the next and previous menu, otherwise false
columnConfig - String array of column configuration names
screen - IBOBScreen screen that contains this control

TwoColumnLayout

public TwoColumnLayout(java.lang.String mobileAppID,
                       int leftColumnPercentage,
                       int currentRecordIndex,
                       long leftColumnAlignment,
                       long rightColumnAlignment,
                       FooterField footerField,
                       FontStyle displayFontStyle,
                       FontStyle evenRowFontStyle,
                       FontStyle oddRowFontStyle,
                       FontStyle focusFontStyle,
                       FontStyle pendingFontStyle,
                       boolean showNextPrevMenu,
                       java.lang.String[] columnConfig,
                       IBOBScreen screen)
Two Column Layout constructor

Parameters:
mobileAppID - String value for the mobile application ID
leftColumnPercentage - int value for the left side column percentage
currentRecordIndex - int value for the current record index
leftColumnAlignment - int value for the left column aligment eg. Field.FIELD_LEFT, Field.FIELD_RIGHT, Field.FIELD_HCENTER, etc.
rightColumnAlignment - int value for the right column alignment eg. Field.FIELD_LEFT, Field.FIELD_RIGHT, Field.FIELD_HCENTER, etc.
footerField - FooterField footer object on screen
displayFontStyle - FontStyle font style object for the display
evenRowFontStyle - FontStyle font style object for the even row
oddRowFontStyle - FontStyle font style object for the odd row
focusFontStyle - FontStyle font style object for the focus text
pendingFontStyle - FontStyle font style object for the pending record
showNextPrevMenu - true if we want to show the next and previous menu, otherwise false
columnConfig - String array of column configuration names
screen - IBOBScreen screen that contains this control
Method Detail

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)

isFocusedOn

public boolean isFocusedOn()
Check to see if this control is being focused on

Specified by:
isFocusedOn in interface ControlFocus
Returns:
true if this control is being focused on, otherwise false

getFocusFontStyle

public FontStyle getFocusFontStyle()
Get the focus font style of the right hand controls

Returns:
FontStyle font style object
See Also:
FontStyle

setFocusFontStyle

public void setFocusFontStyle(FontStyle fontStyle)
Set the focus font style for the right hand controls

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

getPendingFontStyle

public FontStyle getPendingFontStyle()
Get the pending font style of the right hand controls

Returns:
FontStyle font style object
See Also:
FontStyle

setPendingFontStyle

public void setPendingFontStyle(FontStyle fontStyle)
Set the Pending font style for the right hand controls

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

setLayoutWidth

public void setLayoutWidth(int width)
(non-Javadoc)

Specified by:
setLayoutWidth in interface Control
Parameters:
width - int value of the available layout width
See Also:
Control.setLayoutWidth(int width)

setLayoutHeight

public void setLayoutHeight(int height)
(non-Javadoc)

Specified by:
setLayoutHeight in interface Control
Parameters:
height - int value of the available layout height
See Also:
Control.setLayoutHeight(int height)

getName

public java.lang.String getName()
(non-Javadoc)

Specified by:
getName in interface Control
Returns:
String value of the key name
See Also:
Control.getName()

getValue

public java.lang.Object getValue()
(non-Javadoc)

Specified by:
getValue in interface Control
Returns:
Object of the value set for this control
See Also:
Control.getValue()

setColSpan

public void setColSpan(int colspan)
(non-Javadoc)

Specified by:
setColSpan in interface Control
Parameters:
colspan - int value of the column span
See Also:
Control.setColSpan(int colspan)

getColSpan

public int getColSpan()
(non-Javadoc)

Specified by:
getColSpan in interface Control
Returns:
int value of the column span
See Also:
Control.getColSpan()

setRowSpan

public void setRowSpan(int rowspan)
(non-Javadoc)

Specified by:
setRowSpan in interface Control
Parameters:
rowspan - int value of the row span
See Also:
Control.setRowSpan(int rowspan)

setPreviousMenuLabel

public void setPreviousMenuLabel(int resourceID)
Set the previous menu label

Parameters:
resourceID - - Localization resource ID for the menu label

setPreviousMenuLabel

public void setPreviousMenuLabel(java.lang.String label)
Set the previous menu label

Parameters:
label - - String value for the menu label

setNextMenuLabel

public void setNextMenuLabel(int resourceID)
Set the next menu label

Parameters:
resourceID - - Localization resource ID for the menu label

setNextMenuLabel

public void setNextMenuLabel(java.lang.String label)
Set the next menu label

Parameters:
label - - String value for the menu label

setErrorLoadingMobileAppMessage

public void setErrorLoadingMobileAppMessage(int resourceID)
Set the error loading mobile application message

Parameters:
resourceID - - Localization resource ID for the menu label

setErrorLoadingMobileAppMessage

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

Parameters:
label - - String value for the message

getRowSpan

public int getRowSpan()
(non-Javadoc)

Specified by:
getRowSpan in interface Control
Returns:
int value of the row span
See Also:
Control.getRowSpan()

getHorizontalAlignment

public long getHorizontalAlignment()
(non-Javadoc)

Specified by:
getHorizontalAlignment in interface Control
Returns:
long value of the horizontal alignment. Possible values could be Field.FIELD_HCENTER, Field.FIELD_RIGHT, or Field.FIELD_LEFT
See Also:
Control.getHorizontalAlignment()

getVerticalAlignment

public long getVerticalAlignment()
(non-Javadoc)

Specified by:
getVerticalAlignment in interface Control
Returns:
long value of the vertical alignment Possible values could be Field.FIELD_TOP, Field.FIELD_BOTTOM, or Field.FIELD_VCENTER
See Also:
Control.getVerticalAlignment()

refresh

public void refresh()
(non-Javadoc)

Specified by:
refresh in interface Control
Overrides:
refresh in class LayoutManager
See Also:
Control.refresh()

setBackgroundColor

public void setBackgroundColor(int bgcolor)
(non-Javadoc)

Specified by:
setBackgroundColor in interface Control
Parameters:
bgcolor - int value of the color in HEX. For example: 0x00000000, 0x00FF0000, 0x00FFFFFF
See Also:
Control.setBackgroundColor(int bgcolor)

getShowNextPrevMenu

public boolean getShowNextPrevMenu()
Get if we are showing the next and previous menus

Returns:
true if we are showing the next and previous menu, otherwise false

setShowNextPrevMenu

public void setShowNextPrevMenu(boolean showNextPrevMenu)
Set if we want to show the next and previous menus

Parameters:
showNextPrevMenu - true if we are showing the next and previous menu, otherwise false

setEnableHotKeys

public void setEnableHotKeys(boolean bol)
Disable or enable the next and previous hot keys

Parameters:
bol - true to enable hot keys, otherwise false

getLeftColumnAlignment

public long getLeftColumnAlignment()
Get the left column alignment

Returns:
long value of the left column alignment

setLeftColumnAlignment

public void setLeftColumnAlignment(long alignment)
Set the left column alignment

Parameters:
alignment - long value for the alignment. Can be Field.FIELD_LEFT, Field.FIELD_RIGHT, or Field.FIELD_HCENTER

setRightColumnAlignment

public void setRightColumnAlignment(long alignment)
Set the right column alignment

Parameters:
alignment - long value for the alignment. Can be Field.FIELD_LEFT, Field.FIELD_RIGHT, or Field.FIELD_HCENTER

getRightColumnAlignment

public long getRightColumnAlignment()
Retrieve the right column alignment

Returns:
long value of the right column alignment

setBorderColor

public void setBorderColor(int color)
Set the border color

Parameters:
color - int HEX value for the border color. Examples of colors are 0x00FFFFFF, 0x00FF0000, 0x00000000

setPreviousHotKey

public void setPreviousHotKey(char c)
Set the previous hot key

Parameters:
c - char value for the new previous hot key

setNextHotKey

public void setNextHotKey(char c)
Set the next hot key

Parameters:
c - char value for the new next hot key

initMobileApplicationData

public void initMobileApplicationData()
Initialize the Mobile Application data Check to see if there are data already synced to the device

Specified by:
initMobileApplicationData in interface MobileDataControl

clearMenuItems

public void clearMenuItems()
Remove all the menu items


makeContextMenu

protected void makeContextMenu(net.rim.device.api.ui.ContextMenu menu)
(non-Javadoc)

Overrides:
makeContextMenu in class net.rim.device.api.ui.Field
See Also:
Field.makeContextMenu(ContextMenu menu)

getMobileAppID

public java.lang.String getMobileAppID()
Retrieve the Mobile Application ID

Specified by:
getMobileAppID in interface MobileDataControl
Returns:
String value for the mobile application ID

getMobileApplicationName

public java.lang.String getMobileApplicationName()
Retrieve the application data name

Specified by:
getMobileApplicationName in interface MobileDataControl
Returns:
String value of the mobile application name

getApplicationData

public MBOModel getApplicationData()
Retrieve the mobile application currently set for this table

Specified by:
getApplicationData in interface MobileDataControl
Returns:
MBOModel MBO object
See Also:
MBOModel

setApplicationData

public void setApplicationData(MBOModel applicationData)
Set the application data

Specified by:
setApplicationData in interface MobileDataControl
Parameters:
relationshipData - MBOModel object for the relationship
See Also:
MBOModel

setRelationshipAppData

public void setRelationshipAppData(MBOModel parentAppData,
                                   java.lang.Object selectedRow,
                                   java.lang.String assoicationName)
Set relationship application data

Specified by:
setRelationshipAppData in interface MobileDataControl
Parameters:
parentAppData - MBOModel object for the parent relationship
selectedRow - Object value for the parent relationship selected row
assoicationName - String value for the parent relationship association name
See Also:
MBOModel

hasRelationshipAppData

public boolean hasRelationshipAppData()
Check is this mobile data control contains relationship data

Specified by:
hasRelationshipAppData in interface MobileDataControl
Returns:
true if there are relationship data, otherwise false

getRelationshipParentAppData

public MBOModel getRelationshipParentAppData()
Retrieve relationship parent application data

Specified by:
getRelationshipParentAppData in interface MobileDataControl
Returns:
MBOModel object
See Also:
MBOModel

getParentSelectedRow

public java.lang.Object getParentSelectedRow()
Retrieve parent selected row

Specified by:
getParentSelectedRow in interface MobileDataControl
Returns:
Object value for the parent selected row

getParentAssociationName

public java.lang.String getParentAssociationName()
Retrieve the parent assoication name

Specified by:
getParentAssociationName in interface MobileDataControl
Returns:
Object value for the parent association name

getColumnAttributes

public MBOAttribute[] getColumnAttributes()
Retrieve the column attributes defined for this 2 column layout

Specified by:
getColumnAttributes in interface MobileDataControl
Returns:
MBOAttribute array list of attribute objects
See Also:
MBOAttribute

getCurrentRow

public java.lang.Object getCurrentRow()
Retrieve current selected row

Specified by:
getCurrentRow in interface MobileDataControl
Returns:
Object value for the current row

getDataProperties

public Query getDataProperties()
Retrieve the data properties

Specified by:
getDataProperties in interface MobileDataControl
Returns:
Query object for the query
See Also:
Query

setDataProperties

public void setDataProperties(Query dataProps)
Set the data properties filtering

Specified by:
setDataProperties in interface MobileDataControl
Parameters:
dataProps - Query for the data properties
See Also:
Query

setCurrentRowIndex

public void setCurrentRowIndex(int currentRecordIndex)
Set the current row index

Parameters:
currentRecordIndex - int value of the current row index

previousRecord

public void previousRecord()
Go to the previous record


nextRecord

public void nextRecord()
Go to the next record


isDirty

public boolean isDirty()
Check to see if current record is new or updated

Overrides:
isDirty in class net.rim.device.api.ui.Manager
Returns:
true if the record is new or updated, otherwise false

isNew

public boolean isNew()
Check to see if current record is new

Returns:
true if the record is new, otherwise false

isUpdated

public boolean isUpdated()
Check to see if current record is updated

Returns:
true if the record is updated, otherwise false

isDeleted

public boolean isDeleted()
Check to see if current record is deleted

Returns:
true if the record is deleted, otherwise false

getPagingObject

public PagingObject getPagingObject()
Get a new paging object

Specified by:
getPagingObject in interface MobileDataControl
Returns:
PagingObject paging object
See Also:
PagingObject

setPagingObject

public void setPagingObject(PagingObject pagingObject)
Set a new paging object

Parameters:
pagingObject - PagingObject paging object
See Also:
PagingObject

setNamedQuery

public void setNamedQuery(java.lang.String namedQuery)
(non-Javadoc)

Specified by:
setNamedQuery in interface MobileDataControl
Parameters:
namedQuery - String value for the named query name
See Also:
MobileDataControl.setNamedQuery(String)

setNamedQuerySubmitElements

public void setNamedQuerySubmitElements(java.util.Vector parameters)
(non-Javadoc)

Specified by:
setNamedQuerySubmitElements in interface MobileDataControl
Parameters:
parameters - Vector list of SubmitElement objects
See Also:
com.sybase.uep.bobclient.controls.MobileDataControl#setNamedQuerySubmitElements(String)

setNamedQueryParameters

public void setNamedQueryParameters(java.util.Hashtable parameters)
(non-Javadoc)

Specified by:
setNamedQueryParameters in interface MobileDataControl
Parameters:
parameters - Hashtable map of name value pair
See Also:
MobileDataControl.setNamedQueryParameters(Hashtable)

setDynamicNamedQuery

public void setDynamicNamedQuery(java.lang.String namedQuery)
(non-Javadoc)

Specified by:
setDynamicNamedQuery in interface MobileDataControl
Parameters:
namedQuery - String value for the dynamic named query name
See Also:
MobileDataControl.setDynamicNamedQuery(String)

setDynamicNamedQueryParameters

public void setDynamicNamedQueryParameters(java.util.Hashtable parameters)
(non-Javadoc)

Specified by:
setDynamicNamedQueryParameters in interface MobileDataControl
Parameters:
parameters - Hashtable map of name value pair
See Also:
MobileDataControl.setDynamicNamedQueryParameters(Hashtable)

initialize

public void initialize()
Draw the 2 column list


setupMobileDataControlContextVariables

public void setupMobileDataControlContextVariables()
Saves current selected row of this mobile data control

Specified by:
setupMobileDataControlContextVariables in interface MobileDataControl

updateMobileDataControlContextVariables

public void updateMobileDataControlContextVariables(boolean isAddtoContext)
Updates current selected row of this mobile data control

Parameters:
isAddtoContext - true means add to context, false means update the existing data in context

keyChar

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

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

paint

protected void paint(net.rim.device.api.ui.Graphics g)
(non-Javadoc)

Overrides:
paint in class LayoutManager
See Also:
Field.paint(Graphics g)

paintBackground

protected void paintBackground(net.rim.device.api.ui.Graphics g)
Overrides:
paintBackground in class LayoutManager

setProperty

public void setProperty(int key,
                        long alignment)
Set the property alignment

Parameters:
key - int int value for the key of a specific attribute
alignment - long value for the horizontal alignment eg. Field.FIELD_LEFT, Field.FIELD_RIGHT, or Field.FIELD_HCENTER
See Also:
Field

setProperty

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

Overrides:
setProperty in class LayoutManager
Parameters:
key - int int value for the key of a specific attribute
value - String value for this attribute

setMobileAppID

public void setMobileAppID(java.lang.String appId)
(non-Javadoc)

See Also:
com.sybase.uep.bobclient.controls.MobileDataControl#setMobileAppID(java.lang.String)

setMobileApplicationDataHandler

public void setMobileApplicationDataHandler(MobileApplicationDataHandler dataHandler)
Sets up the data handler of the list details from the table context

Parameters:
dataHandler - MobileApplicationDataHandler mobile application data hander object
See Also:
MobileApplicationDataHandler

getParentScreen

public IBOBScreen getParentScreen()
(non-Javadoc)

Specified by:
getParentScreen in interface MobileDataControl
Returns:
See Also:
MobileDataControl.getParentScreen()

modelChanged

public void modelChanged(ModelChangeEvent event)
(non-Javadoc)

Specified by:
modelChanged in interface IModelChangeListener
Parameters:
event - ModelChangeEvent model change event
See Also:
IModelChangeListener.modelChanged(com.sybase.uep.bobclient.data.ModelChangeEvent)

getCurrentRecordIndex

public int getCurrentRecordIndex()
Retrieve the current record index

Specified by:
getCurrentRecordIndex in interface MobileDataControl
Returns:
int value of the the current record index

setCurrentRecordIndex

public void setCurrentRecordIndex(int currentRecordIndex)
Set the current record index

Specified by:
setCurrentRecordIndex in interface MobileDataControl

getDataHandler

public IMobileApplicationDataHandler getDataHandler()
Retrieve the mobile application data hander

Specified by:
getDataHandler in interface MobileDataControl
Returns:
MobileApplicationDataHandler mobile application data handler object
See Also:
MobileApplicationDataHandler

refreshData

public void refreshData()
Refresh the data

Specified by:
refreshData in interface MobileDataControl

clearQuery

public void clearQuery()
Description copied from interface: MobileDataControl
Clear the cached query

Specified by:
clearQuery in interface MobileDataControl

onRecordChange

protected void onRecordChange()
This method is called when the record selection changes.


touchEvent

protected boolean touchEvent(net.rim.device.api.ui.TouchEvent message)
Overrides:
touchEvent in class net.rim.device.api.ui.Manager

getPreferredWidth

public int getPreferredWidth()
Description copied from class: LayoutManager
Retrieves this field's preferred width. Your implementation of getPreferredWidth() should return the width of your custom field if it has any amount of space available.

Specified by:
getPreferredWidth in interface Control
Overrides:
getPreferredWidth in class LayoutManager
Returns:
Preferred width for this field in pixels
See Also:
LayoutManager

getPreferredHeight

public int getPreferredHeight()
Description copied from class: LayoutManager
Retrieves this field's preferred height. Your implementation of getPreferredHeight() should return the height of your custom field if it has any amount of space available.

Specified by:
getPreferredHeight in interface Control
Overrides:
getPreferredHeight in class LayoutManager
Returns:
Preferred height for this field in pixels
See Also:
LayoutManager