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

E17503-02

oracle.adfnmc.component.ui
Class Image

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.Image
All Implemented Interfaces:
RefreshablePropertyObjectOwner, ITestableComponent
Direct Known Subclasses:
BBImage

public abstract class Image
extends BasicControl

Author:
terrykan

Field Summary
protected static boolean DEFAULT_FOCUSABLE
           
protected static java.lang.String DEFAULT_SOURCE
           
protected  StringProperty m_sourceProperty
           
 
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
Image()
           
 
Method Summary
protected  void closeImageInputStream(java.io.InputStream stream)
           
 void endInit()
           
protected  void endInitRenderableProperties(boolean isRendered)
           
 void executeAction()
           
protected  boolean getDefaultFocusable()
           
protected  java.io.InputStream getImageInputStream(java.lang.String source)
           
 java.lang.String getSource()
           
 java.lang.Object getValue()
           
protected static java.lang.String makeFullImagePath(java.lang.String src)
           
protected static java.lang.String removeLeadingSlash(java.lang.String s)
           
 void setSource(java.lang.String source)
           
protected abstract  void setSourceNative(java.lang.String source)
           
protected  void setValue(java.lang.Object source, java.lang.Object value)
           
 java.lang.String toString()
           
protected  void verifySourceProperty(java.lang.String initialSource)
           
 
Methods inherited from class oracle.adfnmc.component.ui.BasicControl
getDisabled, getFocusable, getFocusableNative, getVisible, getVisibleNative, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setFocusableNative, setRenderProperties, 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, hasForegroundColor, hasHeight, hasLocation, hasVerticalAlign, hasWidth, inheritBackgroundColor, initCoreUIData, initGeometryData, isAllowedToReceiveFocus, isEmbeddedAndSelected, isLabeled, isNativeUiComponent, isNotRenderable, isWidthPercentage, markDirty, refreshUI, removeFromNativeParent, render, 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, UIClone, UICloneImpl, updateBackgroundColorNative
 
Methods inherited from class oracle.adfnmc.component.ui.RenderableComponent
execute, Focus, getRendered, handleRenderedChange, isParentRendered, isRendered, isRenderedChanged, renderedChangedNative, setRendered, setRendered, setUnregisterPropertiesOnly
 
Methods inherited from class oracle.adfnmc.component.Component
addChild, 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_SOURCE

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

m_sourceProperty

protected StringProperty m_sourceProperty
Constructor Detail

Image

public Image()
Method Detail

getDefaultFocusable

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

endInitRenderableProperties

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

endInit

public void endInit()
Overrides:
endInit in class BasicControl

closeImageInputStream

protected void closeImageInputStream(java.io.InputStream stream)

getImageInputStream

protected java.io.InputStream getImageInputStream(java.lang.String source)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

verifySourceProperty

protected void verifySourceProperty(java.lang.String initialSource)

removeLeadingSlash

protected static java.lang.String removeLeadingSlash(java.lang.String s)

makeFullImagePath

protected static java.lang.String makeFullImagePath(java.lang.String src)

executeAction

public void executeAction()

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String source)

setSourceNative

protected abstract void setSourceNative(java.lang.String source)

toString

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

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

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.