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:
JspTag, Tag, ColumnTagDeclaration, TobagoTagDeclaration, HasBinding, HasId, HasIdBindingAndRendered, HasLabel, HasTip, HasWidth, 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
 java.lang.String getAlign()
           
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 java.lang.String getResizable()
           
 java.lang.String getSortable()
           
 void release()
           
 void setAlign(java.lang.String align)
          Alignment of this column.
 void setMarkup(java.lang.String markup)
          Indicate markup of this component.
protected  void setProperties(UIComponent component)
           
 void setResizable(java.lang.String resizable)
          Flag indicating whether or not the width of this column is resizable.
 void setSortable(java.lang.String sortable)
          Flag indicating whether or not this column is sortable.
 void setTip(java.lang.String tip)
          Text value to display as tooltip.
 void setWidth(java.lang.String width)
          The width for this component.
 
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
 
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 java.lang.String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getRendererType

public java.lang.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

setMarkup

public void setMarkup(java.lang.String markup)
Description copied from interface: ColumnTagDeclaration
Indicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.

Specified by:
setMarkup in interface ColumnTagDeclaration

getAlign

public java.lang.String getAlign()

setAlign

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

Specified by:
setAlign in interface ColumnTagDeclaration

getSortable

public java.lang.String getSortable()

setSortable

public void setSortable(java.lang.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 or Object[].

Specified by:
setSortable in interface ColumnTagDeclaration

getResizable

public java.lang.String getResizable()

setResizable

public void setResizable(java.lang.String resizable)
Description copied from interface: ColumnTagDeclaration
Flag indicating whether or not the width of this column is resizable.

Specified by:
setResizable in interface ColumnTagDeclaration

setTip

public void setTip(java.lang.String tip)
Description copied from interface: HasTip
Text value to display as tooltip.

Specified by:
setTip in interface HasTip

setWidth

public void setWidth(java.lang.String width)
Description copied from interface: HasWidth
The width for this component. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.

Specified by:
setWidth in interface HasWidth
Overrides:
setWidth in class TobagoTag


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.