Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4573/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags

Added Files:
        TacosTreeTag.java 
Log Message:
Added support for tacos components
Added @tacos.tree tag

--- NEW FILE: TacosTreeTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * Tree component.
 * Works similar to a Foreach: the body is rendered for every element.
 * The current element can be accessed via the outgoing binding "value". This 
 * component is partial request compatible, meaning that if you invoke 
PartialLink's
 * with refreshParts containing unique tree node id's it will render them 
correctly.
 *
 * @qtags.location class
 * @author Paolo Dona
 */
public interface TacosTreeTag extends com.thoughtworks.qdox.model.DocletTag {
    /**
     * The id of the component
     * @qtags.required
     */
    String getId();

    /**
     * Provides elements for tree to display.
     * @qtags.required
     */
    String getContentProvider();

    /**
     * Converter from elements to keys.
     * Optional, by default IdentityKeyProvider is used.
     */
    String getKeyProvider();
    
    /**
     * Outgoing binding to current value.
     * @qtags.required
     */
    String getValue_();
    
    /**
     * Set of currently open element keys.
     * Optional, by default an empty persistent HashSet is created.
     */
    String getState();

    /**
     * Optional comparator to order the displayed elements by.
     */
    String getSorter();

    /**
     * Offset in pixels for depth-indentation.
     */
    String getOffset();
    
    /**
     * If provided the individual rows of the tree will alternate styles using
     * the provided EvenOdd beans even and odd css classes.
     */
    String getRowStyle();
    
    /**
     * Optional, if specified the surrounding div block on each category or 
node 
     * will have its class attribute set to this value
     */
    String getPartialBlockClass();
    
    /**
     * Specifies the listener to invoke during the execution of 
contentExpansion method. 
     * This enables other components to cause the tree to collapse/expand nodes 
on the tree AND 
     * invoke their listeners. It's basically a work around for being able to 
specify multiple listeners
     * on a link.
     */
    String getLinkListener();
}


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to