org.apache.myfaces.trinidadinternal.ui.collection
Class UINodeUINodeList

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.collection.UINodeUINodeList
All Implemented Interfaces:
java.lang.Cloneable, UINodeList
Direct Known Subclasses:
RootUINodeList

public abstract class UINodeUINodeList
extends java.lang.Object
implements UINodeList

UINodeList that retrieves its list of children from a UINode.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/collection/UINodeUINodeList.java#0 $) $Date: 10-nov-2005.18:57:37 $
Author:
The Oracle ADF Faces Team

Constructor Summary
UINodeUINodeList()
           
 
Method Summary
 void addUINode(int index, UINode node)
          Inserts the spacified UINode into the UINodeList at the specified index
 void addUINode(UINode node)
          Appends the specified UINode to the end of the UINodeList.
 void clearUINodes()
          Removes all of the UINodes from the UINodeList.
 java.lang.Object clone()
          Clones the UINodeList
protected  MutableUINode getMutableUINode()
           
protected  UIXRenderingContext getRenderingContext(UIXRenderingContext context)
           
protected abstract  UINode getUINode(UIXRenderingContext context)
           
 UINode getUINode(UIXRenderingContext context, int index)
          Returns the UINode at the specifed index in the UINodeList, given the specified RenderingContext.
 UINode removeUINode(int index)
          Removes and returns UINode at the specifed index.
 UINode setUINode(int index, UINode node)
          Replaces the UINode at the specified index with the new UINode value, returning the old value.
 int size(UIXRenderingContext context)
          Returns the number of elements in the UINodeList given the specified RenderingContext.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UINodeUINodeList

public UINodeUINodeList()
Method Detail

getUINode

protected abstract UINode getUINode(UIXRenderingContext context)

getRenderingContext

protected UIXRenderingContext getRenderingContext(UIXRenderingContext context)

getMutableUINode

protected MutableUINode getMutableUINode()

size

public int size(UIXRenderingContext context)
Description copied from interface: UINodeList
Returns the number of elements in the UINodeList given the specified RenderingContext.

Specified by:
size in interface UINodeList

getUINode

public UINode getUINode(UIXRenderingContext context,
                        int index)
Description copied from interface: UINodeList
Returns the UINode at the specifed index in the UINodeList, given the specified RenderingContext.

Specified by:
getUINode in interface UINodeList

setUINode

public UINode setUINode(int index,
                        UINode node)
Description copied from interface: UINodeList
Replaces the UINode at the specified index with the new UINode value, returning the old value.

Specified by:
setUINode in interface UINodeList

addUINode

public void addUINode(int index,
                      UINode node)
Description copied from interface: UINodeList
Inserts the spacified UINode into the UINodeList at the specified index

Specified by:
addUINode in interface UINodeList

addUINode

public void addUINode(UINode node)
Description copied from interface: UINodeList
Appends the specified UINode to the end of the UINodeList.

Specified by:
addUINode in interface UINodeList

removeUINode

public UINode removeUINode(int index)
Description copied from interface: UINodeList
Removes and returns UINode at the specifed index.

Specified by:
removeUINode in interface UINodeList

clearUINodes

public void clearUINodes()
Description copied from interface: UINodeList
Removes all of the UINodes from the UINodeList.

Specified by:
clearUINodes in interface UINodeList

clone

public java.lang.Object clone()
Description copied from interface: UINodeList
Clones the UINodeList

Specified by:
clone in interface UINodeList
Overrides:
clone in class java.lang.Object


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.