public class DesktopScrollBoxLayout extends DesktopAbstractComponent<javax.swing.JScrollPane> implements ScrollBoxLayout, AutoExpanding, DesktopContainer
ScrollBoxLayout.Orientation, ScrollBoxLayout.ScrollBarPolicyComponent.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.WrapperSWING_PROPERTY_CLASS, SWING_PROPERTY_IDNAMEAUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS| Constructor and Description |
|---|
DesktopScrollBoxLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Component component) |
void |
add(Component component,
int index) |
void |
addShortcutAction(Component.ShortcutAction action) |
boolean |
expandsHeight() |
boolean |
expandsWidth() |
java.lang.String |
getCaption() |
Component |
getComponent(int index)
Returns the component at the given position.
|
Component |
getComponent(java.lang.String id)
Get component belonging to the whole components tree below this container.
|
java.util.Collection<Component> |
getComponents()
Get all components belonging to the whole components tree below this container
|
java.lang.String |
getDescription() |
MarginInfo |
getMargin() |
ScrollBoxLayout.Orientation |
getOrientation() |
Component |
getOwnComponent(java.lang.String id)
Get component directly owned by this container.
|
java.util.Collection<Component> |
getOwnComponents()
Get all components directly owned by this container
|
ScrollBoxLayout.ScrollBarPolicy |
getScrollBarPolicy() |
boolean |
getSpacing() |
int |
indexOf(Component child) |
void |
remove(Component component) |
void |
removeAll() |
void |
removeShortcutAction(Component.ShortcutAction action) |
void |
setCaption(java.lang.String caption) |
void |
setDescription(java.lang.String description) |
void |
setFrame(Frame frame) |
void |
setMargin(MarginInfo marginInfo) |
void |
setOrientation(ScrollBoxLayout.Orientation orientation) |
void |
setScrollBarPolicy(ScrollBoxLayout.ScrollBarPolicy scrollBarPolicy) |
void |
setSpacing(boolean enabled) |
void |
updateComponent(Component child) |
void |
updateEnabled() |
addStyleName, assignAutoDebugId, getAlignment, getComponent, getComposition, getDebugId, getFrame, getHeight, getHeightUnits, getIcon, getId, getParent, getStyleName, getTabIndex, getWidth, getWidthUnits, getXmlDescriptor, isComponentVisible, isEnabled, isEnabledItself, isParentEnabled, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setContainer, setDebugId, setEnabled, setExpanded, setHeight, setIcon, setId, setParent, setParentEnabled, setResponsive, setStyleName, setTabIndex, setVisible, setWidth, setXmlDescriptor, unwrap, unwrapCompositionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentNNgetComponentNNaddStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapCompositiongetFramesetMargin, setMargingetIcon, setIconpublic void add(Component component)
add in interface Component.Containerpublic void add(Component component, int index)
add in interface Component.OrderedContainerpublic int indexOf(Component child)
indexOf in interface Component.OrderedContainer@Nullable public Component getComponent(int index)
Component.OrderedContainergetComponent in interface Component.OrderedContainerindex - component indexpublic void remove(Component component)
remove in interface Component.Containerpublic void removeAll()
removeAll in interface Component.Containerpublic void setFrame(Frame frame)
setFrame in interface Component.BelongToFramesetFrame in class DesktopAbstractComponent<javax.swing.JScrollPane>public Component getOwnComponent(java.lang.String id)
Component.ContainergetOwnComponent in interface Component.Container@Nullable public Component getComponent(java.lang.String id)
Component.ContainergetComponent in interface Component.Containerpublic java.util.Collection<Component> getOwnComponents()
Component.ContainergetOwnComponents in interface Component.Containerpublic java.util.Collection<Component> getComponents()
Component.ContainergetComponents in interface Component.Containerpublic boolean expandsWidth()
expandsWidth in interface AutoExpandingpublic boolean expandsHeight()
expandsHeight in interface AutoExpandingpublic ScrollBoxLayout.Orientation getOrientation()
getOrientation in interface ScrollBoxLayoutpublic void setOrientation(ScrollBoxLayout.Orientation orientation)
setOrientation in interface ScrollBoxLayoutpublic ScrollBoxLayout.ScrollBarPolicy getScrollBarPolicy()
getScrollBarPolicy in interface ScrollBoxLayoutpublic void setScrollBarPolicy(ScrollBoxLayout.ScrollBarPolicy scrollBarPolicy)
setScrollBarPolicy in interface ScrollBoxLayoutpublic void setMargin(MarginInfo marginInfo)
setMargin in interface Component.Marginpublic MarginInfo getMargin()
getMargin in interface Component.Marginpublic void setSpacing(boolean enabled)
setSpacing in interface Component.Spacingpublic boolean getSpacing()
getSpacing in interface Component.Spacingpublic void updateComponent(Component child)
updateComponent in interface DesktopContainerpublic void updateEnabled()
public java.lang.String getCaption()
getCaption in interface Component.HasCaptiongetCaption in class DesktopAbstractComponent<javax.swing.JScrollPane>public void setCaption(java.lang.String caption)
setCaption in interface Component.HasCaptionsetCaption in class DesktopAbstractComponent<javax.swing.JScrollPane>public java.lang.String getDescription()
getDescription in interface Component.HasCaptionpublic void setDescription(java.lang.String description)
setDescription in interface Component.HasCaptionpublic void addShortcutAction(Component.ShortcutAction action)
addShortcutAction in interface Component.ShortcutNotifierpublic void removeShortcutAction(Component.ShortcutAction action)
removeShortcutAction in interface Component.ShortcutNotifier