public interface ScrollBoxLayout extends OrderedContainer, Component.BelongToFrame, HasMargin, HasSpacing, HasOrientation, Component.HasIcon, Component.HasCaption, ShortcutNotifier, HasContextHelp, HasHtmlCaption, HasHtmlDescription, HasRequiredIndicator, LayoutClickNotifier, HasHtmlSanitizer
Modifier and Type | Interface and Description |
---|---|
static class |
ScrollBoxLayout.ScrollBarPolicy |
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper
HasOrientation.Orientation
HasContextHelp.ContextHelpIconClickEvent
LayoutClickNotifier.LayoutClickEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
float |
getContentHeight() |
SizeUnit |
getContentHeightSizeUnit() |
java.lang.String |
getContentMaxHeight() |
java.lang.String |
getContentMaxWidth() |
java.lang.String |
getContentMinHeight() |
java.lang.String |
getContentMinWidth() |
float |
getContentWidth() |
SizeUnit |
getContentWidthSizeUnit() |
ScrollBoxLayout.ScrollBarPolicy |
getScrollBarPolicy() |
int |
getScrollLeft()
Gets scroll left offset.
|
int |
getScrollTop()
Gets scroll top offset.
|
void |
setContentHeight(java.lang.String height)
Sets content height.
|
void |
setContentMaxHeight(java.lang.String maxHeight)
Sets maximum CSS height for content.
|
void |
setContentMaxWidth(java.lang.String maxWidth)
Sets maximum CSS width for content.
|
void |
setContentMinHeight(java.lang.String minHeight)
Sets minimum CSS height for content.
|
void |
setContentMinWidth(java.lang.String minWidth)
Sets minimum CSS width for content.
|
void |
setContentWidth(java.lang.String width)
Sets content width.
|
void |
setScrollBarPolicy(ScrollBoxLayout.ScrollBarPolicy scrollBarPolicy) |
void |
setScrollLeft(int scrollLeft)
Sets scroll left offset.
|
void |
setScrollTop(int scrollTop)
Sets scroll top offset.
|
add, getComponent, getComponentNN, indexOf
add, add, focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream, remove, remove, removeAll
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
getFrame, setFrame
getMargin, setMargin, setMargin, setMargin
getSpacing, setSpacing
getOrientation, setOrientation
getIcon, setIcon, setIconFromSet
addShortcutAction, removeShortcutAction
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isCaptionAsHtml, setCaptionAsHtml
getCaption, setCaption
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
isRequiredIndicatorVisible, setRequiredIndicatorVisible
addLayoutClickListener, removeLayoutClickListener
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
static final java.lang.String NAME
ScrollBoxLayout.ScrollBarPolicy getScrollBarPolicy()
void setScrollBarPolicy(ScrollBoxLayout.ScrollBarPolicy scrollBarPolicy)
void setContentWidth(java.lang.String width)
width
- widthfloat getContentWidth()
SizeUnit getContentWidthSizeUnit()
void setContentHeight(java.lang.String height)
height
- heightfloat getContentHeight()
SizeUnit getContentHeightSizeUnit()
void setContentMinWidth(java.lang.String minWidth)
minWidth
- minimum widthjava.lang.String getContentMinWidth()
void setContentMaxWidth(java.lang.String maxWidth)
maxWidth
- maximum widthjava.lang.String getContentMaxWidth()
void setContentMinHeight(java.lang.String minHeight)
minHeight
- minimum heightjava.lang.String getContentMinHeight()
void setContentMaxHeight(java.lang.String maxHeight)
maxHeight
- maximum heightjava.lang.String getContentMaxHeight()
int getScrollLeft()
Scrolling offset is the number of pixels this scrollable has been scrolled right.
void setScrollLeft(int scrollLeft)
Scrolling offset is the number of pixels this scrollable has been scrolled right.
scrollLeft
- the xOffsetint getScrollTop()
Scrolling offset is the number of pixels this scrollable has been scrolled down.
void setScrollTop(int scrollTop)
Scrolling offset is the number of pixels this scrollable has been scrolled down.
scrollTop
- the yOffset