789 }
790
791
792 // --- variables -----------------------------------------------
793
794 private int justification;
795 private float lineSpacing;
796 /** Indentation for the first line, from the left inset. */
797 protected int firstLineIndent = 0;
798
799 /**
800 * Used by the TabExpander functionality to determine
801 * where to base the tab calculations. This is basically
802 * the location of the left side of the paragraph.
803 */
804 private int tabBase;
805
806 /**
807 * Used to create an i18n-based layout strategy
808 */
809 static Class i18nStrategy;
810
811 /** Used for searching for a tab. */
812 static char[] tabChars;
813 /** Used for searching for a tab or decimal character. */
814 static char[] tabDecimalChars;
815
816 static {
817 tabChars = new char[1];
818 tabChars[0] = '\t';
819 tabDecimalChars = new char[2];
820 tabDecimalChars[0] = '\t';
821 tabDecimalChars[1] = '.';
822 }
823
824 /**
825 * Internally created view that has the purpose of holding
826 * the views that represent the children of the paragraph
827 * that have been arranged in rows.
828 */
829 class Row extends BoxView {
|
789 }
790
791
792 // --- variables -----------------------------------------------
793
794 private int justification;
795 private float lineSpacing;
796 /** Indentation for the first line, from the left inset. */
797 protected int firstLineIndent = 0;
798
799 /**
800 * Used by the TabExpander functionality to determine
801 * where to base the tab calculations. This is basically
802 * the location of the left side of the paragraph.
803 */
804 private int tabBase;
805
806 /**
807 * Used to create an i18n-based layout strategy
808 */
809 static Class<?> i18nStrategy;
810
811 /** Used for searching for a tab. */
812 static char[] tabChars;
813 /** Used for searching for a tab or decimal character. */
814 static char[] tabDecimalChars;
815
816 static {
817 tabChars = new char[1];
818 tabChars[0] = '\t';
819 tabDecimalChars = new char[2];
820 tabDecimalChars[0] = '\t';
821 tabDecimalChars[1] = '.';
822 }
823
824 /**
825 * Internally created view that has the purpose of holding
826 * the views that represent the children of the paragraph
827 * that have been arranged in rows.
828 */
829 class Row extends BoxView {
|