public class WebSwitchLayout extends AbstractLayoutManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GRIPPER |
static java.lang.String |
LEFT |
static java.lang.String |
RIGHT |
| Constructor and Description |
|---|
WebSwitchLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(java.awt.Component component,
java.lang.Object constraints)
Caled when component added into container with this layout.
|
float |
getGripperLocation() |
void |
layoutContainer(java.awt.Container parent) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent) |
void |
removeComponent(java.awt.Component component)
Called when component removed from container with this layout.
|
void |
setGripperLocation(float gripperLocation) |
addLayoutComponent, addLayoutComponent, getLayoutAlignmentX, getLayoutAlignmentY, invalidateLayout, maximumLayoutSize, minimumLayoutSize, removeLayoutComponentpublic static final java.lang.String LEFT
public static final java.lang.String RIGHT
public static final java.lang.String GRIPPER
public float getGripperLocation()
public void setGripperLocation(float gripperLocation)
public void addComponent(java.awt.Component component,
java.lang.Object constraints)
addComponent in class AbstractLayoutManagercomponent - added componentconstraints - component constraintspublic void removeComponent(java.awt.Component component)
removeComponent in class AbstractLayoutManagercomponent - removed componentpublic java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
public void layoutContainer(java.awt.Container parent)