fop 0.90alpha1

org.apache.fop.layoutmgr.table
Class TableContentLayoutManager.GridUnitPart

java.lang.Object
  |
  +--org.apache.fop.layoutmgr.table.TableContentLayoutManager.GridUnitPart
Enclosing class:
TableContentLayoutManager

protected static class TableContentLayoutManager.GridUnitPart
extends java.lang.Object

Represents a non-dividable part of a grid unit. Used by the table stepper.


Field Summary
protected  int end
          Index of the ending element of this part
protected  PrimaryGridUnit pgu
          Primary grid unit
protected  int start
          Index of the starting element of this part
 
Constructor Summary
protected TableContentLayoutManager.GridUnitPart(PrimaryGridUnit pgu, int start, int end)
          Creates a new GridUnitPart.
 
Method Summary
 boolean isFirstPart()
           
 boolean isLastPart()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pgu

protected PrimaryGridUnit pgu
Primary grid unit

start

protected int start
Index of the starting element of this part

end

protected int end
Index of the ending element of this part
Constructor Detail

TableContentLayoutManager.GridUnitPart

protected TableContentLayoutManager.GridUnitPart(PrimaryGridUnit pgu,
                                                 int start,
                                                 int end)
Creates a new GridUnitPart.
Parameters:
pgu - Primary grid unit
start - starting element
end - ending element
Method Detail

isFirstPart

public boolean isFirstPart()
Returns:
true if this part is the first part of a cell

isLastPart

public boolean isLastPart()
Returns:
true if this part is the last part of a cell

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.