org.apache.myfaces.tobago.internal.layout
Interface Cell

All Known Implementing Classes:
OriginCell, SpanCell

public interface Cell

To support horizontal and vertical spans, at each position will be a cell as a represantive. Either a "origin cell" for the first position or a "span cell" for spanned other positions.


Method Summary
 LayoutComponent getComponent()
           
 OriginCell getOrigin()
           
 boolean isHorizontalFirst()
          Is the origin cell or span cell at the first position of the cell compound.
 boolean isVerticalFirst()
          Is the origin cell or span cell at the first position of the cell compound.
 

Method Detail

getComponent

LayoutComponent getComponent()

getOrigin

OriginCell getOrigin()

isHorizontalFirst

boolean isHorizontalFirst()
Is the origin cell or span cell at the first position of the cell compound.

Returns:
If its at the first position.

isVerticalFirst

boolean isVerticalFirst()
Is the origin cell or span cell at the first position of the cell compound.

Returns:
If its at the first position.


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