org.apache.myfaces.tobago.internal.layout
Class OriginCell

java.lang.Object
  extended by org.apache.myfaces.tobago.internal.layout.OriginCell
All Implemented Interfaces:
Cell

public class OriginCell
extends Object
implements Cell


Constructor Summary
OriginCell(LayoutComponent component)
           
 
Method Summary
 int getColumnSpan()
           
 LayoutComponent getComponent()
           
 OriginCell getOrigin()
           
 int getRowSpan()
           
 int getSpan(Orientation orientation)
           
 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.
 void setColumnSpan(int columnSpan)
           
 void setRowSpan(int rowSpan)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OriginCell

public OriginCell(LayoutComponent component)
Method Detail

getComponent

public LayoutComponent getComponent()
Specified by:
getComponent in interface Cell

getOrigin

public OriginCell getOrigin()
Specified by:
getOrigin in interface Cell

isVerticalFirst

public boolean isVerticalFirst()
Description copied from interface: Cell
Is the origin cell or span cell at the first position of the cell compound.

Specified by:
isVerticalFirst in interface Cell
Returns:
If its at the first position.

isHorizontalFirst

public boolean isHorizontalFirst()
Description copied from interface: Cell
Is the origin cell or span cell at the first position of the cell compound.

Specified by:
isHorizontalFirst in interface Cell
Returns:
If its at the first position.

getSpan

public int getSpan(Orientation orientation)

getColumnSpan

public int getColumnSpan()

setColumnSpan

public void setColumnSpan(int columnSpan)

getRowSpan

public int getRowSpan()

setRowSpan

public void setRowSpan(int rowSpan)


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