Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


oracle.adf.view.rich.render
Class ClientComponent

java.lang.Object
  extended by oracle.adf.view.rich.render.ClientComponent


public abstract class ClientComponent
extends java.lang.Object

API for representing client-side component instances which are vended by RichAdfRenderingContext.addClientComponent(). Renderer authors are responsible for specifying any properties to be included in the client-side component instance by calling addProperty().


Nested Class Summary
static class ClientComponent.AttrType
          Possible client attribute types.
static class ClientComponent.Type
          Possible client component types.

 

Constructor Summary
ClientComponent()
           

 

Method Summary
abstract  void addProperty(org.apache.myfaces.trinidad.bean.PropertyKey propertyKey, java.lang.Object propertyValue)
          Adds the specified property name and a value to the set of properties that will be sent to the client for this ClientComponent.
abstract  java.lang.String getClientId()
          Returns the client id for the client-side component instance.
abstract  boolean isActive()
          Returns true if this client component will, at this point, be sent to the client, or false if it will not be.
 boolean isNull()
          Returns true if this client component will not become active at any time.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ClientComponent

public ClientComponent()

Method Detail

getClientId

public abstract java.lang.String getClientId()
Returns the client id for the client-side component instance. Renderer authors can use this API to retrieve the cached client id value. Note that this method will not necessarily return a non-null value: when a ClientComponent is of type SKIP, this will be null. As a result, clients should use the RichRenderer convenience method to get the client ID, and never call this directly.

addProperty

public abstract void addProperty(org.apache.myfaces.trinidad.bean.PropertyKey propertyKey,
                                 java.lang.Object propertyValue)
                          throws java.io.IOException
Adds the specified property name and a value to the set of properties that will be sent to the client for this ClientComponent. If the property does not need to be sent to the client - in particular, if there is an optimized getter that derived the attribute from the generated DOM - do not call addProperty().
Throws:
java.io.IOException

isActive

public abstract boolean isActive()
Returns true if this client component will, at this point, be sent to the client, or false if it will not be.

isNull

public boolean isNull()
Returns true if this client component will not become active at any time.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.