public interface IsCollapsible
Before collapse:
--------- ---------- --------- | ButtonA | | ButtonB | | ButtonC | --------- ---------- ---------
After collapse:
----------------------------- | ButtonA | ButtonB | ButtonC | -----------------------------
In the above example, ButtonA has right-side collapsed, ButtonB has both left and right-side collapsed, and ButtonC has left-side collapsed.
Modifier and Type | Method and Description |
---|---|
boolean |
isCollapseLeft()
Check whether or not the left-side of the UI component is collapsed
(sharing border with the component to its left).
|
boolean |
isCollapseRight()
right Check whether or not the left-side of the UI component is collapsed
(sharing border with the component to its left).
|
void |
setCollapseLeft(boolean isCollapsed)
Sets whether the left-side of the UI component is collapsed (sharing border
with the component to its left).
|
void |
setCollapseRight(boolean isCollapsed)
Sets whether the right-side of the UI component is collapsed (sharing
border with the component to its right).
|
boolean isCollapseLeft()
boolean isCollapseRight()
void setCollapseLeft(boolean isCollapsed)
isCollapsed
- true if collapsed, false if notvoid setCollapseRight(boolean isCollapsed)
isCollapsed
- true if collapsed, false if notCopyright © 2018. All rights reserved.