Interface ISizeStyle<S extends ISizeStyle<S>>
- Type Parameters:
S- is the type of aISizeStyle.
- All Known Subinterfaces:
IAccordionStyle, IButtonStyle, ICheckboxStyle, IComponentStyle, IControlStyle<S>, IDropdownMenuStyle, IGridStyle, IHorizontalStackStyle, IImageControlStyle, IItemMenuStyle<S>, ILabelStyle, ILinearContainerStyle<S>, ILinkStyle, ISingleContainerStyle, ITabContainerStyle, ITextboxStyle, IUploaderStyle, IValidationLabelStyle, IVerticalStackStyle
- All Known Implementing Classes:
AbstractControlStyle, AbstractItemMenuStyle, AbstractLinearContainerStyle, ButtonStyle, ComponentStyle, DropdownMenuStyle, FloatContainerStyle, GridStyle, HorizontalStackStyle, ImageControlStyle, LabelStyle, LinkStyle, SingleContainerStyle, TextboxStyle, UploaderStyle, ValidationLabelStyle, VerticalStackStyle
public interface ISizeStyle<S extends ISizeStyle<S>>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleandefinesWidthForState(ControlState state) forStateSetHeight(ControlState state, int height) forStateSetHeightInPercentOfViewArea(ControlState state, double heightInPercentOfViewAreaHeight) forStateSetWidth(ControlState state, int width) forStateSetWidthInPercentOfViewAreaWidth(ControlState state, double widthInPercentOfViewAreaWidth) getHeightForState(ControlState state) getWidthForState(ControlState state) voidvoid
-
Method Details
-
definesHeightForState
-
definesWidthForState
-
getHeightForState
-
getWidthForState
-
removeCustomHeights
void removeCustomHeights() -
removeCustomWidths
void removeCustomWidths() -
forStateSetHeight
-
forStateSetHeightInPercentOfViewArea
-
forStateSetWidth
-
forStateSetWidthInPercentOfViewAreaWidth
S forStateSetWidthInPercentOfViewAreaWidth(ControlState state, double widthInPercentOfViewAreaWidth)
-