|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.ui.Field
net.rim.device.api.ui.Manager
net.rim.device.api.ui.Screen
net.rim.device.api.ui.container.FullScreen
net.rim.device.api.ui.container.MainScreen
com.sybase.uep.bobclient.screens.BaseBOBScreen
com.sybase.uep.bobclient.screens.BaseBOBStockScreen
com.sybase.uep.bobclient.screens.BaseBOBSettingsScreen
com.sybase.uep.bobclient.screens.ProfileUpdateScreen
public class ProfileUpdateScreen
This is the profile update screen
This screen will allow the user to edit their profile
BaseBOBStockScreen
Fields inherited from class com.sybase.uep.bobclient.screens.BaseBOBSettingsScreen |
---|
_clientName, _encodedBackgroundImage |
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 | |
---|---|
ProfileUpdateScreen(boolean hasLoginScreen,
java.lang.String clientName)
Constructor to create the Profile Screen |
Method Summary | |
---|---|
protected void |
defineScreen()
(non-Javadoc) |
FontStyle |
getLabelFontStyle()
Get label font style |
FontStyle |
getScreenFontStyle()
Get this screen's font style |
void |
initProfile(ClientProfile clientProfile,
ClientProfileList profileList)
Initialize the profile |
void |
refresh()
(non-Javadoc) |
void |
setCancelMenuLabel(java.lang.String label)
Set the Cancel Menu Label |
void |
setDuplicateProfileNameMessage(java.lang.String msg)
Set the duplicate profile name message |
void |
setEnterProfileNameMessage(java.lang.String msg)
Set the enter profile name message |
void |
setEnterServerNameMessage(java.lang.String msg)
Set the enter server name message |
void |
setEnterServerPortMessage(java.lang.String msg)
Set the enter server port message |
void |
setEnterUserNameMessage(java.lang.String msg)
Set the enter user name message |
void |
setErrorLoadingProfileMsg(java.lang.String msg)
Set the error loading profile message string |
void |
setErrorLoginProfileMsg(java.lang.String msg)
Set the error setting login profile message string |
void |
setLabelFontStyle(FontStyle fontStyle)
Set label font style |
void |
setNoProfileMessage(java.lang.String msg)
Set the no profile message |
void |
setNothingChangedMsg(java.lang.String msg)
Set the nothing changed message |
void |
setOnlineLoginErrorMsg(java.lang.String msg)
Set the online login error message |
void |
setPasswordInputLabel(java.lang.String label)
Set the password input label |
void |
setPortInvalidMessage(java.lang.String msg)
Set the port invalid message |
void |
setPortNumberLabel(java.lang.String label)
Set the port number input label |
void |
setProfileNameInputLabel(java.lang.String label)
Set the profile name input label |
void |
setProfileupdateSuccessSuggestionMsg(java.lang.String msg)
Set the profile update success suggestion message |
void |
setProperty(int key,
java.lang.Object value)
Set the property values for this screen |
void |
setSaveMenuLabel(java.lang.String label)
Set the Save Menu Label |
void |
setSaveProfiledMessage(java.lang.String msg)
Set the save profile message |
void |
setScreenFontStyle(FontStyle fontStyle)
Set the font style for this screen |
void |
setSecureLabel(java.lang.String label)
Set the secure label |
void |
setServerInputLabel(java.lang.String label)
Set the server input label |
void |
setStreamParamsLabel(java.lang.String label)
Set the stream params input label |
void |
setUpdateValidatingMsg(java.lang.String msg)
Set the online validating message |
void |
setUserNameInputLabel(java.lang.String label)
Set the profile user name input label |
void |
updateScreenLayout()
|
Methods inherited from class com.sybase.uep.bobclient.screens.BaseBOBSettingsScreen |
---|
getClientName, getLabelMsgString, getScreenTitle |
Methods inherited from class com.sybase.uep.bobclient.screens.BaseBOBStockScreen |
---|
closeScreen, runOnSaveActions, setNavigationBarBorderStyle, setNavigationBarLabel, setNavigationBarStyle, setOnCloseActions, setOnSaveActions |
Methods inherited from class net.rim.device.api.ui.container.MainScreen |
---|
addMenuItem, getField, getFieldCount, getFieldWithFocus, getFieldWithFocusIndex, getMainManager, keyCharUnhandled, onSavePrompt, removeAllMenuItems, removeMenuItem, setBanner, setId, setStatus, setTitle, setTitle, setTitle, setTitle |
Methods inherited from class net.rim.device.api.ui.container.FullScreen |
---|
sublayout |
Methods inherited from class net.rim.device.api.ui.Screen |
---|
add, addKeyListener, addScreenUiEngineAttachedListener, addTrackwheelListener, close, delete, deleteRange, dispatchKeyEvent, doLayout, doPaint, ensureRegionVisible, getAccessibleContext, getApplication, getDefaultMenuItem, getDelegate, getFieldAtLocation, getFocusRect, getGraphics, getLeafFieldWithFocus, getMenu, getScreenAbove, getScreenBelow, getUiEngine, getVirtualKeyboard, insert, invalidate, invalidate, invalidateAll, invalidateLayout, invokeAction, isDataValid, isDirty, isDisplayed, isFocus, isFocusable, isGlobal, isGlobalStatus, isMuddy, isObscured, isSelecting, keyControl, keyDown, keyRepeat, keyStatus, keyUp, layoutDelegate, navigationClick, navigationMovement, navigationUnclick, onClose, onDisplay, onExposed, onFocus, onMenu, onMenuDismissed, onMenuDismissed, onObscured, onSave, onUiEngineAttached, onUndisplay, onUnfocus, openDevelopmentBackdoor, openProductionBackdoor, paint, paintBackground, removeFocus, removeKeyListener, removeScreenUiEngineAttachedListener, removeTrackwheelListener, replace, save, scroll, setBackdoorAltStatus, setDefaultClose, setDirty, setFocus, setFocus, setFocus, setHorizontalQuantization, setPositionDelegate, setTrackballFilter, setTrackballSensitivityXOffset, setTrackballSensitivityYOffset, setVerticalQuantization, touchEvent, trackwheelClick, trackwheelClickUnhandled, trackwheelRoll, trackwheelUnclick, updateDisplay |
Methods inherited from class net.rim.device.api.ui.Manager |
---|
clearCustomScrollArrows, deleteAll, getHorizontalScroll, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, getVisibleHeight, getVisibleWidth, invalidateFieldRange, isDownArrowShown, isUpArrowShown, isValidLayout, layout, layoutChild, moveFocus, moveFocus, moveFocus, nextFocus, nextFocus, paintChild, setFocus, setHorizontalScroll, setNonfocusableOverride, setPositionChild, setScrollListener, setVerticalScroll, setVirtualExtent, subpaint |
Methods inherited from class net.rim.device.api.ui.Field |
---|
drawFocus, drawHighlightRegion, fieldChangeNotify, focusAdd, focusChangeNotify, focusRemove, getBackground, getBackground, getBorder, getBorder, getBorder, getChangeListener, getContentHeight, getContentLeft, getContentRect, getContentRect, getContentTop, getContentWidth, getContextMenu, getContextMenu, getCookie, getExtent, getExtent, getFieldStyle, getFocusListener, getFont, getHeight, getIndex, getLeft, getManager, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOriginal, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPreferredHeight, getPreferredWidth, getScreen, getState, getStyle, getTop, getVisualState, getWidth, isEditable, isPasteable, isSelectable, isSelectionCopyable, isSelectionCutable, isSelectionDeleteable, isSpellCheckable, isStyle, isVisible, makeContextMenu, makeContextMenu, onVisibilityChange, paste, select, selectionCopy, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setEditable, setExtent, setFocusListener, setFont, setFont, setMargin, setMargin, setMuddy, setNonSpellCheckable, setPadding, setPadding, setPosition, setVisualState, updateLayout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_PROFILE_UPDATE_TITLE_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_PROFILE_NAME_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_USER_NAME_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_PASSWORD_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_RESOURCE_ID_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_SERVER_NAME_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_HTTPS_PORT_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_CONNECT_HTTPS_CB_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_PORT_NUMBER_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_STREAM_PARAMS_INPUT_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_SECURE_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_SAVE_MENU_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_CANCEL_MENU_LABEL
public static final java.lang.String DEFAULT_PROFILE_UPDATE_NO_PROFILE_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_ENTER_PROFILE_NAME_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_ENTER_USER_NAME_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_ENTER_SERVER_NAME_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_ENTER_SERVER_PORT_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_PORT_INVALID_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_ENTER_HTTPS_PORT_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_HTTPS_PORT_INVALID_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_SCREEN_SAVE_PROFILE_SUCCESS_SUGGESTION_MSG
public static final java.lang.String DEFAULT_PROFILE_UPDATE_PROFILE_SAVE_SUCCESS_SUGGESTION_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_SAVE_PROFILE_PROMPT_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_NOTHING_CHANGED_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_ONLINE_LOGIN_ERROR_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_DUPLICATE_PROFILE_NAME_MESSAGE
public static final java.lang.String DEFAULT_PROFILE_UPDATE_VALIDATING_MESSAGE
Constructor Detail |
---|
public ProfileUpdateScreen(boolean hasLoginScreen, java.lang.String clientName)
Method Detail |
---|
public void initProfile(ClientProfile clientProfile, ClientProfileList profileList)
profileRefID
- ClientProfile
profile objectClientProfile
protected void defineScreen()
defineScreen
in class BaseBOBStockScreen
BaseBOBScreen.defineScreen()
public FontStyle getScreenFontStyle()
FontStyle
font style objectFontStyle
public void setScreenFontStyle(FontStyle fontStyle)
fontStyle
- FontStyle
font style objectFontStyle
public FontStyle getLabelFontStyle()
FontStyle
font style objectFontStyle
public void setLabelFontStyle(FontStyle fontStyle)
fontStyle
- FontStyle
font style objectFontStyle
public void setSaveMenuLabel(java.lang.String label)
label
- String
value for the menu labelpublic void setCancelMenuLabel(java.lang.String label)
label
- String
value for the menu labelpublic void setProfileNameInputLabel(java.lang.String label)
label
- String
value for the input labelpublic void setUserNameInputLabel(java.lang.String label)
label
- String
value for the input labelpublic void setPasswordInputLabel(java.lang.String label)
label
- String
value for the input labelpublic void setServerInputLabel(java.lang.String label)
label
- String
value for the input labelpublic void setPortNumberLabel(java.lang.String label)
label
- String
value for the input labelpublic void setStreamParamsLabel(java.lang.String label)
label
- String
value for the input labelpublic void setErrorLoadingProfileMsg(java.lang.String msg)
msg
- String
value for the new messagepublic void setErrorLoginProfileMsg(java.lang.String msg)
msg
- String
value for the new messagepublic void setNoProfileMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setEnterUserNameMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setEnterServerNameMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setEnterServerPortMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setPortInvalidMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setSaveProfiledMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setSecureLabel(java.lang.String label)
label
- String
value for the labelpublic void setEnterProfileNameMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setDuplicateProfileNameMessage(java.lang.String msg)
msg
- String
value for the new messagepublic void setNothingChangedMsg(java.lang.String msg)
msg
- String
value for the new messagepublic void setOnlineLoginErrorMsg(java.lang.String msg)
msg
- String
value for the new messagepublic void setUpdateValidatingMsg(java.lang.String msg)
msg
- String
value for the new messagepublic void setProfileupdateSuccessSuggestionMsg(java.lang.String msg)
msg
- String
value for the new messagepublic void refresh()
refresh
in interface IBOBScreen
refresh
in class BaseBOBScreen
BaseBOBScreen.refresh()
public void setProperty(int key, java.lang.Object value)
setProperty
in class BaseBOBStockScreen
key
- int
value for a screen attributevalue
- Object
value for the attribute valueScreenProperties
public void updateScreenLayout()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |