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
 int getColumnSpan()
           
 LayoutComponent getComponent()
           
 OriginCell getOrigin()
           
 int getRowSpan()
           
 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.

getColumnSpan

int getColumnSpan()

getRowSpan

int getRowSpan()


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