public class FormFieldLayoutConfiguration
extends java.lang.Object
Constructor and Description |
---|
FormFieldLayoutConfiguration() |
FormFieldLayoutConfiguration(java.lang.String text) |
FormFieldLayoutConfiguration(java.lang.String text,
int fieldWidth) |
FormFieldLayoutConfiguration(java.lang.String text,
int fieldWidth,
double fieldHeight) |
Modifier and Type | Method and Description |
---|---|
static FormFieldLayoutConfiguration |
from(java.lang.String text,
FormFieldLayoutConfiguration config) |
double |
getFieldHeight() |
double |
getFieldWidth() |
LabelAlign |
getLabelAlign() |
SafeHtml |
getLabelHtml() |
java.lang.String |
getLabelText() |
int |
getLabelWidth() |
MarginData |
getMarginData() |
boolean |
isHasLabel() |
void |
setFieldHeight(double fieldHeight) |
void |
setFieldWidth(double fieldWidth) |
void |
setHasLabel(boolean hasLabel) |
void |
setLabelAlign(LabelAlign labelAlign) |
void |
setLabelHtml(SafeHtml labelHtml) |
void |
setLabelText(java.lang.String labelText) |
void |
setLabelWidth(int labelWidth) |
void |
setMarginData(MarginData marginData) |
public FormFieldLayoutConfiguration()
public FormFieldLayoutConfiguration(java.lang.String text)
public FormFieldLayoutConfiguration(java.lang.String text, int fieldWidth)
public FormFieldLayoutConfiguration(java.lang.String text, int fieldWidth, double fieldHeight)
public static FormFieldLayoutConfiguration from(java.lang.String text, FormFieldLayoutConfiguration config)
public int getLabelWidth()
public void setLabelWidth(int labelWidth)
public LabelAlign getLabelAlign()
public void setLabelAlign(LabelAlign labelAlign)
public void setFieldWidth(double fieldWidth)
public double getFieldWidth()
public void setLabelText(java.lang.String labelText)
public java.lang.String getLabelText()
public void setLabelHtml(SafeHtml labelHtml)
public SafeHtml getLabelHtml()
public void setFieldHeight(double fieldHeight)
public double getFieldHeight()
public void setHasLabel(boolean hasLabel)
public boolean isHasLabel()
public void setMarginData(MarginData marginData)
public MarginData getMarginData()