public class LabelSpacing
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
labelWidth |
int |
preSpacing |
Constructor and Description |
---|
LabelSpacing() |
Modifier and Type | Method and Description |
---|---|
boolean |
expand(LabelSpacing spacing)
Sets this spacing so that both labelWidth and and preSpacing are at least
as large as those of a supplied spacing, and returns true if either field
was changed.
|
boolean |
isEqual(LabelSpacing spacing) |
void |
set(int labelWidth,
int preSpacing) |
void |
set(LabelSpacing spacing) |
java.lang.String |
toString() |
public void set(LabelSpacing spacing)
public void set(int labelWidth, int preSpacing)
public boolean expand(LabelSpacing spacing)
public boolean isEqual(LabelSpacing spacing)
public java.lang.String toString()
toString
in class java.lang.Object