public class LabelFormat extends java.lang.Object implements java.lang.Comparable<LabelFormat>
Modifier and Type | Field and Description |
---|---|
double |
bottomMargin |
int |
colCount |
static java.util.Map<java.lang.String,LabelFormat> |
formatMap |
java.lang.String |
formatName |
double |
labelHeight |
double |
labelWidth |
double |
leftMargin |
double |
pageHeight |
double |
pageWidth |
double |
rightMargin |
int |
rowCount |
double |
spacingX |
double |
spacingY |
double |
topMargin |
Constructor and Description |
---|
LabelFormat() |
LabelFormat(RMLabels label) |
LabelFormat(java.lang.String name,
double labelWidth,
double labelHeight,
double spacingWidth,
double spacingHeight,
int rows,
int cols,
double width,
double height) |
LabelFormat(java.lang.String name,
double width,
double height,
double spacingWidth,
double spacingHeight,
int rows,
int cols,
double pageWidth,
double pageHeight,
double topMargin,
double leftMargin,
double bottomMargin,
double rightMargin)
Creates a new label format.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LabelFormat format) |
static java.util.Map<java.lang.String,LabelFormat> |
getFormatMap() |
static LabelFormat |
getLabelFormat(java.lang.String formatName) |
java.lang.String |
toString()
Returns string representation of label format (the format name).
|
public static final java.util.Map<java.lang.String,LabelFormat> formatMap
public double labelWidth
public double labelHeight
public double spacingX
public double spacingY
public double pageWidth
public double pageHeight
public double topMargin
public double leftMargin
public double bottomMargin
public double rightMargin
public int rowCount
public int colCount
public java.lang.String formatName
public LabelFormat(java.lang.String name, double width, double height, double spacingWidth, double spacingHeight, int rows, int cols, double pageWidth, double pageHeight, double topMargin, double leftMargin, double bottomMargin, double rightMargin)
public LabelFormat()
public LabelFormat(RMLabels label)
public LabelFormat(java.lang.String name, double labelWidth, double labelHeight, double spacingWidth, double spacingHeight, int rows, int cols, double width, double height)
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.Map<java.lang.String,LabelFormat> getFormatMap()
public static LabelFormat getLabelFormat(java.lang.String formatName)
public int compareTo(LabelFormat format)
compareTo
in interface java.lang.Comparable<LabelFormat>