Package org.apache.tapestry.util

Examples of org.apache.tapestry.util.ComponentAddress


        return arrPages;
    }

    public Object[] getFirstPageContext()
    {
        ComponentAddress objAddress = new ComponentAddress(getTableModelSource());
        return new Object[] { objAddress, new Integer(1)};
    }
View Full Code Here


        return new Object[] { objAddress, new Integer(1)};
    }

    public Object[] getLastPageContext()
    {
        ComponentAddress objAddress = new ComponentAddress(getTableModelSource());
        return new Object[] { objAddress, new Integer(getPageCount())};
    }
View Full Code Here

        return new Object[] { objAddress, new Integer(getPageCount())};
    }

    public Object[] getBackPageContext()
    {
        ComponentAddress objAddress = new ComponentAddress(getTableModelSource());
        return new Object[] { objAddress, new Integer(getCurrentPage() - 1)};
    }
View Full Code Here

        return new Object[] { objAddress, new Integer(getCurrentPage() - 1)};
    }

    public Object[] getFwdPageContext()
    {
        ComponentAddress objAddress = new ComponentAddress(getTableModelSource());
        return new Object[] { objAddress, new Integer(getCurrentPage() + 1)};
    }
View Full Code Here

        return new Object[] { objAddress, new Integer(getCurrentPage() + 1)};
    }

    public Object[] getDisplayPageContext()
    {
        ComponentAddress objAddress = new ComponentAddress(getTableModelSource());
        return new Object[] { objAddress, new Integer(m_nDisplayPage)};
    }
View Full Code Here

        {
            // error
            return;
        }

        ComponentAddress objAddress = (ComponentAddress)arrParameters[0];
        ITableModelSource objSource = (ITableModelSource)objAddress.findComponent(objCycle);
        int page = ((Integer)arrParameters[1]).intValue();
       
        objSource.storeTableAction(new TableActionPageChange(page));
    }
View Full Code Here

{
  private ComponentAddress m_objComponentAddress;

  public ComponentTableRendererSource(ITableRendererListener objComponent)
  {
    this(new ComponentAddress(objComponent));
  }
View Full Code Here

     *      ITableModelSource, ITableColumn, Object)
     */
    public IRender getRenderer(IRequestCycle objCycle,
            ITableModelSource objSource, ITableColumn objColumn, Object objRow)
    {
        ComponentAddress objAddress = new ComponentAddress(objSource
                .getNamespace(), "SimpleTableColumnPage",
                "tableColumnComponent");
        ComponentTableRendererSource objComponentRenderer = new ComponentTableRendererSource(
                objAddress);

View Full Code Here

    {
        if (m_objComponentRenderer == null)
        {
            synchronized(m_sync)
            {
                ComponentAddress objAddress = m_objComponentAddress;
                if (m_objComponentAddress == null)
                    objAddress = new ComponentAddress("contrib:TreeTableNodeViewPage", "treeTableNodeViewDelegator");
                m_objComponentRenderer = new ComponentTableRendererSource(objAddress);
            }
        }
       
        return m_objComponentRenderer.getRenderer(objCycle, objSource, objColumn, objRow);
View Full Code Here

    /**
     * @see org.apache.tapestry.contrib.tree.components.ITreeComponent#getComponentPath()
     */
    public ComponentAddress getComponentPath()
    {
        return new ComponentAddress(this);
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.util.ComponentAddress

Copyright © 2018 www.massapicom. 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.