aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2005-06-07 20:43:43 +0000
committerGlen Mazza <gmazza@apache.org>2005-06-07 20:43:43 +0000
commit406a8a8740878508267a4a3f0f0fac589cc0a162 (patch)
treefdf9537dbeb0f05342fa7b8a2a8f6eb514bc2a5f /src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
parent66e799c10bce09ccf2ced5962854da3fc92226f5 (diff)
downloadxmlgraphics-fop-406a8a8740878508267a4a3f0f0fac589cc0a162.tar.gz
xmlgraphics-fop-406a8a8740878508267a4a3f0f0fac589cc0a162.zip
Removed LM.initialize() -- switched to internal initialization of all LM's.
Did initialization from constructor, as that appeared sufficient for all of them. Should for any LM, initialization not be available until the parentLM set, then we just need to do this process within a setParent() override. Also removed calls to superclass initialization, because as yet no initialization was occurring in those superclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
index d44d5fd4e..d8cb02f26 100644
--- a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
@@ -45,7 +45,6 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants
/** True if this LayoutManager has handled all of its content. */
private boolean bFinished = false;
- protected boolean bInited = false;
/** child LM and child LM iterator during getNextBreakPoss phase */
protected LayoutManager curChildLM = null;
@@ -76,24 +75,6 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants
childLMiter = new LMiter(this);
}
- /**
- * This method provides a hook for a LayoutManager to initialize traits
- * for the areas it will create, based on Properties set on its FO.
- */
- public void initialize() {
- if (bInited == false) {
- initProperties();
- bInited = true;
- }
- }
-
- /**
- * This method is called by initialize() to set any method variables
- * based on Properties set on its FO.
- */
- protected void initProperties() {
- }
-
public void setParent(LayoutManager lm) {
this.parentLM = lm;
}
@@ -337,7 +318,6 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants
return;
}
lm.setParent(this);
- lm.initialize();
if (childLMs == null) {
childLMs = new java.util.ArrayList(10);
}