|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.pretty.FieldSize
public class FieldSize
Stores the size of a field
| Constructor Summary | |
|---|---|
FieldSize()
Constructor for the FieldSize object |
|
| Method Summary | |
|---|---|
int |
getEqualsLength()
Gets the EqualsLength attribute of the FieldSize object |
int |
getModifierLength()
Gets the ModifierLength attribute of the FieldSizeFieldSize object |
int |
getNameLength()
Gets the NameLength attribute of the FieldSizeFieldSize object |
int |
getTypeLength()
Gets the TypeLength attribute of the FieldSizeFieldSize object |
void |
setMinimumEquals(int value)
Sets the MinimumEquals attribute of the FieldSize object |
void |
setModifierLength(int value)
Sets the ModifierLength attribute of the FieldSizeFieldSize object |
void |
setNameLength(int value)
Sets the NameLength attribute of the FieldSizeFieldSize object |
void |
setTypeLength(int value)
Sets the TypeLength attribute of the FieldSizeFieldSize object |
java.lang.String |
toString()
Converts this object into a string |
void |
update(int value)
Adds the amount of space that is necessary for the pretty printer to add extra spaces for each of the values in a field or local variable declaration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldSize()
| Method Detail |
|---|
public void setModifierLength(int value)
value - The new ModifierLength valuepublic void setTypeLength(int value)
value - The new TypeLength valuepublic void setNameLength(int value)
value - The new NameLength valuepublic void setMinimumEquals(int value)
value - The new MinimumEquals valuepublic int getModifierLength()
public int getTypeLength()
public int getNameLength()
public int getEqualsLength()
public void update(int value)
value - The amount of space to addpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||