com.sybase.uep.bobclient.controls
Class DetailLinkLabel

java.lang.Object
  extended by net.rim.device.api.ui.Field
      extended by net.rim.device.api.ui.component.LabelField
          extended by com.sybase.uep.bobclient.controls.DetailLinkLabel
All Implemented Interfaces:
net.rim.device.api.ui.DrawStyle

public class DetailLinkLabel
extends net.rim.device.api.ui.component.LabelField

This is the detail link label Will display the label as links

Author:
tdang

Field Summary
 
Fields inherited from class net.rim.device.api.ui.component.LabelField
DEFAULT_POSITION
 
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.DrawStyle
BASELINE, BOTTOM, ELLIPSIS, HALIGN_MASK, HCENTER, HDEFAULT, HFULL, LEADING, LEFT, RIGHT, TOP, TRAILING, TRUNCATE_BEGINNING, VALIGN_MASK, VCENTER, VDEFAULT, VFULL
 
Constructor Summary
DetailLinkLabel(java.lang.String text, long style)
           
 
Method Summary
 void addMenuItem(net.rim.device.api.ui.MenuItem menu)
           
protected  void drawFocus(net.rim.device.api.ui.Graphics graphics, boolean on)
           
protected  void makeContextMenu(net.rim.device.api.ui.ContextMenu menu)
           
 void paint(net.rim.device.api.ui.Graphics graphics)
           
 void setBackgroundColor(int color)
           
 void setFontColor(int fontColor)
           
 
Methods inherited from class net.rim.device.api.ui.component.LabelField
getAccessibleContext, getPosition, getPreferredHeight, getPreferredWidth, getText, isSelectionCopyable, layout, selectionCopy, setPosition, setText, setText, setText, setText, toString
 
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, getFocusRect, getFont, getHeight, getIndex, getLeafFieldWithFocus, getLeft, getManager, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOriginal, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getScreen, getState, getStyle, getTop, getVisualState, getWidth, invalidate, invalidate, invalidateAll, invokeAction, isDataValid, isDirty, isEditable, isFocus, isFocusable, isMuddy, isPasteable, isSelectable, isSelecting, isSelectionCutable, isSelectionDeleteable, isSpellCheckable, isStyle, isVisible, keyChar, keyControl, keyDown, keyRepeat, keyStatus, keyUp, makeContextMenu, moveFocus, moveFocus, navigationClick, navigationMovement, navigationUnclick, onDisplay, onExposed, onFocus, onMenuDismissed, onMenuDismissed, onObscured, onUndisplay, onUnfocus, onVisibilityChange, paintBackground, paste, select, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setDirty, setEditable, setExtent, setFocus, setFocusListener, setFont, setFont, setMargin, setMargin, setMuddy, setNonSpellCheckable, setPadding, setPadding, setPosition, setVisualState, touchEvent, trackwheelClick, trackwheelUnclick, updateLayout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetailLinkLabel

public DetailLinkLabel(java.lang.String text,
                       long style)
Method Detail

paint

public void paint(net.rim.device.api.ui.Graphics graphics)
Overrides:
paint in class net.rim.device.api.ui.component.LabelField

setFontColor

public void setFontColor(int fontColor)

addMenuItem

public void addMenuItem(net.rim.device.api.ui.MenuItem menu)

makeContextMenu

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

drawFocus

protected void drawFocus(net.rim.device.api.ui.Graphics graphics,
                         boolean on)
Overrides:
drawFocus in class net.rim.device.api.ui.Field

setBackgroundColor

public void setBackgroundColor(int color)