| |
|
| java.lang.Object org.acm.seguin.pretty.FieldSize
FieldSize | public class FieldSize (Code) | | Stores the size of a field
author: Chris Seguin |
FieldSize | public FieldSize()(Code) | | Constructor for the FieldSize object
|
getEqualsLength | public int getEqualsLength()(Code) | | Gets the EqualsLength attribute of the FieldSize object
The EqualsLength value |
getModifierLength | public int getModifierLength()(Code) | | Gets the ModifierLength attribute of the FieldSizeFieldSize object
The ModifierLength value |
getNameLength | public int getNameLength()(Code) | | Gets the NameLength attribute of the FieldSizeFieldSize object
The NameLength value |
getTypeLength | public int getTypeLength()(Code) | | Gets the TypeLength attribute of the FieldSizeFieldSize object
The TypeLength value |
setMinimumEquals | public void setMinimumEquals(int value)(Code) | | Sets the MinimumEquals attribute of the FieldSize object
Parameters: value - The new MinimumEquals value |
setModifierLength | public void setModifierLength(int value)(Code) | | Sets the ModifierLength attribute of the FieldSizeFieldSize object
Parameters: value - The new ModifierLength value |
setNameLength | public void setNameLength(int value)(Code) | | Sets the NameLength attribute of the FieldSizeFieldSize object
Parameters: value - The new NameLength value |
setTypeLength | public void setTypeLength(int value)(Code) | | Sets the TypeLength attribute of the FieldSizeFieldSize object
Parameters: value - The new TypeLength value |
toString | public String toString()(Code) | | Converts this object into a string
a string |
update | public void update(int value)(Code) | | 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.
Parameters: value - The amount of space to add |
|
|
|