Interface FieldLayout
- All Superinterfaces:
BackgroundStyleProperties,BorderStyleProperties,Layout
public interface FieldLayout extends Layout, BorderStyleProperties, BackgroundStyleProperties
- Since:
- V4.4
- See Also:
LayoutControl.getLayout()
-
Method Summary
Modifier and Type Method Description java.lang.StringgetCellPadding()Space between adjacent table cells.java.lang.StringgetCellSpacing()Space between adjacent table cells.BackgroundStylePropertiesgetEditorBackground()Background properties for editor table cells - used when displaying Field Controls.java.lang.StringgetEditorCellClass()Returns the list of CSS classes configured for editor table cells when displaying a Field Control.java.lang.StringgetEditorCellStyle()Returns the inline CSS style to be applied to editor table cells when displaying a Field Control.java.lang.StringgetEditorHAlign()Horizontal alignment of editor table cells - this is used when displaying Field Controls.PaddingStylePropertiesgetEditorPadding()Padding properties for editor table cells - used when displaying Field Controls.java.lang.StringgetEditorVAlign()Vertical alignment of editor table cells - this is used when displaying Field Controls.java.lang.StringgetEditorWidth()Width of editor table cells - this is used when displaying Field Controls.java.lang.StringgetFullWidthHAlign()Horizontal alignment of table cells when displaying controls other than a Field Control.PaddingStylePropertiesgetFullWidthPadding()Padding properties when displaying controls other than a Field Control.java.lang.StringgetFullWidthVAlign()Vertical alignment of table cells when displaying controls other than a Field Control.java.lang.StringgetHelpCellClass()Returns the list of CSS classes configured for help table cells when displaying a Field Control.java.lang.StringgetHelpCellStyle()Returns the inline CSS style to be applied to help table cells when displaying a Field Control.BackgroundStylePropertiesgetInfoBackground()Background properties for help table cells - used when displaying Field Controls.java.lang.StringgetInfoHAlign()Horizontal alignment of help table cells - this is used when displaying Field Controls.PaddingStylePropertiesgetInfoPadding()Padding properties for help table cells - used when displaying Field Controls.java.lang.StringgetInfoVAlign()Vertical alignment of help table cells - this is used when displaying Field Controls.java.lang.StringgetInfoWidth()Width of help table cells - this is used when displaying Field Controls.BackgroundStylePropertiesgetLabelBackground()Background properties for label table cells - used when displaying Field Controls.java.lang.StringgetLabelCellClass()Returns the list of CSS classes configured for label table cells when displaying a Field Control, or applied to the table cells containing other control types.java.lang.StringgetLabelCellStyle()Returns the inline CSS style to be applied to label table cells when displaying a Field Control, or applied to the table cells containing other control types.java.lang.StringgetLabelHAlign()Horizontal alignment of label table cells - this is used when displaying Field Controls.PaddingStylePropertiesgetLabelPadding()Padding properties for label table cells - used when displaying Field Controls.java.lang.StringgetLabelVAlign()Vertical alignment of label table cells - this is used when displaying Field Controls.java.lang.StringgetLabelWidth()Width of label table cells - this is used when displaying Field Controls.java.lang.StringgetTableClass()Returns the list of CSS classes configured for the HTML table used to provide the layout.java.lang.StringgetTableStyle()Returns the inline CSS style configured for the HTML table used to provide the layout.java.lang.StringgetVAlign()Vertical alignment for all child content - all child controls are aligned as a single block.voidsetCellPadding(java.lang.String cellPadding)Space between adjacent table cells.voidsetCellSpacing(java.lang.String cellSpacing)Space between adjacent table cells.voidsetEditorCellClass(java.lang.String editorCellClass)Sets one or more CSS classes to be applied to editor table cells when displaying a Field Control.voidsetEditorCellStyle(java.lang.String editorCellStyle)Sets the inline CSS style to be applied to editor table cells when displaying a Field Control.voidsetEditorHAlign(java.lang.String editorHAlign)Sets horizontal alignment of editor table cells - this is used when displaying Field Controls.voidsetEditorVAlign(java.lang.String editorVAlign)Sets vertical alignment of editor table cells - this is used when displaying Field Controls.voidsetEditorWidth(java.lang.String editorWidth)Sets the width of editor table cells - this is used when displaying Field Controls.voidsetFullWidthHAlign(java.lang.String fullWidthHAlign)Sets horizontal alignment of table cells when displaying controls other than a Field Control.voidsetFullWidthVAlign(java.lang.String fullWidthVAlign)Sets vertical alignment of table cells when displaying controls other than a Field Control.voidsetHelpCellClass(java.lang.String helpCellClass)Sets one or more CSS classes to be applied to editor table cells when displaying a Field Control.voidsetHelpCellStyle(java.lang.String helpCellStyle)Sets the inline CSS style to be applied to help table cells when displaying a Field Control.voidsetInfoHAlign(java.lang.String infoHAlign)Sets horizontal alignment of help table cells - this is used when displaying Field Controls.voidsetInfoVAlign(java.lang.String infoVAlign)Sets vertical alignment of help table cells - this is used when displaying Field Controls.voidsetInfoWidth(java.lang.String infoWidth)Sets the width of help table cells - this is used when displaying Field Controls.voidsetLabelCellClass(java.lang.String labelCellClass)Sets one or more CSS classes to be applied to label table cells when displaying a Field Control, or applied to the table cells containing other control types.voidsetLabelCellStyle(java.lang.String labelCellStyle)Sets the inline CSS style to be applied to label table cells when displaying a Field Control, or applied to the table cells containing other control types.voidsetLabelHAlign(java.lang.String labelHAlign)Sets horizontal alignment of label table cells - this is used when displaying Field Controls.voidsetLabelVAlign(java.lang.String labelVAlign)Sets vertical alignment of label table cells - this is used when displaying Field Controls.voidsetLabelWidth(java.lang.String labelWidth)Sets the width of label table cells - this is used when displaying Field Controls.voidsetTableClass(java.lang.String tableClass)Sets one or more CSS classes to be applied to the HTML table used to provide the layout.voidsetTableStyle(java.lang.String tableStyle)Sets the inline CSS style to be applied to the HTML table used to provide the layout.voidsetVAlign(java.lang.String vAlign)Sets the Vertical alignment for all child content where all child controls are aligned as a single block, e.g.Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStyleProperties
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatMethods inherited from interface com.ebasetech.xi.api.controls.BorderStyleProperties
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidth
-
Method Details
-
getVAlign
java.lang.String getVAlign()Vertical alignment for all child content - all child controls are aligned as a single block. SeesetVAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setVAlign
void setVAlign(java.lang.String vAlign)Sets the Vertical alignment for all child content where all child controls are aligned as a single block, e.g. setting this property to center will place all controls as a block in the center of the container's vertical space. This property is only effective when the container is tall enough to accommodate vertical repositioning of its children e.g. the height has been set explicitly using the container's height property.Supported values:
Value Constant Center ControlConstants.VERTICAL_ALIGNMENT_CENTER Top ControlConstants.VERTICAL_ALIGNMENT_TOP Bottom ControlConstants.VERTICAL_ALIGNMENT_BOTTOM Fill ControlConstants.VERTICAL_ALIGNMENT_FILL Setting a value of
nullremoves any existing value for the property.Example:
controls.PANEL1.layout.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_CENTER);
- Since:
- V4.4
-
getCellSpacing
java.lang.String getCellSpacing()Space between adjacent table cells. This sets the cellspacing property on the HTML table implementing the layout and results in both horizontal and vertical spacing. SeesetCellSpacing(String)for details of supported values when setting this property.- Since:
- V4.4
-
setCellSpacing
void setCellSpacing(java.lang.String cellSpacing)Space between adjacent table cells. This sets the cellspacing property on the HTML table implementing the layout and results in both horizontal and vertical spacing. Any value supported by the CSS width property can be used e.g. 5px.- Since:
- V4.4
-
getCellPadding
java.lang.String getCellPadding()Space between adjacent table cells. This sets the cellpadding property on the HTML table implementing the layout and results in both horizontal and vertical spacing. SeesetCellPadding(String)for details of supported values when setting this property.- Since:
- V4.4
-
setCellPadding
void setCellPadding(java.lang.String cellPadding)Space between adjacent table cells. This sets the cellpadding property on the HTML table implementing the layout and results in both horizontal and vertical spacing. Any value supported by the CSS width property can be used e.g. 5px.- Since:
- V4.4
-
getLabelWidth
java.lang.String getLabelWidth()Width of label table cells - this is used when displaying Field Controls. SeesetLabelWidth(String)for details of supported values when setting this property.- Since:
- V4.4
-
setLabelWidth
void setLabelWidth(java.lang.String labelWidth)Sets the width of label table cells - this is used when displaying Field Controls. Any value supported by the CSS width property can be used e.g. 30%.- Since:
- V4.4
-
getEditorWidth
java.lang.String getEditorWidth()Width of editor table cells - this is used when displaying Field Controls. SeesetEditorWidth(String)for details of supported values when setting this property.- Since:
- V4.4
-
setEditorWidth
void setEditorWidth(java.lang.String editorWidth)Sets the width of editor table cells - this is used when displaying Field Controls. Any value supported by the CSS width property can be used e.g. 30%.- Since:
- V4.4
-
getInfoWidth
java.lang.String getInfoWidth()Width of help table cells - this is used when displaying Field Controls. SeesetInfoWidth(String)for details of supported values when setting this property.- Since:
- V4.4
-
setInfoWidth
void setInfoWidth(java.lang.String infoWidth)Sets the width of help table cells - this is used when displaying Field Controls. Any value supported by the CSS width property can be used e.g. 30%.- Since:
- V4.4
-
getLabelBackground
BackgroundStyleProperties getLabelBackground()Background properties for label table cells - used when displaying Field Controls.- Since:
- V4.4
-
getEditorBackground
BackgroundStyleProperties getEditorBackground()Background properties for editor table cells - used when displaying Field Controls.- Since:
- V4.4
-
getInfoBackground
BackgroundStyleProperties getInfoBackground()Background properties for help table cells - used when displaying Field Controls.- Since:
- V4.4
-
getLabelHAlign
java.lang.String getLabelHAlign()Horizontal alignment of label table cells - this is used when displaying Field Controls. SeesetLabelHAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setLabelHAlign
void setLabelHAlign(java.lang.String labelHAlign)Sets horizontal alignment of label table cells - this is used when displaying Field Controls.Supported values:
Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT - Since:
- V4.4
-
getEditorHAlign
java.lang.String getEditorHAlign()Horizontal alignment of editor table cells - this is used when displaying Field Controls. SeesetEditorHAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setEditorHAlign
void setEditorHAlign(java.lang.String editorHAlign)Sets horizontal alignment of editor table cells - this is used when displaying Field Controls.Supported values:
Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT - Since:
- V4.4
-
getInfoHAlign
java.lang.String getInfoHAlign()Horizontal alignment of help table cells - this is used when displaying Field Controls. SeesetInfoHAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setInfoHAlign
void setInfoHAlign(java.lang.String infoHAlign)Sets horizontal alignment of help table cells - this is used when displaying Field Controls.Supported values:
Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT - Since:
- V4.4
-
getFullWidthHAlign
java.lang.String getFullWidthHAlign()Horizontal alignment of table cells when displaying controls other than a Field Control. SeesetFullWidthHAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setFullWidthHAlign
void setFullWidthHAlign(java.lang.String fullWidthHAlign)Sets horizontal alignment of table cells when displaying controls other than a Field Control.Supported values:
Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT - Since:
- V4.4
-
getLabelVAlign
java.lang.String getLabelVAlign()Vertical alignment of label table cells - this is used when displaying Field Controls. SeesetLabelVAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setLabelVAlign
void setLabelVAlign(java.lang.String labelVAlign)Sets vertical alignment of label table cells - this is used when displaying Field Controls.Supported values:
Value Constant Center ControlConstants.VERTICAL_ALIGNMENT_CENTER Top ControlConstants.VERTICAL_ALIGNMENT_TOP Bottom ControlConstants.VERTICAL_ALIGNMENT_BOTTOM - Since:
- V4.4
-
getEditorVAlign
java.lang.String getEditorVAlign()Vertical alignment of editor table cells - this is used when displaying Field Controls. SeesetEditorVAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setEditorVAlign
void setEditorVAlign(java.lang.String editorVAlign)Sets vertical alignment of editor table cells - this is used when displaying Field Controls.Supported values:
Value Constant Center ControlConstants.VERTICAL_ALIGNMENT_CENTER Top ControlConstants.VERTICAL_ALIGNMENT_TOP Bottom ControlConstants.VERTICAL_ALIGNMENT_BOTTOM - Since:
- V4.4
-
getInfoVAlign
java.lang.String getInfoVAlign()Vertical alignment of help table cells - this is used when displaying Field Controls. SeesetInfoVAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setInfoVAlign
void setInfoVAlign(java.lang.String infoVAlign)Sets vertical alignment of help table cells - this is used when displaying Field Controls.Supported values:
Value Constant Center ControlConstants.VERTICAL_ALIGNMENT_CENTER Top ControlConstants.VERTICAL_ALIGNMENT_TOP Bottom ControlConstants.VERTICAL_ALIGNMENT_BOTTOM - Since:
- V4.4
-
getFullWidthVAlign
java.lang.String getFullWidthVAlign()Vertical alignment of table cells when displaying controls other than a Field Control. SeesetFullWidthVAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setFullWidthVAlign
void setFullWidthVAlign(java.lang.String fullWidthVAlign)Sets vertical alignment of table cells when displaying controls other than a Field Control.Supported values:
Value Constant Center ControlConstants.VERTICAL_ALIGNMENT_CENTER Top ControlConstants.VERTICAL_ALIGNMENT_TOP Bottom ControlConstants.VERTICAL_ALIGNMENT_BOTTOM - Since:
- V4.4
-
getLabelPadding
PaddingStyleProperties getLabelPadding()Padding properties for label table cells - used when displaying Field Controls.- Since:
- V4.4
-
getEditorPadding
PaddingStyleProperties getEditorPadding()Padding properties for editor table cells - used when displaying Field Controls.- Since:
- V4.4
-
getInfoPadding
PaddingStyleProperties getInfoPadding()Padding properties for help table cells - used when displaying Field Controls.- Since:
- V4.4
-
getFullWidthPadding
PaddingStyleProperties getFullWidthPadding()Padding properties when displaying controls other than a Field Control.- Since:
- V4.4
-
getTableClass
java.lang.String getTableClass()Returns the list of CSS classes configured for the HTML table used to provide the layout.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setTableClass(String)
-
setTableClass
void setTableClass(java.lang.String tableClass)Sets one or more CSS classes to be applied to the HTML table used to provide the layout. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getTableStyle
java.lang.String getTableStyle()Returns the inline CSS style configured for the HTML table used to provide the layout.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setTableStyle(String)
-
setTableStyle
void setTableStyle(java.lang.String tableStyle)Sets the inline CSS style to be applied to the HTML table used to provide the layout. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getLabelCellClass
java.lang.String getLabelCellClass()Returns the list of CSS classes configured for label table cells when displaying a Field Control, or applied to the table cells containing other control types. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setLabelCellClass(String)
-
setLabelCellClass
void setLabelCellClass(java.lang.String labelCellClass)Sets one or more CSS classes to be applied to label table cells when displaying a Field Control, or applied to the table cells containing other control types. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getLabelCellStyle
java.lang.String getLabelCellStyle()Returns the inline CSS style to be applied to label table cells when displaying a Field Control, or applied to the table cells containing other control types.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setLabelCellStyle(String)
-
setLabelCellStyle
void setLabelCellStyle(java.lang.String labelCellStyle)Sets the inline CSS style to be applied to label table cells when displaying a Field Control, or applied to the table cells containing other control types. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getEditorCellClass
java.lang.String getEditorCellClass()Returns the list of CSS classes configured for editor table cells when displaying a Field Control. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setEditorCellClass(String)
-
setEditorCellClass
void setEditorCellClass(java.lang.String editorCellClass)Sets one or more CSS classes to be applied to editor table cells when displaying a Field Control. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getEditorCellStyle
java.lang.String getEditorCellStyle()Returns the inline CSS style to be applied to editor table cells when displaying a Field Control.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setEditorCellStyle(String)
-
setEditorCellStyle
void setEditorCellStyle(java.lang.String editorCellStyle)Sets the inline CSS style to be applied to editor table cells when displaying a Field Control. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getHelpCellClass
java.lang.String getHelpCellClass()Returns the list of CSS classes configured for help table cells when displaying a Field Control. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setHelpCellClass(String)
-
setHelpCellClass
void setHelpCellClass(java.lang.String helpCellClass)Sets one or more CSS classes to be applied to editor table cells when displaying a Field Control. Multiple classes are specified by using a space between the class names, as per the HTML class parameter.These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-
getHelpCellStyle
java.lang.String getHelpCellStyle()Returns the inline CSS style to be applied to help table cells when displaying a Field Control.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
- See Also:
setEditorCellStyle(String)
-
setHelpCellStyle
void setHelpCellStyle(java.lang.String helpCellStyle)Sets the inline CSS style to be applied to help table cells when displaying a Field Control. Style is entered as for the HTML style parameter.This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
- Since:
- V4.4
-