Examples of UINode


Examples of org.apache.myfaces.trinidadinternal.ui.UINode

   * @return true if the ancestor node is a table
   * (tableLayout or messageComponentLayout)
   */
  protected boolean hasTableParent(UIXRenderingContext context)
  {
    UINode ancestor = NodeRoleUtils.getStructuralAncestor(context);
   
    return isEqualMarlinName(ancestor, TABLE_LAYOUT_NAME);
  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

    return context;
  }

  protected MutableUINode getMutableUINode()
  {
    UINode node = getUINode(null);
   
    if (node instanceof MutableUINode)
    {
      return (MutableUINode)node;
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  public int size(
    UIXRenderingContext context
    )
  {
    UINode node = getUINode(context);
   
    if (node != null)
    {     
      context = getRenderingContext(context);
      return node.getIndexedChildCount(context);
    }
    else
    {
      return 0;
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  public UINode getUINode(
    UIXRenderingContext context,
    int              index
    )
  {
    UINode node = getUINode(context);
   
    if (node != null)
    {
      context = getRenderingContext(context);
      return node.getIndexedChild(context, index);
    }
    else
    {
      return null;
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  {
    MutableUINode mutableNode = getMutableUINode();
   
    if (mutableNode != null)
    {
      UINode returnNode = mutableNode.getIndexedChild(null, index);
      mutableNode.replaceIndexedChild(index, node);
      return returnNode;
    }
    else
    {
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  public Object getAttribute(
    UIXRenderingContext context,
    AttributeKey     key
    )
  {
    UINode node = getUINode(context);

    context = getRenderingContext(context);

    if (node != null)
    {
      return node.getAttributeValue(context, key);
    }
    else
    {
      return null;
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  public void setAttribute(
    AttributeKey key,
    Object       value
    )
  {
    UINode node = getUINode(null);

    if (node instanceof MutableUINode)
    {
      ((MutableUINode)node).setAttributeValue(key, value);
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  public Iterator<AttributeKey> attributeKeys(
    UIXRenderingContext context
    )
  {
    UINode node = getUINode(context);

    if (node != null)
    {
      context = getRenderingContext(context);
      return node.getAttributeNames(context);
    }
    else
    {
      return null;
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  @Override
  public UINode getIndexedChild(
    UIXRenderingContext context,
    int              childIndex)
  {
    UINode child;

    if (context == null)
    {
      child = createWrappedNode(super.getIndexedChild(context, childIndex),
                                _data,
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UINode

  @Override
  public UINode getNamedChild(
    UIXRenderingContext context,
    String           childName)
  {
    UINode child;

    if (context == null)
    {
      child = createWrappedNode(super.getNamedChild(context, childName),
                                _data,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.