|
|||||||||
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
com.sybase.uep.bobclient.controls.LayoutManager
com.sybase.uep.bobclient.screens.ServerLogsTab
public class ServerLogsTab
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ALERT_CANCEL_LABEL
|
static java.lang.String |
DEFAULT_ALERT_DELETE_ALL_LOGS_MSG
|
static java.lang.String |
DEFAULT_ALERT_DELETE_LOG_MSG
|
static java.lang.String |
DEFAULT_ALERT_OK_LABEL
|
static java.lang.String |
DEFAULT_CLOSE_MENU_LABEL
|
static java.lang.String |
DEFAULT_DELETE_ALL_LOGS_MENU_LABEL
|
static java.lang.String |
DEFAULT_DELETE_LOG_MENU_LABEL
|
static java.lang.String |
DEFAULT_DETAIL_MENU_LABEL
|
static java.lang.String |
DEFAULT_ERROR_LOADING_MBOS_MESSAGE
|
static net.rim.device.api.system.Bitmap |
DEFAULT_LOG_ERROR_ICON
|
static net.rim.device.api.system.Bitmap |
DEFAULT_LOG_ICON
|
static net.rim.device.api.system.Bitmap |
DEFAULT_MBO_ICON
|
static java.lang.String |
DEFAULT_NO_LOGS_TREE_LABEL
|
static net.rim.device.api.system.Bitmap |
DEFAULT_PACKAGE_ICON
|
static int |
DEFAULT_SUCCESS_CODE
|
static java.lang.String |
DEFAULT_SYNCHRONIZE_MENU_LABEL
|
static java.lang.String |
DEFAULT_TITLE_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 |
Constructor Summary | |
---|---|
ServerLogsTab(java.lang.String tabTitle,
BaseBOBScreen bobScreen,
TabLayoutManager tlm,
int numColumns,
int[] columnPercentages,
boolean isFullScreen,
FontStyle displayStyle,
FooterField footer)
|
Method Summary | |
---|---|
protected void |
createControls()
Create the controls for this layout manager This method is called by defineLayout(). |
void |
defineContent(FontStyle navigationBarStyle,
FontStyle navigationBarBorderStyle)
Create the content for this layout manager This method is called by defineLayout(). |
void |
defineLayout(FontStyle navigationBarStyle,
FontStyle navigationBarBorderStyle)
Define the contents of this layout |
void |
drawTreeItem(net.rim.device.api.ui.component.TreeField treeField,
net.rim.device.api.ui.Graphics graphics,
int node,
int y,
int width,
int indent)
(non-Javadoc) |
void |
focusChanged(net.rim.device.api.ui.Field field,
int eventType)
(non-Javadoc) |
LogInfoScreen |
getLogInfoScreen()
Get Log info screen |
void |
refresh()
Refresh the content of this tab |
void |
setLogErrorIcon(java.lang.Object image)
Set Log error icon |
void |
setLogIcon(java.lang.Object image)
Set Log icon |
void |
setMBOIcon(java.lang.Object image)
Set MBO icon |
void |
setPackageIcon(java.lang.Object image)
Set Package icon |
void |
setTabTitle(java.lang.String label)
Set the title of the server logs tab |
void |
synchronize()
|
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, isDirty, isDownArrowShown, isFocusable, isMuddy, isSelecting, isUpArrowShown, isValidLayout, keyChar, 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, touchEvent, 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, 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 |
---|
public static final net.rim.device.api.system.Bitmap DEFAULT_MBO_ICON
public static final net.rim.device.api.system.Bitmap DEFAULT_PACKAGE_ICON
public static final net.rim.device.api.system.Bitmap DEFAULT_LOG_ICON
public static final net.rim.device.api.system.Bitmap DEFAULT_LOG_ERROR_ICON
public static final int DEFAULT_SUCCESS_CODE
public static final java.lang.String DEFAULT_NO_LOGS_TREE_LABEL
public static final java.lang.String DEFAULT_TITLE_LABEL
public static final java.lang.String DEFAULT_DETAIL_MENU_LABEL
public static final java.lang.String DEFAULT_DELETE_LOG_MENU_LABEL
public static final java.lang.String DEFAULT_DELETE_ALL_LOGS_MENU_LABEL
public static final java.lang.String DEFAULT_CLOSE_MENU_LABEL
public static final java.lang.String DEFAULT_SYNCHRONIZE_MENU_LABEL
public static final java.lang.String DEFAULT_ALERT_OK_LABEL
public static final java.lang.String DEFAULT_ALERT_CANCEL_LABEL
public static final java.lang.String DEFAULT_ALERT_DELETE_LOG_MSG
public static final java.lang.String DEFAULT_ALERT_DELETE_ALL_LOGS_MSG
public static final java.lang.String DEFAULT_ERROR_LOADING_MBOS_MESSAGE
Constructor Detail |
---|
public ServerLogsTab(java.lang.String tabTitle, BaseBOBScreen bobScreen, TabLayoutManager tlm, int numColumns, int[] columnPercentages, boolean isFullScreen, FontStyle displayStyle, FooterField footer)
Method Detail |
---|
public void defineLayout(FontStyle navigationBarStyle, FontStyle navigationBarBorderStyle)
navigationBarStyle
- FontStyle
value for the navigation bar font stylenavigationBarBorderStyle
- FontStyle
value for the navigation bar border font styleprotected void createControls()
public void defineContent(FontStyle navigationBarStyle, FontStyle navigationBarBorderStyle)
navigationBarStyle
- FontStyle
value for the navigation bar font stylenavigationBarBorderStyle
- FontStyle
value for the navigation bar border font stylepublic void drawTreeItem(net.rim.device.api.ui.component.TreeField treeField, net.rim.device.api.ui.Graphics graphics, int node, int y, int width, int indent)
drawTreeItem
in interface net.rim.device.api.ui.component.TreeFieldCallback
TreeFieldCallback.drawTreeItem(TreeField
treeField, Graphics graphics, int node, int y, int width, int
indent)
public void synchronize()
public void focusChanged(net.rim.device.api.ui.Field field, int eventType)
focusChanged
in interface net.rim.device.api.ui.FocusChangeListener
FocusChangeListener.focusChanged(Field field,
int eventType )
public void setTabTitle(java.lang.String label)
label
- String
value for the new titlepublic void setMBOIcon(java.lang.Object image)
image
- Object
of the mbo icon imagepublic void setPackageIcon(java.lang.Object image)
image
- Object
of the package icon imagepublic void setLogIcon(java.lang.Object image)
image
- Object
of the log icon imagepublic void setLogErrorIcon(java.lang.Object image)
image
- Object
of the log error icon imagepublic LogInfoScreen getLogInfoScreen()
public void refresh()
refresh
in class LayoutManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |