You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/05/19 00:02:53 UTC

svn commit: r170836 - in /incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui: databinding/datagrid/runtime/config/DefaultDataGridConfig.java tags/databinding/datagrid/AbstractDataGridHtmlTag.java tags/databinding/datagrid/AbstractHtmlTableCell.java tags/databinding/datagrid/DataGrid.java tags/databinding/datagrid/HeaderCell.java

Author: ekoneil
Date: Wed May 18 15:02:52 2005
New Revision: 170836

URL: http://svn.apache.org/viewcvs?rev=170836&view=rev
Log:
Yet more Javadoc...

BB: self
DRT: Beehive pass


Modified:
    incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/runtime/config/DefaultDataGridConfig.java
    incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractDataGridHtmlTag.java
    incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
    incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java
    incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/runtime/config/DefaultDataGridConfig.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/runtime/config/DefaultDataGridConfig.java?rev=170836&r1=170835&r2=170836&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/runtime/config/DefaultDataGridConfig.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/databinding/datagrid/runtime/config/DefaultDataGridConfig.java Wed May 18 15:02:52 2005
@@ -38,7 +38,10 @@
 import org.apache.beehive.netui.databinding.datagrid.runtime.model.style.EmptyStyleModel;
 
 /**
- *
+ * <p>
+ * Default implementation of the {@link DataGridConfig} base class.  This class is used to provide concrete
+ * implementations of state containers and service providers for the data grid.
+ * </p>
  */
 public class DefaultDataGridConfig
     extends DataGridConfig {
@@ -51,32 +54,66 @@
     private static final StyleModel EMPTY_STYLE_POLICY = new EmptyStyleModel();
     private static final SortStrategy SORT_STRATEGY = new DefaultSortStrategy();
 
+    /**
+     * Create a {@link DataGridState} object.  The default implementation returned is
+     * {@link DataGridState}.
+     * @return a data grid state implementation
+     */
     public DataGridState createDataGridState() {
         return new DataGridState();
     }
 
+    /**
+     * Create a {@link Sort} object.  The default implementation returned is {@link Sort}.
+     * @return a sort
+     */
     public Sort createSort() {
         return new Sort();
     }
 
+    /**
+     * Create a {@link Filter} object.  The default implementation returned is {@link Filter}.
+     * @return a filter
+     */
     public Filter createFilter() {
         return new Filter();
     }
 
+    /**
+     * Create a {@link SortModel} object.  The default implementation returned is {@link SortModel} with a
+     * {@link SortStrategy} of {@link DefaultSortStrategy}.
+     * @param sorts the list of sorts for a data grid
+     * @return a sort model
+     */
     public SortModel createSortModel(List/*<Sort>*/ sorts) {
         SortModel sortModel = new SortModel(sorts);
         sortModel.setSortStrategy(SORT_STRATEGY);
         return sortModel;
     }
 
+    /**
+     * Create a {@link FilterModel} object.  The default implementation returned is {@link FilterModel}.
+     * @param filters the list of filters for a data grid
+     * @return a filter model
+     */
     public FilterModel createFilterModel(List/*<Filter>*/ filters) {
         return new FilterModel(filters);
     }
 
+    /**
+     * Create a {@link PagerModel} object.  The default implementation returned is {@link PagerModel}.
+     * @return a pager model
+     */
     public PagerModel createPagerModel() {
         return new PagerModel();
     }
 
+    /**
+     * Create a {@link DataGridStateCodec} for a grid with the given name for the given {@link ServletRequest}.
+     * @param request the current request
+     * @param gridName a data grid's name
+     * @return the state encoder / decoder for a data grid's request state
+     */
     public DataGridStateCodec createStateCodec(ServletRequest request, String gridName) {
         DefaultDataGridStateCodec codec = new DefaultDataGridStateCodec(this);
         codec.setServletRequest(request);
@@ -84,20 +121,58 @@
         return codec;
     }
 
+    /**
+     * Get the default {@link PagerRenderer}.  The default pager renderer will display a pager with previous / next
+     * page links via the implementation class {@link PreviousNextPagerRenderer}.
+     * @return the pager renderer
+     */
     public PagerRenderer getDefaultPagerRenderer() {
         return new PreviousNextPagerRenderer();
     }
 
+    /**
+     * Get a {@link DataGridResourceProvider}.  The default implementation class is {@link DefaultDataGridResourceProvider}
+     * and provides a basic implementation that reads messages from the default .properties file.
+     * @return the resource provider
+     */
     public DataGridResourceProvider getDefaultResourceProvider() {
         return new DefaultDataGridResourceProvider();
     }
 
+    /**
+     * Get a {@link DataGridResourceProvider} for the given resource bundle path.  The default implementation
+     * will set this resource bundle but does not enable message chaining.
+     * @param resourceBundle a resource bundle specifically requested by a data grid
+     * @return the resource provider
+     */
     public DataGridResourceProvider getResourceProvider(String resourceBundle) {
         DataGridResourceProvider resourceProvider = new DefaultDataGridResourceProvider();
         resourceProvider.setResourceBundlePath(resourceBundle);
         return resourceProvider;
     }
 
+    /**
+     * Get a {@link StyleModel} given a model name and a style class prefix.  This class exposes two available
+     * style names:
+     * <table>
+     * <tr><td>Name</td><td>Description</td><td>Implementation Class</td></tr>
+     * <tr><td><code>empty</code></td>
+     *     <td>Renders CSS style classes that are non-prefixed and generally empty.</td>
+     *     <td>{@link EmptyStyleModel}</td>
+     * </tr>
+     * <tr><td><code>default</code></td>
+     *     <td>Renders CSS style classes with names using a default prefix of <code>datagrid</code></td>
+     *     <td>{@link DefaultStyleModel}</td>
+     * </tr>
+     * </table>
+     * When using the <code>empty</code> style model, styles rendered on the &lt;table&gt; element will
+     * be empty; the same style rendered wtih the <code>default</code> style model will render as
+     * <code>class="datagrid"</code>.  If the style prefix "foo" is provided for the <code>default</code> style policy
+     * the style name will be rendered as <code>class="foo"</code>.x
+     * @param name the name of a {@link StyleModel} implementation to use
+     * @param classPrefix the prefix for a style name
+     * @return the style model
+     */
     public StyleModel getStyleModel(String name, String classPrefix) {
         if(name == null || name.equals(STYLE_POLICY_NAME_DEFAULT)) {
             if(classPrefix != null)

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractDataGridHtmlTag.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractDataGridHtmlTag.java?rev=170836&r1=170835&r2=170836&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractDataGridHtmlTag.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractDataGridHtmlTag.java Wed May 18 15:02:52 2005
@@ -80,11 +80,24 @@
         state.id = generateTagId(tagId);
     }
 
+    /**
+     * Generate a tag ID.
+     * @param tagId the tag id
+     * @return the generated tag id
+     * @throws JspException if an error occurs creating the value of the tag id attribute 
+     */
     private final String generateTagId(String tagId)
         throws JspException {
         return setRequiredValueAttribute(tagId, "tagId");
     }
 
+    /**
+     * Generate an indexed tag ID.  This method will use the
+     * {@link org.apache.beehive.netui.databinding.datagrid.api.rendering.DataGridTagModel#getCurrentIndex()} method
+     * to scope a given name to a particular row in the data grid.
+     * @param tagId the base tag id
+     * @return an index-scoped tag id
+     */
     private final String indexTagId(String tagId) {
         DataGridTagModel dataGridTagModel = lookupDataGridTagModel();
         assert dataGridTagModel != null;
@@ -96,14 +109,22 @@
     }
 
     /**
+     * <p>
+     * Generate a name and id given a {@link AbstractHtmlState} object.  Data grid callers may invoke this
+     * method with subclasses rendering markup containing tags that must set HTML tag IDs for use
+     * via JavaScript on the client.
+     * <br/>
      * Assumptions:
      * <ul>
      * <li>The state.name must be fully formed or the "real name" of the form.</li>
      * <li>The state.id is the tagId value set on the tag and <b>has not</b> be rewritten yet to form the "real id"</li>
      * </ul>
-     * @param state
-     * @param parentForm
-     * @return String
+     * </p>
+     * @param state the HTML state whose tag id to set
+     * @param parentForm a {@link Form} tag if one contains this tag
+     * @return String a block of JavaScript if script must e rendered to the page in order to support
+     *         lookups of HTML elements using a tag id.  If returned, the String <b>must</b> be rendered
+     *         to the output stream.  <code>null</code> if no script must be rendered.
      */
     protected final String renderNameAndId(HttpServletRequest request, AbstractHtmlState state, Form parentForm) {
         // if id is not set then we need to exit

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java?rev=170836&r1=170835&r2=170836&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java Wed May 18 15:02:52 2005
@@ -109,7 +109,7 @@
      *
      * @param onClick the onClick event.
      * @jsptagref.attributedescription The onClick JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onClick</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnClick</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onClick JavaScript event."
      */
     public void setCellOnClick(String onClick) {
@@ -121,7 +121,7 @@
      *
      * @param onDblClick the onDblClick event.
      * @jsptagref.attributedescription The onDblClick JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onDblClick</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnDblClick</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onDblClick JavaScript event."
      */
     public void setCellOnDblClick(String onDblClick) {
@@ -133,7 +133,7 @@
      *
      * @param onKeyDown the onKeyDown event.
      * @jsptagref.attributedescription The onKeyDown JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onKeyDown</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnKeyDown</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onKeyDown JavaScript event."
      */
     public void setCellOnKeyDown(String onKeyDown) {
@@ -145,7 +145,7 @@
      *
      * @param onKeyUp the onKeyUp event.
      * @jsptagref.attributedescription The onKeyUp JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onKeyUp</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnKeyUp</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onKeyUp JavaScript event."
      */
     public void setCellOnKeyUp(String onKeyUp) {
@@ -157,7 +157,7 @@
      *
      * @param onKeyPress the onKeyPress event.
      * @jsptagref.attributedescription The onKeyPress JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onKeyPress</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnKeyPress</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onKeyPress JavaScript event."
      */
     public void setCellOnKeyPress(String onKeyPress) {
@@ -169,7 +169,7 @@
      *
      * @param onMouseDown the onMouseDown event.
      * @jsptagref.attributedescription The onMouseDown JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseDown</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseDown</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseDown JavaScript event."
      */
     public void setCellOnMouseDown(String onMouseDown) {
@@ -181,7 +181,7 @@
      *
      * @param onMouseUp the onMouseUp event.
      * @jsptagref.attributedescription The onMouseUp JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseUp</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseUp</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseUp JavaScript event."
      */
     public void setCellOnMouseUp(String onMouseUp) {
@@ -193,7 +193,7 @@
      *
      * @param onMouseMove the onMouseMove event.
      * @jsptagref.attributedescription The onMouseMove JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseMove</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseMove</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseMove JavaScript event."
      */
     public void setCellOnMouseMove(String onMouseMove) {
@@ -205,7 +205,7 @@
      *
      * @param onMouseOut the onMouseOut event.
      * @jsptagref.attributedescription The onMouseOut JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseOut</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseOut</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseOut JavaScript event."
      */
     public void setCellOnMouseOut(String onMouseOut) {
@@ -217,7 +217,7 @@
      *
      * @param onMouseOver the onMouseOver event.
      * @jsptagref.attributedescription The onMouseOver JavaScript event for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseOver</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseOver</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseOver JavaScript event."
      */
     public void setCellOnMouseOver(String onMouseOver) {
@@ -229,7 +229,7 @@
      *
      * @param style the html style.
      * @jsptagref.attributedescription The style attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_style</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellStyle</i>
      * @netui:attribute required="false"  rtexprvalue="true" description="The style attribute."
      */
     public void setCellStyle(String style) {
@@ -243,7 +243,7 @@
      *
      * @param styleClass the html style class.
      * @jsptagref.attributedescription The style class attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_style_class</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellStyleClass</i>
      * @netui:attribute required="false"  rtexprvalue="true" description="The style class."
      */
     public void setCellStyleClass(String styleClass) {
@@ -257,7 +257,7 @@
      *
      * @param title the title
      * @jsptagref.attributedescription The title for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_title</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellTitle</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The title."
      */
     public void setCellTitle(String title) {
@@ -267,9 +267,9 @@
     /**
      * Sets the rowspan attribute for the HTML table cell.
      *
-     * @param rowSpan
+     * @param rowSpan the rowspan
      * @jsptagref.attributedescription The row span attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_rowspan</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellRowspan</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The rowspan."
      */
     public void setCellRowspan(int rowSpan) {
@@ -279,9 +279,9 @@
     /**
      * Sets the colspan attribute of the HTML table cell.
      *
-     * @param colSpan
+     * @param colSpan the colspan
      * @jsptagref.attributedescription The colspan attribute of the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_colspan</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellColspan</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The colspan."
      */
     public void setCellColspan(int colSpan) {
@@ -291,9 +291,9 @@
     /**
      * Sets the horizontal alignment of the HTML table cell.
      *
-     * @param align
+     * @param align the alignment
      * @jsptagref.attributedescription The horizontal alignment of the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_align</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAlign</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The cell's horizontal alignment"
      */
     public void setCellAlign(String align) {
@@ -304,9 +304,9 @@
     /**
      * Sets the value of the horizontal alignment character attribute for the HTML table cell.
      *
-     * @param alignChar
+     * @param alignChar the horizontal alignment character
      * @jsptagref.attributedescription The horizontal alignment character for the HTML table cell
-     * @jsptagref.attributesyntaxvalue <i>string_alignChar</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAlignChar</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The cell's horizontal alignment character"
      */
     public void setCellChar(String alignChar) {
@@ -316,9 +316,9 @@
     /**
      * Sets the value of the horizontal alignment character offset attribute for the HTML table cell.
      *
-     * @param alignCharOff
+     * @param alignCharOff the alingnment character offset
      * @jsptagref.attributedescription The horizontal alignment character offset for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_alignCharOff</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAignCharOff</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The cell's horizontal alignment character offset"
      */
     public void setCellCharoff(String alignCharOff) {
@@ -328,9 +328,9 @@
     /**
      * Sets the value of the vertical alignment attribute for the HTML table cell.
      *
-     * @param align
+     * @param align the vertical alignment
      * @jsptagref.attributedescription The vertical alignment for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_align</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAlign</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The cell's vertical alignment"
      */
     public void setCellValign(String align) {
@@ -341,9 +341,9 @@
     /**
      * Sets the value of the language attribute for the HTML table cell.
      *
-     * @param lang
+     * @param lang the language
      * @jsptagref.attributedescription The language for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_lang</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellLang</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The cell's language"
      */
     public void setCellLang(String lang) {
@@ -353,9 +353,9 @@
     /**
      * Sets the value of the text direction attribute for the HTML table cell.
      *
-     * @param dir
+     * @param dir the text direction
      * @jsptagref.attributedescription The text direction attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellDir</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The cell's text direction"
      */
     public void setCellDir(String dir) {
@@ -365,9 +365,9 @@
     /**
      * Sets the value of the abbreviated form of the HTML table cell's content.
      *
-     * @param abbr
+     * @param abbr the abbreviation
      * @jsptagref.attributedescription The abbreviated form of the HTML table cell's content.
-     * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAbbr</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The abbreviated form of the cell's content"
      */
     public void setCellAbbr(String abbr) {
@@ -377,9 +377,9 @@
     /**
      * Sets the value of the axis attribute for the HTML table cell.
      *
-     * @param axis
+     * @param axis the axis
      * @jsptagref.attributedescription The axis attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_axis</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAxis</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The axis attribute"
      */
     public void setCellAxis(String axis) {
@@ -389,9 +389,9 @@
     /**
      * Sets the value of the headers attribute for the HTML table cell.
      *
-     * @param headers
+     * @param headers the headers
      * @jsptagref.attributedescription The headers attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_headers</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellHeaders</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The headers attribute"
      */
     public void setCellHeaders(String headers) {
@@ -401,9 +401,9 @@
     /**
      * Sets the value of the scope attribute for the HTML table cell.
      *
-     * @param scope
+     * @param scope the scope
      * @jsptagref.attributedescription The scope attribute for the HTML table cell.
-     * @jsptagref.attributesyntaxvalue <i>string_scope</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellScope</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The scope attribute"
      */
     public void setCellScope(String scope) {
@@ -417,7 +417,7 @@
      * @param tagId the tag id
      * @jsptagref.attributedescription The tagId for the HTML table cell.  The user is responsible for
      * ensuring that this tag id is unique in the rendered page.
-     * @jsptagref.attributesyntaxvalue <i>string_tagId</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellTagId</i>
      * @netui:attribute required="false" rtexprvalue="true"
      * description="String value. Sets the id (or name) attribute of the rendered HTML tag. "
      */

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java?rev=170836&r1=170835&r2=170836&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/DataGrid.java Wed May 18 15:02:52 2005
@@ -52,8 +52,6 @@
 import org.apache.beehive.netui.util.Bundle;
 
 /**
- *
- * Hello world!
  * <p>
  * This tag is the top-level data grid tag which renders a data set into an HTML table.
  * </p>

Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java?rev=170836&r1=170835&r2=170836&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java Wed May 18 15:02:52 2005
@@ -349,7 +349,7 @@
      *
      * @param onClick the onClick event.
      * @jsptagref.attributedescription The onClick JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onClick</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnClick</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onClick JavaScript for the HTML th tag."
      */
     public void setCellOnClick(String onClick) {
@@ -361,7 +361,7 @@
      *
      * @param onDblClick the onDblClick event.
      * @jsptagref.attributedescription The onDblClick JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onDblClick</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnDblClick</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onDblClick JavaScript for the HTML th tag."
      */
     public void setCellOnDblClick(String onDblClick) {
@@ -373,7 +373,7 @@
      *
      * @param onKeyDown the onKeyDown event.
      * @jsptagref.attributedescription The onKeyDown JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onKeyDown</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnKeyDown</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onKeyDown JavaScript for the HTML th tag."
      */
     public void setCellOnKeyDown(String onKeyDown) {
@@ -385,7 +385,7 @@
      *
      * @param onKeyUp the onKeyUp event.
      * @jsptagref.attributedescription The onKeyUp JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onKeyUp</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnKeyUp</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onKeyUp JavaScript for the HTML th tag."
      */
     public void setCellOnKeyUp(String onKeyUp) {
@@ -397,7 +397,7 @@
      *
      * @param onKeyPress the onKeyPress event.
      * @jsptagref.attributedescription The onKeyPress JavaScript event for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onKeyPress</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnKeyPress</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onKeyPress JavaScript for the HTML th tag."
      */
     public void setCellOnKeyPress(String onKeyPress) {
@@ -409,7 +409,7 @@
      *
      * @param onMouseDown the onMouseDown event.
      * @jsptagref.attributedescription The onMouseDown JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseDown</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseDown</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseDown JavaScript for the HTML th tag."
      */
     public void setCellOnMouseDown(String onMouseDown) {
@@ -421,7 +421,7 @@
      *
      * @param onMouseUp the onMouseUp event.
      * @jsptagref.attributedescription The onMouseUp JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseUp</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseUp</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseUp JavaScript for the HTML th tag."
      */
     public void setCellOnMouseUp(String onMouseUp) {
@@ -433,7 +433,7 @@
      *
      * @param onMouseMove the onMouseMove event.
      * @jsptagref.attributedescription The onMouseMove JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseMove</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseMove</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseMove JavaScript for the HTML th tag."
      */
     public void setCellOnMouseMove(String onMouseMove) {
@@ -445,7 +445,7 @@
      *
      * @param onMouseOut the onMouseOut event.
      * @jsptagref.attributedescription The onMouseOut JavaScript event for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseOut</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseOut</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseOut JavaScript for the HTML th tag."
      */
     public void setCellOnMouseOut(String onMouseOut) {
@@ -457,7 +457,7 @@
      *
      * @param onMouseOver the onMouseOver event.
      * @jsptagref.attributedescription The onMouseOver JavaScript for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_onMouseOver</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellOnMouseOver</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The onMouseOver JavaScript for the HTML th tag."
      */
     public void setCellOnMouseOver(String onMouseOver) {
@@ -469,7 +469,7 @@
      *
      * @param style the style
      * @jsptagref.attributedescription The style for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_style</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellStyle</i>
      * @netui:attribute required="false"  rtexprvalue="true" description="The style for the HTML th tag."
      */
     public void setCellStyle(String style) {
@@ -483,7 +483,7 @@
      *
      * @param styleClass the style class
      * @jsptagref.attributedescription The style class for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_style_class</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellStyleClass</i>
      * @netui:attribute required="false"  rtexprvalue="true" description="The style class for the HTML th tag."
      */
     public void setCellStyleClass(String styleClass) {
@@ -497,7 +497,7 @@
      *
      * @param title the title
      * @jsptagref.attributedescription The title for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_title</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellTitle</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The title for the HTML th tag."
      */
     public void setCellTitle(String title) {
@@ -509,7 +509,7 @@
      *
      * @param rowSpan the rowspan
      * @jsptagref.attributedescription The row span for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>int_rowspan</i>
+     * @jsptagref.attributesyntaxvalue <i>int_cellRowspan</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The rowspan for the HTML th tag."
      */
     public void setCellRowspan(int rowSpan) {
@@ -521,7 +521,7 @@
      *
      * @param colSpan the colspan
      * @jsptagref.attributedescription The colspan for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>int_colspan</i>
+     * @jsptagref.attributesyntaxvalue <i>int_cellColspan</i>
      * @netui:attribute required="false" rtexprvalue="true" description="The colspan for the HTML th tag."
      */
     public void setCellColspan(int colSpan) {
@@ -533,7 +533,7 @@
      *
      * @param align the horizontal alignment
      * @jsptagref.attributedescription The horizontal alignment for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_align</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAlign</i>
      * @netui:attribute required="false" rtexprvalue="true"
      *                  description="The horizontal alignment for the HTML th tag"
      */
@@ -547,7 +547,7 @@
      *
      * @param alignChar the alignment character
      * @jsptagref.attributedescription The horizontal alignment character for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_alignChar</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAlignChar</i>
      * @netui:attribute required="false" rtexprvalue="true"
      *                  description="The horizontal alignment character for the HTML th tag."
      */
@@ -560,7 +560,7 @@
      *
      * @param alignCharOff the horizontal alignment character offset
      * @jsptagref.attributedescription The horizontal alignment character offset for the HTML th tag.
-     * @jsptagref.attributesyntaxvalue <i>string_alignCharOff</i>
+     * @jsptagref.attributesyntaxvalue <i>string_cellAlignCharOff</i>
      * @netui:attribute required="false" rtexprvalue="true"
      *                  description="The horizontal alignment character offset for the HTML th tag."
      */