Java Doc for BlockLayoutManager.java in  » Graphic-Library » fop » org » apache » fop » layoutmgr » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Graphic Library » fop » org.apache.fop.layoutmgr 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.fop.layoutmgr.AbstractBaseLayoutManager
      org.apache.fop.layoutmgr.AbstractLayoutManager
         org.apache.fop.layoutmgr.BlockStackingLayoutManager
            org.apache.fop.layoutmgr.BlockLayoutManager

BlockLayoutManager
public class BlockLayoutManager extends BlockStackingLayoutManager implements ConditionalElementListener(Code)
LayoutManager for a block FO.

Inner Class :protected class ProxyLMiter extends LMiter

Field Summary
protected  ListchildBreaks
     The list of child BreakPoss instances.
protected  ListIteratorproxyLMiter
     Iterator over the child layout managers.

Constructor Summary
public  BlockLayoutManager(org.apache.fop.fo.flow.Block inBlock)
     Creates a new BlockLayoutManager.

Method Summary
public  voidaddAreas(PositionIterator parentIter, LayoutContext layoutContext)
    
public  voidaddChildArea(Area childArea)
    
public  booleancreateNextChildLMs(int pos)
    
protected  voidflush()
     Force current area to be added to parent area.
protected  org.apache.fop.fo.flow.BlockgetBlockFO()
    
public  intgetContentAreaBPD()
    
public  intgetContentAreaIPD()
    
public  booleangetGeneratesBlockArea()
    
public  LinkedListgetNextKnuthElements(LayoutContext context, int alignment)
    
public  AreagetParentArea(Area childArea)
     Return an Area which can contain the passed childArea.
public  voidinitialize()
    
public  booleanmustKeepTogether()
    
public  booleanmustKeepWithNext()
    
public  booleanmustKeepWithPrevious()
    
public  voidnotifyBorder(RelSide side, MinOptMax effectiveLength)
    
public  voidnotifyPadding(RelSide side, MinOptMax effectiveLength)
    
public  voidnotifySpace(RelSide side, MinOptMax effectiveLength)
    
public  voidresetPosition(Position resetPos)
    

Field Detail
childBreaks
protected List childBreaks(Code)
The list of child BreakPoss instances.



proxyLMiter
protected ListIterator proxyLMiter(Code)
Iterator over the child layout managers.




Constructor Detail
BlockLayoutManager
public BlockLayoutManager(org.apache.fop.fo.flow.Block inBlock)(Code)
Creates a new BlockLayoutManager.
Parameters:
  inBlock - the block FO object to create the layout manager for.




Method Detail
addAreas
public void addAreas(PositionIterator parentIter, LayoutContext layoutContext)(Code)

See Also:   org.apache.fop.layoutmgr.LayoutManager.addAreas(org.apache.fop.layoutmgr.PositionIteratororg.apache.fop.layoutmgr.LayoutContext)



addChildArea
public void addChildArea(Area childArea)(Code)

See Also:   org.apache.fop.layoutmgr.LayoutManager.addChildArea(Area)



createNextChildLMs
public boolean createNextChildLMs(int pos)(Code)

See Also:   org.apache.fop.layoutmgr.LayoutManager.createNextChildLMs



flush
protected void flush()(Code)
Force current area to be added to parent area.
See Also:   org.apache.fop.layoutmgr.BlockStackingLayoutManager.flush



getBlockFO
protected org.apache.fop.fo.flow.Block getBlockFO()(Code)
convenience method that returns the Block node the block node



getContentAreaBPD
public int getContentAreaBPD()(Code)
Returns the BPD of the content area the BPD of the content area



getContentAreaIPD
public int getContentAreaIPD()(Code)
Returns the IPD of the content area the IPD of the content area



getGeneratesBlockArea
public boolean getGeneratesBlockArea()(Code)

See Also:   org.apache.fop.layoutmgr.LayoutManager.getGeneratesBlockArea



getNextKnuthElements
public LinkedList getNextKnuthElements(LayoutContext context, int alignment)(Code)

See Also:   org.apache.fop.layoutmgr.BlockStackingLayoutManager
See Also:   



getParentArea
public Area getParentArea(Area childArea)(Code)
Return an Area which can contain the passed childArea. The childArea may not yet have any content, but it has essential traits set. In general, if the LayoutManager already has an Area it simply returns it. Otherwise, it makes a new Area of the appropriate class. It gets a parent area for its area by calling its parent LM. Finally, based on the dimensions of the parent area, it initializes its own area. This includes setting the content IPD and the maximum BPD.
Parameters:
  childArea - area to get the parent area for the parent area



initialize
public void initialize()(Code)



mustKeepTogether
public boolean mustKeepTogether()(Code)

See Also:   org.apache.fop.layoutmgr.BlockLevelLayoutManager.mustKeepTogether



mustKeepWithNext
public boolean mustKeepWithNext()(Code)

See Also:   org.apache.fop.layoutmgr.BlockLevelLayoutManager.mustKeepWithNext



mustKeepWithPrevious
public boolean mustKeepWithPrevious()(Code)

See Also:   org.apache.fop.layoutmgr.BlockLevelLayoutManager.mustKeepWithPrevious



notifyBorder
public void notifyBorder(RelSide side, MinOptMax effectiveLength)(Code)

See Also:   org.apache.fop.layoutmgr.ConditionalElementListener
See Also:   



notifyPadding
public void notifyPadding(RelSide side, MinOptMax effectiveLength)(Code)

See Also:   org.apache.fop.layoutmgr.ConditionalElementListener
See Also:   



notifySpace
public void notifySpace(RelSide side, MinOptMax effectiveLength)(Code)

See Also:   org.apache.fop.layoutmgr.ConditionalElementListener
See Also:   



resetPosition
public void resetPosition(Position resetPos)(Code)

See Also:   org.apache.fop.layoutmgr.LayoutManager.resetPosition(org.apache.fop.layoutmgr.Position)



Fields inherited from org.apache.fop.layoutmgr.BlockStackingLayoutManager
protected int adjustedSpaceAfter(Code)(Java Doc)
protected int adjustedSpaceBefore(Code)(Java Doc)
protected int bpUnit(Code)(Java Doc)
protected boolean breakBeforeServed(Code)(Java Doc)
protected int endIndent(Code)(Java Doc)
protected boolean firstVisibleMarkServed(Code)(Java Doc)
protected MinOptMax foSpaceAfter(Code)(Java Doc)
protected MinOptMax foSpaceBefore(Code)(Java Doc)
protected BlockParent parentArea(Code)(Java Doc)
protected int referenceIPD(Code)(Java Doc)
protected int startIndent(Code)(Java Doc)
protected LinkedList storedList(Code)(Java Doc)

Methods inherited from org.apache.fop.layoutmgr.BlockStackingLayoutManager
public void addBlockSpacing(double adjust, MinOptMax minoptmax)(Code)(Java Doc)
public void addChildArea(Area childArea)(Code)(Java Doc)
protected void addChildToArea(Area childArea, BlockParent parentArea)(Code)(Java Doc)
protected void addKnuthElementsForBorderPaddingAfter(LinkedList returnList, boolean isLast)(Code)(Java Doc)
protected void addKnuthElementsForBorderPaddingBefore(LinkedList returnList, boolean isFirst)(Code)(Java Doc)
protected boolean addKnuthElementsForBreakAfter(LinkedList returnList, LayoutContext context)(Code)(Java Doc)
protected boolean addKnuthElementsForBreakBefore(LinkedList returnList, LayoutContext context)(Code)(Java Doc)
protected void addKnuthElementsForSpaceAfter(LinkedList returnList, int alignment)(Code)(Java Doc)
protected void addKnuthElementsForSpaceBefore(LinkedList returnList, int alignment)(Code)(Java Doc)
protected void addPendingMarks(LayoutContext context)(Code)(Java Doc)
protected LinkedList createUnitElements(LinkedList oldList)(Code)(Java Doc)
public void discardSpace(KnuthGlue spaceGlue)(Code)(Java Doc)
protected void flush()(Code)(Java Doc)
protected Position getAuxiliaryPosition()(Code)(Java Doc)
public LinkedList getChangedKnuthElements(List oldList, int alignment)(Code)(Java Doc)
public int getContentAreaBPD()(Code)(Java Doc)
public int getContentAreaIPD()(Code)(Java Doc)
protected BlockParent getCurrentArea()(Code)(Java Doc)
protected int getIPIndents()(Code)(Java Doc)
public LinkedList getNextKnuthElements(LayoutContext context, int alignment)(Code)(Java Doc)
public boolean mustKeepTogether()(Code)(Java Doc)
public boolean mustKeepWithNext()(Code)(Java Doc)
public boolean mustKeepWithPrevious()(Code)(Java Doc)
protected int neededUnits(int len)(Code)(Java Doc)
public int negotiateBPDAdjustment(int adj, KnuthElement lastElement)(Code)(Java Doc)
protected void setContentAreaIPD(int contentAreaIPD)(Code)(Java Doc)
protected void setCurrentArea(BlockParent parentArea)(Code)(Java Doc)
protected int updateContentAreaIPDwithOverconstrainedAdjust()(Code)(Java Doc)
protected int updateContentAreaIPDwithOverconstrainedAdjust(int contentIPD)(Code)(Java Doc)
protected void wrapPositionElements(List sourceList, List targetList)(Code)(Java Doc)
protected void wrapPositionElements(List sourceList, List targetList, boolean force)(Code)(Java Doc)

Fields inherited from org.apache.fop.layoutmgr.AbstractLayoutManager
protected ListIterator childLMiter(Code)(Java Doc)
protected List childLMs(Code)(Java Doc)
protected LayoutManager curChildLM(Code)(Java Doc)
protected ListIterator fobjIter(Code)(Java Doc)
protected Map markers(Code)(Java Doc)
protected LayoutManager parentLM(Code)(Java Doc)

Methods inherited from org.apache.fop.layoutmgr.AbstractLayoutManager
public void addAreas(PositionIterator posIter, LayoutContext context)(Code)(Java Doc)
public void addChildArea(Area childArea)(Code)(Java Doc)
public void addChildLM(LayoutManager lm)(Code)(Java Doc)
public void addChildLMs(List newLMs)(Code)(Java Doc)
protected List createChildLMs(int size)(Code)(Java Doc)
public boolean createNextChildLMs(int pos)(Code)(Java Doc)
public LinkedList getChangedKnuthElements(List oldList, int alignment)(Code)(Java Doc)
protected LayoutManager getChildLM()(Code)(Java Doc)
public List getChildLMs()(Code)(Java Doc)
public PageViewport getCurrentPV()(Code)(Java Doc)
public Page getCurrentPage()(Code)(Java Doc)
public LinkedList getNextKnuthElements(LayoutContext context, int alignment)(Code)(Java Doc)
public PageSequenceLayoutManager getPSLM()(Code)(Java Doc)
public LayoutManager getParent()(Code)(Java Doc)
public Area getParentArea(Area childArea)(Code)(Java Doc)
protected boolean hasNextChildLM()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public boolean isFinished()(Code)(Java Doc)
public boolean isFirst(Position pos)(Code)(Java Doc)
public boolean isLast(Position pos)(Code)(Java Doc)
public Position notifyPos(Position pos)(Code)(Java Doc)
protected void reset(org.apache.fop.layoutmgr.Position pos)(Code)(Java Doc)
public void resetPosition(Position resetPos)(Code)(Java Doc)
public void setFinished(boolean fin)(Code)(Java Doc)
public void setParent(LayoutManager lm)(Code)(Java Doc)
protected void transferForeignAttributes(Area targetArea)(Code)(Java Doc)

Fields inherited from org.apache.fop.layoutmgr.AbstractBaseLayoutManager
protected FObj fobj(Code)(Java Doc)
protected boolean generatesBlockArea(Code)(Java Doc)
protected boolean generatesReferenceArea(Code)(Java Doc)

Methods inherited from org.apache.fop.layoutmgr.AbstractBaseLayoutManager
protected int getAncestorBlockAreaBPD()(Code)(Java Doc)
protected int getAncestorBlockAreaIPD()(Code)(Java Doc)
public int getBaseLength(int lengthBase, FObj fobj)(Code)(Java Doc)
public int getContentAreaBPD()(Code)(Java Doc)
public int getContentAreaIPD()(Code)(Java Doc)
public FObj getFObj()(Code)(Java Doc)
public boolean getGeneratesBlockArea()(Code)(Java Doc)
public boolean getGeneratesLineArea()(Code)(Java Doc)
public boolean getGeneratesReferenceArea()(Code)(Java Doc)
protected int getParentAreaBPD()(Code)(Java Doc)
protected int getParentAreaIPD()(Code)(Java Doc)
protected int getReferenceAreaBPD()(Code)(Java Doc)
public int getReferenceAreaIPD()(Code)(Java Doc)
protected void setGeneratesBlockArea(boolean generatesBlockArea)(Code)(Java Doc)
protected void setGeneratesReferenceArea(boolean generatesReferenceArea)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.