|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
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.component.ButtonField
oracle.adfnmc.component.ui.BBCommandButton.buttonImpl
public class BBCommandButton.buttonImpl
Field Summary |
---|
Fields inherited from class net.rim.device.api.ui.component.ButtonField |
---|
BARE, CONSUME_CLICK, NEVER_DIRTY |
Fields inherited from class net.rim.device.api.ui.Field |
---|
ACTION_INVOKE, AXIS_HORIZONTAL, AXIS_SEQUENTIAL, AXIS_VERTICAL, 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 | |
---|---|
BBCommandButton.buttonImpl(java.lang.String label,
long style)
|
Method Summary | |
---|---|
void |
dispose()
|
void |
doLayout(int width,
int height)
|
Component |
getAdfmcOwner()
|
boolean |
getFocusable()
|
int |
getPreferredHeight()
|
int |
getPreferredWidth()
|
java.lang.String |
getText()
|
boolean |
getVisible()
|
int |
getX()
|
int |
getY()
|
boolean |
hasFocus()
|
void |
invalidateControl()
|
protected boolean |
invokeAction(int action)
|
boolean |
isDisabled()
|
boolean |
isFocusable()
|
protected boolean |
keyChar(char key,
int status,
int time)
|
protected void |
layout(int width,
int height)
|
protected void |
onFocus(int direction)
|
protected void |
onUnfocus()
|
protected void |
paint(net.rim.device.api.ui.Graphics g)
|
protected void |
paintBackground(net.rim.device.api.ui.Graphics g)
|
void |
setDisabled(boolean disabled)
|
void |
setFocusable(boolean focusable)
|
void |
setHeightInternal(int height)
Sets the extent to the specified height and forces a relayout of the control. |
void |
setIcon(net.rim.device.api.system.Bitmap icon)
|
void |
setIconPosition(int iconPosition)
|
void |
setText(java.lang.String text)
|
void |
setVisible(boolean visible)
|
void |
setWidthInternal(int width)
Sets the extent to the specified width and forces a relayout of the control. |
protected boolean |
touchEvent(net.rim.device.api.ui.TouchEvent event)
|
protected boolean |
trackwheelClick(int status,
int time)
|
Methods inherited from class net.rim.device.api.ui.component.ButtonField |
---|
drawFocus, getAccessibleContext, getLabel, getRunnable, keyDown, keyUp, setDirty, setLabel, setMuddy, setRunnable, trackwheelUnclick |
Methods inherited from class net.rim.device.api.ui.Field |
---|
applyTheme, assertHaveEventLock, drawHighlightRegion, fieldChangeNotify, focusAdd, focusChangeNotify, focusRemove, getBackground, getBackground, getBorder, getBorder, getBorder, getChangeListener, getContentHeight, getContentLeft, getContentRect, getContentRect, getContentTop, getContentWidth, 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, isDataValid, isDirty, isEditable, isFocus, isMuddy, isPasteable, isSelectable, isSelecting, isSelectionCopyable, isSelectionCutable, isSelectionDeleteable, isSpellCheckable, isStyle, isVisible, keyControl, keyRepeat, keyStatus, makeContextMenu, moveFocus, moveFocus, navigationClick, navigationMovement, navigationUnclick, onDisplay, onExposed, onMenuDismissed, onMenuDismissed, onObscured, onUndisplay, onVisibilityChange, paste, select, selectionCopy, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setEditable, setExtent, setFocus, setFocusListener, setFont, setMargin, setMargin, setMinimalWidth, setNonSpellCheckable, setPadding, setPadding, setPosition, setVisualState, trackwheelRoll, updateLayout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.adfnmc.component.ui.INativeUiComponent |
---|
isVisible |
Constructor Detail |
---|
public BBCommandButton.buttonImpl(java.lang.String label, long style)
Method Detail |
---|
public void setText(java.lang.String text)
setText
in interface BBCommandButton.IButtonComponent
public java.lang.String getText()
getText
in interface BBCommandButton.IButtonComponent
public void setIcon(net.rim.device.api.system.Bitmap icon)
setIcon
in interface BBCommandButton.IButtonComponent
public void setIconPosition(int iconPosition)
setIconPosition
in interface BBCommandButton.IButtonComponent
protected void layout(int width, int height)
layout
in class net.rim.device.api.ui.component.ButtonField
public int getX()
getX
in interface BBPositionField
public int getY()
getY
in interface BBPositionField
public boolean isFocusable()
isFocusable
in interface INativeUiComponent
isFocusable
in class net.rim.device.api.ui.Field
protected void onFocus(int direction)
onFocus
in class net.rim.device.api.ui.Field
protected void onUnfocus()
onUnfocus
in class net.rim.device.api.ui.component.ButtonField
public boolean hasFocus()
hasFocus
in interface BBCommandButton.IButtonComponent
protected void paintBackground(net.rim.device.api.ui.Graphics g)
paintBackground
in class net.rim.device.api.ui.Field
protected void paint(net.rim.device.api.ui.Graphics g)
paint
in class net.rim.device.api.ui.component.ButtonField
public void setDisabled(boolean disabled)
setDisabled
in interface INativeUiComponent
public boolean isDisabled()
isDisabled
in interface INativeUiComponent
public boolean getFocusable()
getFocusable
in interface BBCommandButton.IButtonComponent
public void setFocusable(boolean focusable)
setFocusable
in interface BBCommandButton.IButtonComponent
public boolean getVisible()
getVisible
in interface BBCommandButton.IButtonComponent
public void setVisible(boolean visible)
setVisible
in interface BBCommandButton.IButtonComponent
public int getPreferredWidth()
getPreferredWidth
in class net.rim.device.api.ui.component.ButtonField
public int getPreferredHeight()
getPreferredHeight
in class net.rim.device.api.ui.component.ButtonField
protected boolean invokeAction(int action)
invokeAction
in class net.rim.device.api.ui.component.ButtonField
protected boolean touchEvent(net.rim.device.api.ui.TouchEvent event)
touchEvent
in class net.rim.device.api.ui.Field
protected boolean trackwheelClick(int status, int time)
trackwheelClick
in class net.rim.device.api.ui.component.ButtonField
protected boolean keyChar(char key, int status, int time)
keyChar
in class net.rim.device.api.ui.component.ButtonField
public void dispose()
dispose
in interface INativeUiComponent
public void invalidateControl()
invalidateControl
in interface INativeUiComponent
public void setWidthInternal(int width)
setWidthInternal
in interface BBCommandButton.IButtonComponent
width
- - the new widthpublic void setHeightInternal(int height)
setHeightInternal
in interface BBCommandButton.IButtonComponent
height
- - the new heightpublic void doLayout(int width, int height)
doLayout
in interface INativeUiComponent
public Component getAdfmcOwner()
getAdfmcOwner
in interface INativeUiComponent
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |