Class Spacing
java.lang.Object
EDU.purdue.jtb.common.Spacing
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe indentation levelThe indentation string -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
spc
The indentation string -
indentLevel
public int indentLevelThe indentation level
-
-
Constructor Details
-
Spacing
public Spacing(int aIndentAmt) Constructor.- Parameters:
aIndentAmt- - the indentation amount
-
-
Method Details
-
toString
-
updateSpc
public void updateSpc(int numIndentLvls) Updates the indentation.- Parameters:
numIndentLvls- - the (positive or negative) indentation level delta.
-