public class WebSwitchLayout extends AbstractLayoutManager
WebSwitch component.| 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)
Called when component added into container with this layout.
|
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.
|
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 void addComponent(java.awt.Component component,
java.lang.Object constraints)
AbstractLayoutManageraddComponent in class AbstractLayoutManagercomponent - added componentconstraints - component constraintspublic void removeComponent(java.awt.Component component)
AbstractLayoutManagerremoveComponent in class AbstractLayoutManagercomponent - removed componentpublic java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
public void layoutContainer(java.awt.Container parent)