Examples of ComponentAddress


Examples of org.apache.muse.ws.dm.muws.events.ComponentAddress

        if (name == null)
            throw new RuntimeException(_MESSAGES.get("NoComponentName"));
       
        Element componentXML = XmlUtils.createElement(factory, name);
       
        ComponentAddress address = getAddress();
       
        if (address != null)
        {
            Element addressXML = address.toXML(factory);
            componentXML.appendChild(addressXML);
        }
       
        String resourceID = getResourceID();
       
View Full Code Here

Examples of org.apache.tapestry.util.ComponentAddress

{
  private ComponentAddress m_objComponentAddress;

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

Examples of org.apache.tapestry.util.ComponentAddress

  }

  public Object[] getColumnSelectedParameters()
  {
    return new Object[] {
      new ComponentAddress(m_objModelSource),
      m_objColumn.getColumnName()};
  }
View Full Code Here

Examples of org.apache.tapestry.util.ComponentAddress

  }

  public void columnSelected(IRequestCycle objCycle)
  {
    Object[] arrArgs = objCycle.getServiceParameters();
    ComponentAddress objAddr = (ComponentAddress) arrArgs[0];
    String strColumnName = (String) arrArgs[1];

    ITableModelSource objSource =
      (ITableModelSource) objAddr.findComponent(objCycle);
    ITableModel objModel = objSource.getTableModel();

    ITableSortingState objState = objModel.getSortingState();
    if (strColumnName.equals(objState.getSortColumn()))
      objState.setSortColumn(strColumnName, !objState.getSortOrder());
View Full Code Here

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

Examples of org.apache.tapestry.util.ComponentAddress

        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

Examples of org.apache.tapestry.util.ComponentAddress

        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

Examples of org.apache.tapestry.util.ComponentAddress

        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

Examples of org.apache.tapestry.util.ComponentAddress

        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

Examples of org.apache.tapestry.util.ComponentAddress

        {
            // error
            return;
        }

        ComponentAddress objAddress = (ComponentAddress) arrParameters[0];
        ITableModelSource objSource = (ITableModelSource) objAddress.findComponent(objCycle);
        setCurrentPage(objSource, ((Integer) arrParameters[1]).intValue());

        // ensure that the change is saved
        objSource.fireObservedStateChange();
    }
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.