org.foray.pioneer
Class AbstractFlowPL

java.lang.Object
  extended by org.foray.pioneer.FONodePL
      extended by org.foray.pioneer.FObjPL
          extended by org.foray.pioneer.AbstractFlowPL
Direct Known Subclasses:
FlowPL, StaticContentPL

public abstract class AbstractFlowPL
extends FObjPL

Abstract Pioneer Layout for Flow and StaticContent.


Field Summary
 
Fields inherited from class org.foray.pioneer.FONodePL
BREAK_AFTER, START
 
Constructor Summary
AbstractFlowPL(org.axsl.fo.fo.Flow flow, PioneerLS layout)
          Constructor for flow.
AbstractFlowPL(org.axsl.fo.fo.StaticContent staticContent, PioneerLS layout)
          Constructor for static-content.
 
Method Summary
 List<Integer> getProgressSnapshot()
          Returns the progress snapshot.
 Status getStatus()
          Returns the layout status of this item.
 void setProgressSnapshot(List<Integer> progressSnapshot)
          Saves a progress snapshot.
 void setStatus(Status status)
          Sets the status.
 
Methods inherited from class org.foray.pioneer.FObjPL
getProgressSnapshot, layoutChildren, resetProgress, rollback
 
Methods inherited from class org.foray.pioneer.FONodePL
activeLineArea, addNonTextContent, addNonTextItemToLine, addTextItemToLine, getFONode, getLayout, getLayoutProxy, getLogger, getProgress, layout, setProgress, standardLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFlowPL

public AbstractFlowPL(org.axsl.fo.fo.Flow flow,
                      PioneerLS layout)
Constructor for flow.

Parameters:
flow - The flow object which is being laid out.
layout - The ancestor layout system.

AbstractFlowPL

public AbstractFlowPL(org.axsl.fo.fo.StaticContent staticContent,
                      PioneerLS layout)
Constructor for static-content.

Parameters:
staticContent - The static-content object which is being laid out.
layout - The ancestor layout system.
Method Detail

getStatus

public Status getStatus()
Returns the layout status of this item.

Returns:
The layout status of this item.

setStatus

public void setStatus(Status status)
Sets the status.

Parameters:
status - The status to set.

getProgressSnapshot

public List<Integer> getProgressSnapshot()
Returns the progress snapshot.

Returns:
Returns the progressSnapshot.

setProgressSnapshot

public void setProgressSnapshot(List<Integer> progressSnapshot)
Saves a progress snapshot.

Parameters:
progressSnapshot - The progressSnapshot to be saved.


Copyright © 2017. All rights reserved.