public int backRepeat;
public Length backPosHorizontal;
public Length backPosVertical;
-
+
+ public String toString() {
+ return "CommonBackground:\n" +
+ "backAttachment = " + backAttachment + "; backColor = " +
+ ((backColor != null) ? backColor.toString() : "null") + "\n" +
+ "backImage = " + backImage + "; backRepeat = " + backRepeat + "\n" +
+ "backPosHorizontal = " + backPosHorizontal +
+ "; backPosVertical = " + backPosVertical + "\n";
+ }
}
return getPadding(TOP, bDiscard);
}
-
public int getBorderWidth(int side, boolean bDiscard) {
if ((borderInfo[side] == null)
|| (borderInfo[side].mStyle == Constants.NONE)
return padding[side].iLength;
}
}
-
+
+ public String toString() {
+ return "CommonBordersAndPadding (Before, After, Start, End):\n" +
+ "Borders: (" + getBorderTopWidth(false) + ", " + getBorderBottomWidth(false) + ", " +
+ getBorderLeftWidth(false) + ", " + getBorderRightWidth(false) + ")\n" +
+ "Border Colors: (" + getBorderColor(BEFORE) + ", " + getBorderColor(AFTER) + ", " +
+ getBorderColor(START) + ", " + getBorderColor(END) + ")\n" +
+ "Padding: (" + getPaddingTop(false) + ", " + getPaddingBottom(false) + ", " +
+ getPaddingLeft(false) + ", " + getPaddingRight(false) + ")\n";
+ }
}
// Parent span always overrides child span
bIsSpan = parentLP.bIsSpan;
}
+
+ public String toString() {
+ return "LayoutProps:\n" +
+ "breakBefore = " + breakBefore + "; breakAfter = " + breakAfter + "\n" +
+ "spaceBefore = " + ((spaceBefore != null) ? spaceBefore.toString() : "null") + "\n" +
+ "spaceAfter = " + ((spaceAfter != null) ? spaceAfter.toString() : "null") + "\n" +
+ "bIsSpan = " + bIsSpan + "\n";
+ }
}