org.apache.myfaces.tobago.internal.taglib.component
Interface GridLayoutTagDeclaration

All Superinterfaces:
HasBinding, HasBorder, HasColumnLayout, HasCurrentMarkup, HasId, HasMargin, HasMargins, HasMarkup, HasRowLayout, HasSpacing

public interface GridLayoutTagDeclaration
extends HasId, HasBorder, HasSpacing, HasMargin, HasMargins, HasColumnLayout, HasRowLayout, HasBinding, HasMarkup, HasCurrentMarkup

Renders a GridLayout.

 columns/rows ::= LAYOUT
 LAYOUT       ::= TOKEN [";" TOKEN]+
 TOKEN        ::= AUTO | PIXEL | PROPORTIONAL
 AUTO         ::= "auto" | "fixed"
 PIXEL        ::= NUMBER "px"
 PROPORTIONAL ::= [NUMBER] "*"
 

Parent Child Okay? Remarks
AUTO any combination of AUTO or PIXEL but no PROPORTIONAL okay -
AUTO any combination with at least one PROPORTIONAL wrong LayoutManager cannot compute the auto value.
PIXEL any combination of AUTO or PIXEL but no PROPORTIONAL potentially wrong The values depend on each other, the programmer has to keep consistency manually.
PIXEL any combination with at least one PROPORTIONAL okay -
PROPORTIONAL any combination of AUTO or PIXEL but no PROPORTIONAL potentially wrong No automatic matching:
  • too little space: scroll bar
  • too much space: elements will be spread.
PROPORTIONAL any combination with at least one PROPORTIONAL okay -


Method Summary
 void setColumnOverflow(String columnOverflow)
          This attribute is a hint for the layout manager.
 void setRowOverflow(String rowOverflow)
          This attribute is a hint for the layout manager.
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBorder
setBorder
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasSpacing
setCellspacing, setColumnSpacing, setRowSpacing
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasMargin
setMargin
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasMargins
setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasColumnLayout
setColumns
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasRowLayout
setRows
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup
setMarkup
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasCurrentMarkup
setCurrentMarkup
 

Method Detail

setColumnOverflow

void setColumnOverflow(String columnOverflow)
This attribute is a hint for the layout manager. Should not be used in most cases.

Parameters:
columnOverflow - Does the component need a horizontal scrollbar?

setRowOverflow

void setRowOverflow(String rowOverflow)
This attribute is a hint for the layout manager. Should not be used in most cases.

Parameters:
rowOverflow - Does the component need a vertical scrollbar?


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