Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.component.ui
Class BBInputNumberSpinbox.componentImpl

java.lang.Object
  extended by net.rim.device.api.ui.Field
      extended by net.rim.device.api.ui.component.ChoiceField
          extended by net.rim.device.api.ui.component.NumericChoiceField
              extended by oracle.adfnmc.component.ui.BBInputNumberSpinbox.componentImpl
All Implemented Interfaces:
net.rim.device.api.ui.FieldChangeListener, BBPositionField, INativeUiComponent
Enclosing class:
BBInputNumberSpinbox

public class BBInputNumberSpinbox.componentImpl
extends net.rim.device.api.ui.component.NumericChoiceField
implements BBPositionField, INativeUiComponent, net.rim.device.api.ui.FieldChangeListener


Field Summary
 
Fields inherited from class net.rim.device.api.ui.component.ChoiceField
CONTEXT_CHANGE_OPTION, FORCE_SINGLE_LINE
 
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.FieldChangeListener
PROGRAMMATIC
 
Constructor Summary
BBInputNumberSpinbox.componentImpl()
           
BBInputNumberSpinbox.componentImpl(java.lang.String label, int minimum, int maximum, int stepSize)
           
BBInputNumberSpinbox.componentImpl(java.lang.String label, int minimum, int maximum, int stepSize, int index, long style)
           
 
Method Summary
 void dispose()
           
 void doLayout(int width, int height)
           
 void fieldChanged(net.rim.device.api.ui.Field field, int context)
           
 Component getAdfmcOwner()
           
 boolean getFocusable()
           
 int getPreferredHeight()
           
 int getPreferredWidth()
           
 boolean getVisible()
           
 int getX()
           
 int getY()
           
protected  boolean hasFocus()
           
 void invalidateControl()
           
 boolean isDisabled()
           
 boolean isFocusable()
           
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 setVisible(boolean visible)
           
 void setWidthInternal(int width)
          Sets the extent to the specified width and forces a relayout of the control.
 
Methods inherited from class net.rim.device.api.ui.component.NumericChoiceField
getChoice, getSelectedValue, keyChar, keyControl, keyRepeat, keyStatus, makeContextMenu, navigationClick, setSelectedValue, setSelectedValue
 
Methods inherited from class net.rim.device.api.ui.component.ChoiceField
getAccessibleContext, getFocusRect, getHeightOfChoices, getLabel, getSelectedIndex, getSize, getWidthOfChoice, invokeAction, moveFocus, setLabel, setSelectedIndex, setSelectedIndex, setSelectedIndex, setSize, toString, trackwheelClick, trackwheelUnclick
 
Methods inherited from class net.rim.device.api.ui.Field
applyTheme, assertHaveEventLock, drawFocus, drawHighlightRegion, fieldChangeNotify, focusAdd, focusChangeNotify, focusRemove, getBackground, getBackground, getBorder, getBorder, getBorder, getChangeListener, getContentHeight, getContentLeft, getContentRect, getContentRect, getContentTop, getContentWidth, getContextMenu, getCookie, getExtent, getExtent, getFieldStyle, getFocusListener, 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, keyDown, keyUp, moveFocus, navigationMovement, navigationUnclick, onDisplay, onExposed, onMenuDismissed, onMenuDismissed, onObscured, onUndisplay, onVisibilityChange, paste, select, selectionCopy, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setDirty, setEditable, setExtent, setFocus, setFocusListener, setFont, setMargin, setMargin, setMinimalWidth, setMuddy, setNonSpellCheckable, setPadding, setPadding, setPosition, setVisualState, touchEvent, trackwheelRoll, updateLayout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.adfnmc.component.ui.INativeUiComponent
isVisible
 

Constructor Detail

BBInputNumberSpinbox.componentImpl

public BBInputNumberSpinbox.componentImpl()

BBInputNumberSpinbox.componentImpl

public BBInputNumberSpinbox.componentImpl(java.lang.String label,
                                          int minimum,
                                          int maximum,
                                          int stepSize,
                                          int index,
                                          long style)

BBInputNumberSpinbox.componentImpl

public BBInputNumberSpinbox.componentImpl(java.lang.String label,
                                          int minimum,
                                          int maximum,
                                          int stepSize)
Method Detail

layout

protected void layout(int width,
                      int height)
Overrides:
layout in class net.rim.device.api.ui.component.ChoiceField

getPreferredWidth

public int getPreferredWidth()
Overrides:
getPreferredWidth in class net.rim.device.api.ui.component.NumericChoiceField

getPreferredHeight

public int getPreferredHeight()
Overrides:
getPreferredHeight in class net.rim.device.api.ui.component.ChoiceField

getX

public int getX()
Specified by:
getX in interface BBPositionField

getY

public int getY()
Specified by:
getY in interface BBPositionField

isFocusable

public boolean isFocusable()
Specified by:
isFocusable in interface INativeUiComponent
Overrides:
isFocusable in class net.rim.device.api.ui.Field

onFocus

protected void onFocus(int direction)
Overrides:
onFocus in class net.rim.device.api.ui.Field

onUnfocus

protected void onUnfocus()
Overrides:
onUnfocus in class net.rim.device.api.ui.component.NumericChoiceField

hasFocus

protected boolean hasFocus()

setDisabled

public void setDisabled(boolean disabled)
Specified by:
setDisabled in interface INativeUiComponent

isDisabled

public boolean isDisabled()
Specified by:
isDisabled in interface INativeUiComponent

getFocusable

public boolean getFocusable()

setFocusable

public void setFocusable(boolean focusable)

getVisible

public boolean getVisible()

setVisible

public void setVisible(boolean visible)

paintBackground

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

paint

protected void paint(net.rim.device.api.ui.Graphics g)
Overrides:
paint in class net.rim.device.api.ui.component.ChoiceField

fieldChanged

public void fieldChanged(net.rim.device.api.ui.Field field,
                         int context)
Specified by:
fieldChanged in interface net.rim.device.api.ui.FieldChangeListener

dispose

public void dispose()
Specified by:
dispose in interface INativeUiComponent

invalidateControl

public void invalidateControl()
Specified by:
invalidateControl in interface INativeUiComponent

setWidthInternal

public void setWidthInternal(int width)
Sets the extent to the specified width and forces a relayout of the control.

Parameters:
width - - the new width

setHeightInternal

public void setHeightInternal(int height)
Sets the extent to the specified height and forces a relayout of the control.

Parameters:
height - - the new height

doLayout

public void doLayout(int width,
                     int height)
Specified by:
doLayout in interface INativeUiComponent

getAdfmcOwner

public Component getAdfmcOwner()
Specified by:
getAdfmcOwner in interface INativeUiComponent

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.