org.apache.myfaces.tobago.component
Class UIColumn

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIColumn
                  extended by org.apache.myfaces.tobago.component.UIColumn
All Implemented Interfaces:
StateHolder, SupportsMarkup

public class UIColumn
extends org.apache.myfaces.tobago.internal.component.AbstractUIColumn
implements SupportsMarkup

Renders a UIComponent that represents a single column of data within a parent UISheet component. UIComponent class, generated from template component1.2.stg with class org.apache.myfaces.tobago.internal.taglib.component.ColumnTagDeclaration.


Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIColumn
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UIColumn()
           
 
Method Summary
 String getAlign()
          Alignment of this column.
 Markup getCurrentMarkup()
           
 String getLabel()
          Text value to display as label.
 Markup getMarkup()
           
 String getTip()
          Text value to display as tooltip.
 String getWidth()
          The layout token for this column.
 boolean isResizable()
          Flag indicating whether or not the width of this column in a sheet is resizable, by the user.
 boolean isSortable()
          Flag indicating whether or not this column is sortable.
 void restoreState(FacesContext context, Object componentState)
           
 Object saveState(FacesContext context)
           
 void setAlign(String align)
           
 void setCurrentMarkup(Markup currentMarkup)
           
 void setLabel(String label)
           
 void setMarkup(Markup markup)
           
 void setResizable(boolean resizable)
           
 void setSortable(boolean sortable)
           
 void setTip(String tip)
           
 void setWidth(String width)
           
 
Methods inherited from class javax.faces.component.UIColumn
getFamily, getFooter, getHeader, getId, setFooter, setHeader
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

UIColumn

public UIColumn()
Method Detail

getMarkup

public Markup getMarkup()
Specified by:
getMarkup in interface SupportsMarkup

setMarkup

public void setMarkup(Markup markup)
Specified by:
setMarkup in interface SupportsMarkup

getWidth

public String getWidth()
The layout token for this column. Allowd layout tokens ('*', '<x>*', '<x>px' or '<x>%'). Where '*' is equvalent to '1*'.

Specified by:
getWidth in class org.apache.myfaces.tobago.internal.component.AbstractUIColumn

setWidth

public void setWidth(String width)

isSortable

public boolean isSortable()
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[].
Default: false


setSortable

public void setSortable(boolean sortable)

getAlign

public String getAlign()
Alignment of this column.


setAlign

public void setAlign(String align)

getCurrentMarkup

public Markup getCurrentMarkup()
Specified by:
getCurrentMarkup in interface SupportsMarkup

setCurrentMarkup

public void setCurrentMarkup(Markup currentMarkup)
Specified by:
setCurrentMarkup in interface SupportsMarkup

isResizable

public boolean isResizable()
Flag indicating whether or not the width of this column in a sheet is resizable, by the user.
Default: true


setResizable

public void setResizable(boolean resizable)

getLabel

public String getLabel()
Text value to display as label. If text contains an underscore the next character is used as accesskey.


setLabel

public void setLabel(String label)

getTip

public String getTip()
Text value to display as tooltip.


setTip

public void setTip(String tip)

restoreState

public void restoreState(FacesContext context,
                         Object componentState)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class UIComponentBase

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class UIComponentBase


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