com.ebasetech.xi.api.controls
Interface RepeatingStyleProperties

All Superinterfaces:
BackgroundStyleProperties, BorderStyleProperties, MarginStyleProperties, PaddingStyleProperties, TextStyleProperties
All Known Subinterfaces:
RepeatingTableControl, RepeatingTableRowControl

public interface RepeatingStyleProperties
extends BorderStyleProperties, TextStyleProperties, PaddingStyleProperties, MarginStyleProperties, BackgroundStyleProperties

The RepeatingStyleProperties represents styling properties shared by both a Repeater Control and a Repeater Row Control.

Since:
V4.4

Method Summary
 java.lang.String getWidth()
          Returns the width.
 void setWidth(java.lang.String width)
          Sets the width.
 
Methods 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
 
Methods inherited from interface com.ebasetech.xi.api.controls.TextStyleProperties
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
 
Methods inherited from interface com.ebasetech.xi.api.controls.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
 
Methods inherited from interface com.ebasetech.xi.api.controls.MarginStyleProperties
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMargin
 
Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStyleProperties
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
 

Method Detail

getWidth

java.lang.String getWidth()
Returns the width. See setWidth(String) for details of supported values when setting this property.

Since:
V4.4

setWidth

void setWidth(java.lang.String width)
Sets the width.

Supported values:

ValueDescription
A specific valueAs per the CSS width property e.g. 300px
ChildThe minimum value: this results in the control being just as wide as it needs to be to accommodate its children.

The width setting will be ignored if the parent container layout specifies a horizontal cell alignment of fill (this applies to Horizontal Box, Vertical Box and Column layouts).

Warning: when a specific value is set, any padding, border or margins will be in addition to the specified value and can cause the control to "break out" of its parent space.

Examples:

 controls.REPEATER1.width = "300px";
 controls.REPEATER1.width = "50%";
 controls.REPEATER1.setWidth("Child");
 

Since:
V4.4