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

E17503-02

oracle.adfnmc.component.ui
Class CommandButton

java.lang.Object
  extended by oracle.adfnmc.component.Component
      extended by oracle.adfnmc.component.ui.RenderableComponent
          extended by oracle.adfnmc.component.ui.Control
              extended by oracle.adfnmc.component.ui.BasicControl
                  extended by oracle.adfnmc.component.ui.BasicFontControl
                      extended by oracle.adfnmc.component.ui.CommandButton
All Implemented Interfaces:
RefreshablePropertyObjectOwner, ITestableComponent
Direct Known Subclasses:
BBCommandButton

public abstract class CommandButton
extends BasicFontControl

Author:
terrykan

Field Summary
 java.lang.String action
           
 oracle.adfnmc.app.Navigation actor
           
protected static boolean DEFAULT_FOCUSABLE
           
protected static java.lang.String DEFAULT_FOREGROUNDCOLOR
           
protected static java.lang.String DEFAULT_ICON
           
protected static java.lang.String DEFAULT_ICON_POSITION
           
protected static java.lang.String DEFAULT_TEXT
           
protected static java.lang.String ICON_POSITION_LEADING
           
protected static int ICON_POSITION_LEADING_VALUE
           
protected static java.lang.String ICON_POSITION_TRAILING
           
protected static int ICON_POSITION_TRAILING_VALUE
           
protected  ActionListener m_actionListener
           
protected  StringProperty m_foregroundColorProperty
           
protected  ArrayList m_fromToActionListeners
           
protected  boolean m_hasForegroundColor
           
protected  boolean m_hasIcon
           
protected  StringProperty m_iconPositionProperty
           
protected  StringProperty m_iconProperty
           
protected  StringProperty m_justificationProperty
           
protected  StringProperty m_textProperty
           
protected  StringProperty m_verticalJustificationProperty
           
 
Fields inherited from class oracle.adfnmc.component.ui.BasicFontControl
m_fontFamilyProperty, m_fontObject, m_fontSizeProperty, m_fontStyleProperty
 
Fields inherited from class oracle.adfnmc.component.ui.BasicControl
DEFAULT_DISABLED, DEFAULT_VISIBLE, m_disabledProperty, m_focusableProperty, m_visibleProperty
 
Fields inherited from class oracle.adfnmc.component.ui.Control
bound, cloned, container, DEFAULT_BACKGROUNDCOLOR, DEFAULT_BOTTOM, DEFAULT_FOCUSED, DEFAULT_HEIGHT, DEFAULT_HEIGHT_STRING, DEFAULT_LEFT, DEFAULT_RIGHT, DEFAULT_TOP, DEFAULT_WIDTH, DEFAULT_WIDTH_STRING, embedded, has_x, has_y, m_alignProperty, m_availableHeight, m_availableWidth, m_backgroundColorProperty, m_cmpImpl, m_cookie, m_hasAlign, m_hasBackgroundColor, m_hasHeight, m_hasVerticalAlign, m_hasWidth, m_heightProperty, m_isClipped, m_isDirty, m_isHeightPercentage, m_isWidthPercentage, m_menuControls, m_multiRowContainerParent, m_tabstop, m_verticalAlignProperty, m_widthProperty, m_x, m_y, rownum
 
Fields inherited from class oracle.adfnmc.component.ui.RenderableComponent
DEFAULT_RENDERED, m_cachedRendered, m_cacheIsValid, m_renderedProperty, unregisterPropertiesOnly
 
Fields inherited from class oracle.adfnmc.component.Component
CLASS_INSTANCE, m_attributes, m_elContext, m_exprfactory, m_formatMethod, m_id, m_initialized, m_parent, m_pattern, m_props, m_screen, m_theApp, refreshableProperties
 
Constructor Summary
CommandButton()
           
 
Method Summary
 void addChild(Attribute child)
           
 void endInit()
           
protected  void endInitRenderableProperties(boolean isRendered)
           
 void execute(java.lang.String command, java.util.Vector params)
           
 void executeAction()
           
protected  boolean getDefaultFocusable()
           
 java.lang.String getForegroundColor()
           
protected abstract  java.lang.String getForegroundColorNative()
           
 java.lang.String getIcon()
           
 java.lang.String getIconPosition()
           
 java.lang.String getJustification()
           
protected abstract  int getJustificationNative()
           
 java.lang.String getText()
           
protected abstract  java.lang.String getTextNative()
           
 java.lang.Object getValue()
           
 java.lang.String getVerticalJustification()
           
protected abstract  int getVerticalJustificationNative()
           
 boolean hasForegroundColor()
           
protected  boolean inheritBackgroundColor()
           
abstract  void render(java.lang.Object uiparent)
           
protected  void setForegroundColor(java.lang.Object source, java.lang.String foregroundColor)
           
 void setForegroundColor(java.lang.String foregroundColor)
           
protected abstract  void setForegroundColorNative(java.lang.String foregroundColor)
           
protected  void setIcon(java.lang.Object source, java.lang.String icon)
           
 void setIcon(java.lang.String icon)
           
protected abstract  void setIconNative(java.lang.String icon)
           
protected  void setIconPosition(java.lang.Object source, java.lang.String iconPosition)
           
protected abstract  void setIconPositionNative(java.lang.String iconPosition)
           
protected  void setJustification(java.lang.Object source, java.lang.String justification)
           
 void setJustification(java.lang.String justification)
           
protected abstract  void setJustificationNative(int justification)
           
 void setPositionIcon(java.lang.String iconPosition)
           
protected  void setRenderProperties()
           
protected  void setText(java.lang.Object source, java.lang.String text)
           
 void setText(java.lang.String text)
           
protected abstract  void setTextNative(java.lang.String text)
           
protected  void setValue(java.lang.Object source, java.lang.Object value)
           
protected  void setVerticalJustification(java.lang.Object source, java.lang.String verticalJustification)
           
 void setVerticalJustification(java.lang.String verticalJustification)
           
protected abstract  void setVerticalJustificationNative(int verticalJustification)
           
 java.lang.String toString()
           
 Control UIClone()
           
 
Methods inherited from class oracle.adfnmc.component.ui.BasicFontControl
getFontFamily, getFontFamilyNative, getFontSize, getFontSizeNative, getFontStyle, getFontStyleNative, setFontFamily, setFontFamily, setFontSize, setFontSize, setFontStyle, setFontStyle, updateFont, updateFont, updateFont, updateFontNative
 
Methods inherited from class oracle.adfnmc.component.ui.BasicControl
getDisabled, getFocusable, getFocusableNative, getVisible, getVisibleNative, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setFocusableNative, setValue, setVisible, setVisible, setVisibleNative
 
Methods inherited from class oracle.adfnmc.component.ui.Control
addChild, addPropertyList, backgroundColorChanged, bindMenus, clipHeight, clipWidth, determineAvailableSpace, disposeProperties, endInitRendered, focusableChanged, gainedFocus, getAlign, getAlignNative, getAvailableHeight, getAvailableWidth, getBackgroundColor, getBackgroundColorNative, getBottom, getBottomNative, getControlDepth, getCookie, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getEmbedded, getFocused, getFocusedNative, getHeight, getHeightNative, getLeft, getLeftNative, getMultiRowContainer, getNativeUiComponent, getParentHeightRecursively, getParentWidthRecursively, getRight, getRightNative, getRowNum, getTop, getTopNative, getVerticalAlign, getVerticalAlignNative, getWidth, getWidthNative, hasAlign, hasBackgroundColor, hasHeight, hasLocation, hasVerticalAlign, hasWidth, initCoreUIData, initGeometryData, isAllowedToReceiveFocus, isEmbeddedAndSelected, isLabeled, isNativeUiComponent, isNotRenderable, isWidthPercentage, markDirty, refreshUI, removeFromNativeParent, renderNative, setAlign, setAlign, setAlignNative, setBackgroundColor, setBackgroundColor, setBackgroundColorNative, setContainer, setCookie, setEmbedded, setFocus, setHeight, setHeight, setHeightNative, setMultiRowContainerParent, setParent, setRowNum, setVerticalAlign, setVerticalAlign, setVerticalAlignNative, setWidth, setWidth, setWidthNative, shiftRowNum, shouldUseParentBackgroundColor, UICloneImpl, updateBackgroundColorNative
 
Methods inherited from class oracle.adfnmc.component.ui.RenderableComponent
Focus, getRendered, handleRenderedChange, isParentRendered, isRendered, isRenderedChanged, renderedChangedNative, setRendered, setRendered, setUnregisterPropertiesOnly
 
Methods inherited from class oracle.adfnmc.component.Component
addChild, beginInit, buildValueExpression, dump, dump, dumpProps, dumpProps, dumpPropsBuffer, getDataValues, getId, getParent, getProps, getScreen, propertyInstanceCreated, refreshProperties, setChild, setChild, setId, setProp, setScreen, toFormattedString, updateRenderer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_FOCUSABLE

protected static final boolean DEFAULT_FOCUSABLE
See Also:
Constant Field Values

DEFAULT_FOREGROUNDCOLOR

protected static final java.lang.String DEFAULT_FOREGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_TEXT

protected static final java.lang.String DEFAULT_TEXT
See Also:
Constant Field Values

DEFAULT_ICON

protected static final java.lang.String DEFAULT_ICON
See Also:
Constant Field Values

ICON_POSITION_LEADING

protected static final java.lang.String ICON_POSITION_LEADING
See Also:
Constant Field Values

ICON_POSITION_TRAILING

protected static final java.lang.String ICON_POSITION_TRAILING
See Also:
Constant Field Values

DEFAULT_ICON_POSITION

protected static final java.lang.String DEFAULT_ICON_POSITION
See Also:
Constant Field Values

ICON_POSITION_LEADING_VALUE

protected static final int ICON_POSITION_LEADING_VALUE
See Also:
Constant Field Values

ICON_POSITION_TRAILING_VALUE

protected static final int ICON_POSITION_TRAILING_VALUE
See Also:
Constant Field Values

action

public java.lang.String action

actor

public oracle.adfnmc.app.Navigation actor

m_fromToActionListeners

protected ArrayList m_fromToActionListeners

m_hasForegroundColor

protected boolean m_hasForegroundColor

m_hasIcon

protected boolean m_hasIcon

m_foregroundColorProperty

protected StringProperty m_foregroundColorProperty

m_justificationProperty

protected StringProperty m_justificationProperty

m_textProperty

protected StringProperty m_textProperty

m_verticalJustificationProperty

protected StringProperty m_verticalJustificationProperty

m_iconProperty

protected StringProperty m_iconProperty

m_iconPositionProperty

protected StringProperty m_iconPositionProperty

m_actionListener

protected ActionListener m_actionListener
Constructor Detail

CommandButton

public CommandButton()
Method Detail

getDefaultFocusable

protected boolean getDefaultFocusable()
Specified by:
getDefaultFocusable in class BasicControl

inheritBackgroundColor

protected boolean inheritBackgroundColor()
Overrides:
inheritBackgroundColor in class Control

render

public abstract void render(java.lang.Object uiparent)
Specified by:
render in class Control

addChild

public void addChild(Attribute child)
Overrides:
addChild in class Component

endInitRenderableProperties

protected void endInitRenderableProperties(boolean isRendered)
Overrides:
endInitRenderableProperties in class BasicFontControl

endInit

public void endInit()
Overrides:
endInit in class BasicFontControl

UIClone

public Control UIClone()
Specified by:
UIClone in class Control

executeAction

public void executeAction()

execute

public void execute(java.lang.String command,
                    java.util.Vector params)
Specified by:
execute in interface ITestableComponent
Overrides:
execute in class RenderableComponent

hasForegroundColor

public boolean hasForegroundColor()
Overrides:
hasForegroundColor in class Control

setRenderProperties

protected void setRenderProperties()
Overrides:
setRenderProperties in class BasicFontControl

toString

public java.lang.String toString()
Overrides:
toString in class Control

getForegroundColor

public java.lang.String getForegroundColor()

setForegroundColor

protected void setForegroundColor(java.lang.Object source,
                                  java.lang.String foregroundColor)

setForegroundColor

public void setForegroundColor(java.lang.String foregroundColor)

getJustification

public java.lang.String getJustification()

setJustification

protected void setJustification(java.lang.Object source,
                                java.lang.String justification)

setJustification

public void setJustification(java.lang.String justification)

getText

public java.lang.String getText()

setText

protected void setText(java.lang.Object source,
                       java.lang.String text)

setText

public void setText(java.lang.String text)

getIcon

public java.lang.String getIcon()

setIcon

protected void setIcon(java.lang.Object source,
                       java.lang.String icon)

setIcon

public void setIcon(java.lang.String icon)

getIconPosition

public java.lang.String getIconPosition()

setIconPosition

protected void setIconPosition(java.lang.Object source,
                               java.lang.String iconPosition)

setPositionIcon

public void setPositionIcon(java.lang.String iconPosition)

getValue

public java.lang.Object getValue()
Specified by:
getValue in class BasicControl

setValue

protected void setValue(java.lang.Object source,
                        java.lang.Object value)
Specified by:
setValue in class BasicControl

getVerticalJustification

public java.lang.String getVerticalJustification()

setVerticalJustification

protected void setVerticalJustification(java.lang.Object source,
                                        java.lang.String verticalJustification)

setVerticalJustification

public void setVerticalJustification(java.lang.String verticalJustification)

getForegroundColorNative

protected abstract java.lang.String getForegroundColorNative()

setForegroundColorNative

protected abstract void setForegroundColorNative(java.lang.String foregroundColor)

getJustificationNative

protected abstract int getJustificationNative()

setJustificationNative

protected abstract void setJustificationNative(int justification)

getTextNative

protected abstract java.lang.String getTextNative()

setTextNative

protected abstract void setTextNative(java.lang.String text)

getVerticalJustificationNative

protected abstract int getVerticalJustificationNative()

setVerticalJustificationNative

protected abstract void setVerticalJustificationNative(int verticalJustification)

setIconNative

protected abstract void setIconNative(java.lang.String icon)

setIconPositionNative

protected abstract void setIconPositionNative(java.lang.String iconPosition)

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.