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

E17503-02

oracle.adfnmc.component
Class Component

java.lang.Object
  extended by oracle.adfnmc.component.Component
All Implemented Interfaces:
RefreshablePropertyObjectOwner
Direct Known Subclasses:
MenuControl, NonrenderableComponent, RenderableComponent

public abstract class Component
extends java.lang.Object
implements RefreshablePropertyObjectOwner

Author:
terrykan

Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  java.util.Vector m_attributes
           
protected static ELContext m_elContext
           
protected static ExpressionFactory m_exprfactory
           
protected  java.lang.String m_formatMethod
           
protected  java.lang.String m_id
           
protected  boolean m_initialized
           
protected  Component m_parent
           
protected  java.lang.String m_pattern
           
protected  java.util.Hashtable m_props
           
protected  AppScreen m_screen
           
static oracle.adfnmc.app.UIModule m_theApp
           
protected  ArrayList refreshableProperties
           
 
Constructor Summary
Component()
           
 
Method Summary
 void addChild(Attribute child)
           
 void addChild(Attribute child, boolean storeChild)
           
 void beginInit()
           
protected  ValueExpression buildValueExpression(java.lang.String expressionStr, java.lang.Class expectedType)
           
 void dump()
           
 void dump(java.lang.String indent)
           
 java.lang.String dumpProps()
           
 void dumpProps(java.lang.String indent)
           
protected  java.lang.StringBuffer dumpPropsBuffer(java.lang.StringBuffer buffer)
           
 void endInit()
           
 java.lang.String getDataValues()
          This returns only the data value of this particular component.
 java.lang.String getId()
           
 Component getParent()
           
 java.util.Hashtable getProps()
           
 AppScreen getScreen()
           
 void propertyInstanceCreated(Property propInstance)
          Called back on the owner when a Property instance is created, so the owner can add the instance to its refreshable properties collection.
 void refreshProperties()
          Force any properties registered via propertyInstanceCreated to refresh themselves
protected  void setChild(Attribute child)
           
protected  void setChild(Component child)
           
 void setId(java.lang.String id)
           
 void setParent(Component parent)
           
 void setProp(java.lang.String key, java.lang.String value)
           
 void setScreen(AppScreen mainscreen)
           
protected  java.lang.String toFormattedString(java.lang.Object value)
          DRM - added this method TODO - review with Terry and Mirza
 java.lang.String toString()
           
 void updateRenderer()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

m_props

protected java.util.Hashtable m_props

m_initialized

protected boolean m_initialized

m_parent

protected Component m_parent

m_screen

protected AppScreen m_screen

m_attributes

protected java.util.Vector m_attributes

m_id

protected java.lang.String m_id

m_formatMethod

protected java.lang.String m_formatMethod

m_pattern

protected java.lang.String m_pattern

m_theApp

public static oracle.adfnmc.app.UIModule m_theApp

m_exprfactory

protected static ExpressionFactory m_exprfactory

m_elContext

protected static ELContext m_elContext

refreshableProperties

protected ArrayList refreshableProperties
Constructor Detail

Component

public Component()
Method Detail

beginInit

public void beginInit()

endInit

public void endInit()

buildValueExpression

protected final ValueExpression buildValueExpression(java.lang.String expressionStr,
                                                     java.lang.Class expectedType)

getScreen

public AppScreen getScreen()

setScreen

public void setScreen(AppScreen mainscreen)

setChild

protected void setChild(Component child)

setParent

public void setParent(Component parent)

getParent

public Component getParent()

setProp

public void setProp(java.lang.String key,
                    java.lang.String value)

getProps

public java.util.Hashtable getProps()

updateRenderer

public void updateRenderer()

dump

public void dump()

dump

public void dump(java.lang.String indent)

dumpProps

public java.lang.String dumpProps()

dumpPropsBuffer

protected java.lang.StringBuffer dumpPropsBuffer(java.lang.StringBuffer buffer)

dumpProps

public void dumpProps(java.lang.String indent)

addChild

public void addChild(Attribute child)

addChild

public void addChild(Attribute child,
                     boolean storeChild)

setChild

protected void setChild(Attribute child)

toFormattedString

protected java.lang.String toFormattedString(java.lang.Object value)
DRM - added this method TODO - review with Terry and Mirza

Parameters:
value -
Returns:

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

propertyInstanceCreated

public void propertyInstanceCreated(Property propInstance)
Description copied from interface: RefreshablePropertyObjectOwner
Called back on the owner when a Property instance is created, so the owner can add the instance to its refreshable properties collection. Works in conjunction with a Property constructor that takes a PropertyOwner parameter.

Specified by:
propertyInstanceCreated in interface RefreshablePropertyObjectOwner
Parameters:
propInstance - The new Property instance

refreshProperties

public void refreshProperties()
Description copied from interface: RefreshablePropertyObjectOwner
Force any properties registered via propertyInstanceCreated to refresh themselves

Specified by:
refreshProperties in interface RefreshablePropertyObjectOwner

toString

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

getDataValues

public java.lang.String getDataValues()
This returns only the data value of this particular component. It does not retrieve the data values of its m_children. Use getAllDataValues() for that.

Returns:

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.