org.apache.myfaces.tobago.taglib.component
Class ColumnTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.ColumnTag
All Implemented Interfaces:
Tag, ColumnTagDeclaration, TobagoTagDeclaration, HasBinding, HasId, HasIdBindingAndRendered, HasLabel, IsRendered

public class ColumnTag
extends TobagoTag
implements ColumnTagDeclaration


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ColumnTag()
           
 
Method Summary
 String getAlign()
           
 String getComponentType()
           
 String getRendererType()
           
 String getSortable()
           
 void release()
           
 void setAlign(String align)
          Alignment of this column.
protected  void setProperties(UIComponent component)
           
 void setSortable(String sortable)
          Flag indicating whether or not this column is sortable.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doEndTag, doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasLabel
setLabel
 

Constructor Detail

ColumnTag

public ColumnTag()
Method Detail

getComponentType

public String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getRendererType

public String getRendererType()
Overrides:
getRendererType in class TobagoTag

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class TobagoTag

setProperties

protected void setProperties(UIComponent component)
Overrides:
setProperties in class TobagoTag

getAlign

public String getAlign()

setAlign

public void setAlign(String align)
Description copied from interface: ColumnTagDeclaration
Alignment of this column.

Specified by:
setAlign in interface ColumnTagDeclaration

getSortable

public String getSortable()

setSortable

public void setSortable(String sortable)
Description copied from interface: ColumnTagDeclaration
Flag indicating whether or not this column is sortable. To make a column sortable the data of the sheet must be one of java.util.List, Object[] or instance of org.apache.myfaces.tobago.model.SortableByApplication.

Specified by:
setSortable in interface ColumnTagDeclaration


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.