Home » struts-2.1.8.1-src » org.apache » struts2 » components » table » [javadoc | source]
org.apache.struts2.components.table
public class: WebTable [javadoc | source]
java.lang.Object
   org.apache.struts2.components.Component
      org.apache.struts2.components.UIBean
         org.apache.struts2.components.GenericUIBean
            org.apache.struts2.components.table.WebTable
Nested Class Summary:
public class  WebTable.WebTableRowIterator  inner class to iteratoe over a row of the table. It can return formatted data, using the columnRenderer for the column or it can return the raw data. 
Field Summary
public static final  String TEMPLATE     
protected  String sortOrder     
protected  String modelName     
protected  TableModel model     
protected  WebTableColumn[] columns     
protected  boolean sortableAttr     
protected  int sortColumn     
protected  int curRow     
Fields inherited from org.apache.struts2.components.UIBean:
request,  response,  templateSuffix,  template,  templateDir,  theme,  key,  id,  cssClass,  cssStyle,  cssErrorClass,  cssErrorStyle,  disabled,  label,  labelPosition,  labelSeparator,  requiredposition,  name,  required,  tabindex,  value,  title,  onclick,  ondblclick,  onmousedown,  onmouseup,  onmouseover,  onmousemove,  onmouseout,  onfocus,  onblur,  onkeypress,  onkeydown,  onkeyup,  onselect,  onchange,  accesskey,  tooltip,  tooltipConfig,  javascriptTooltip,  tooltipDelay,  tooltipCssClass,  tooltipIconPath,  dynamicAttributes,  defaultTemplateDir,  defaultUITheme,  templateEngineManager
Fields inherited from org.apache.struts2.components.Component:
COMPONENT_STACK,  stack,  parameters,  actionMapper,  throwExceptionOnELFailure
Constructor:
 public WebTable(ValueStack stack,
    HttpServletRequest request,
    HttpServletResponse response) 
Method from org.apache.struts2.components.table.WebTable Summary:
end,   evaluateExtraParams,   getColumn,   getColumnCount,   getColumnDisplayName,   getColumnRenderer,   getColumns,   getDefaultTemplate,   getFormattedRow,   getModel,   getModelName,   getNumberOfVisibleColumns,   getRawData,   getRawDataRowIterator,   getRow,   getRowCount,   getRowIterator,   getSortColumn,   getSortColumnLinkName,   getSortOrder,   getSortOrderLinkName,   isColumnHidden,   isSortable,   setColumnDisplayName,   setColumnHidden,   setColumnRenderer,   setModel,   setModelName,   setSortColumn,   setSortOrder,   setSortable
Methods from org.apache.struts2.components.GenericUIBean:
contains,   getDefaultTemplate
Methods from org.apache.struts2.components.UIBean:
addFormParameter,   buildTemplateName,   enableAncestorFormCustomOnsubmit,   end,   ensureAttributeSafelyNotEscaped,   escape,   evaluateExtraParams,   evaluateNameValue,   evaluateParams,   getDefaultTemplate,   getId,   getTemplate,   getTemplateDir,   getTheme,   getTooltipConfig,   getValueClassType,   mergeTemplate,   populateComponentHtmlId,   setAccesskey,   setCssClass,   setCssErrorClass,   setCssErrorStyle,   setCssStyle,   setDefaultTemplateDir,   setDefaultUITheme,   setDisabled,   setDynamicAttributes,   setId,   setJavascriptTooltip,   setKey,   setLabel,   setLabelSeparator,   setLabelposition,   setName,   setOnblur,   setOnchange,   setOnclick,   setOndblclick,   setOnfocus,   setOnkeydown,   setOnkeypress,   setOnkeyup,   setOnmousedown,   setOnmousemove,   setOnmouseout,   setOnmouseover,   setOnmouseup,   setOnselect,   setRequired,   setRequiredposition,   setTabindex,   setTemplate,   setTemplateDir,   setTemplateEngineManager,   setTheme,   setTitle,   setTooltip,   setTooltipConfig,   setTooltipCssClass,   setTooltipDelay,   setTooltipIconPath,   setValue
Methods from org.apache.struts2.components.Component:
addAllParameters,   addParameter,   altSyntax,   altSyntax,   completeExpressionIfAltSyntax,   copyParams,   determineActionURL,   determineNamespace,   end,   end,   fieldError,   findAncestor,   findString,   findString,   findStringIfAltSyntax,   findValue,   findValue,   findValue,   getComponentStack,   getParameters,   getStack,   popComponentStack,   setActionMapper,   setThrowExceptionsOnELFailure,   start,   stripExpressionIfAltSyntax,   stripExpressionIfAltSyntax,   toString,   usesBody
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.components.table.WebTable Detail:
 public boolean end(Writer writer,
    String body) 
 protected  void evaluateExtraParams() 
 public WebTableColumn getColumn(int index) 
 public int getColumnCount() 
 public  void getColumnDisplayName(int column) 
 public CellRenderer getColumnRenderer(int column) 
 public WebTableColumn[] getColumns() 
 protected String getDefaultTemplate() 
 public String[] getFormattedRow(int row) 
 public TableModel getModel() 
 public String getModelName() 
 protected int getNumberOfVisibleColumns() 
 public Object getRawData(int row,
    int column) 
 public Iterator getRawDataRowIterator() 
 public Object[] getRow(int row) 
 public int getRowCount() 
 public Iterator getRowIterator() 
 public int getSortColumn() 
 public String getSortColumnLinkName() 
 public String getSortOrder() 
 public String getSortOrderLinkName() 
 public boolean isColumnHidden(int column) 
 public boolean isSortable() 
 public  void setColumnDisplayName(int column,
    String displayName) 
 public  void setColumnHidden(int column,
    boolean hide) 
 public  void setColumnRenderer(int column,
    CellRenderer renderer) 
 public  void setModel(TableModel model) 
 public  void setModelName(String modelName) 
    The name of model to use
 public  void setSortColumn(int sortColumn) 
 public  void setSortOrder(String sortOrder) 
 public  void setSortable(boolean sortable)