[FOray-commit] SF.net SVN: foray: [7909] trunk/foray/foray-text/src/java/org/foray/text/ line
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-05 02:58:26
|
Revision: 7909
http://svn.sourceforge.net/foray/?rev=7909&view=rev
Author: victormote
Date: 2006-09-04 19:58:22 -0700 (Mon, 04 Sep 2006)
Log Message:
-----------
Conform to standard class-ordering scheme, as reported by checkstyle.
Modified Paths:
--------------
trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java
trunk/foray/foray-text/src/java/org/foray/text/line/solitary/SolitaryLineBreaker.java
Modified: trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java
===================================================================
--- trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java 2006-09-05 02:18:48 UTC (rev 7908)
+++ trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java 2006-09-05 02:58:22 UTC (rev 7909)
@@ -67,7 +67,7 @@
* Provides the line-breaking system with the FontConsumer instance that
* should be used for interfacing with the Font subsystem.
*/
- FontConsumer fontConsumer;
+ protected FontConsumer fontConsumer;
protected LineOutput currentOutput;
@@ -88,13 +88,13 @@
* application is responsible to provide these values, but they are stored
* here for reference.
*/
- LineOutput[] outputLines = new LineOutput[LINE_COUNT_INCREMENT];
+ protected LineOutput[] outputLines = new LineOutput[LINE_COUNT_INCREMENT];
/**
* Index into {@link #outputLines} indicating which one was last requested
* and filled.
*/
- int lastLineRequested = -1;
+ protected int lastLineRequested = -1;
/**
* Index into {@link #outputLines} indicating which line is currently being
Modified: trunk/foray/foray-text/src/java/org/foray/text/line/solitary/SolitaryLineBreaker.java
===================================================================
--- trunk/foray/foray-text/src/java/org/foray/text/line/solitary/SolitaryLineBreaker.java 2006-09-05 02:18:48 UTC (rev 7908)
+++ trunk/foray/foray-text/src/java/org/foray/text/line/solitary/SolitaryLineBreaker.java 2006-09-05 02:58:22 UTC (rev 7909)
@@ -64,18 +64,18 @@
protected static final byte TEXT = 2;
/**
+ * The width, in millipoints, of the content that has definitely made it
+ * onto the line.
+ */
+ protected int finalWidth = 0;
+
+ /**
* One of {@link #NOTHING}, {@link #CONNECTOR}, or {@link #TEXT},
* indicating the class of the previous character.
*/
private byte previousCharacter = NOTHING;
/**
- * The width, in millipoints, of the content that has definitely made it
- * onto the line.
- */
- protected int finalWidth = 0;
-
- /**
* The accumulated width, in millipoints, of whitespace before the current
* word.
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|