com.alee.extended.button
Class WebSwitchLayout
java.lang.Object
com.alee.extended.layout.AbstractLayoutManager
com.alee.extended.button.WebSwitchLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
public class WebSwitchLayout
- extends AbstractLayoutManager
User: mgarin Date: 02.11.12 Time: 14:18
Field Summary |
static java.lang.String |
GRIPPER
|
static java.lang.String |
LEFT
|
static java.lang.String |
RIGHT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT
public static final java.lang.String LEFT
- See Also:
- Constant Field Values
RIGHT
public static final java.lang.String RIGHT
- See Also:
- Constant Field Values
GRIPPER
public static final java.lang.String GRIPPER
- See Also:
- Constant Field Values
WebSwitchLayout
public WebSwitchLayout()
getGripperLocation
public float getGripperLocation()
setGripperLocation
public void setGripperLocation(float gripperLocation)
addComponent
public void addComponent(java.awt.Component component,
java.lang.Object constraints)
- Caled when component added into container with this layout.
- Overrides:
addComponent
in class AbstractLayoutManager
- Parameters:
component
- added componentconstraints
- component constraints
removeComponent
public void removeComponent(java.awt.Component component)
- Called when component removed from container with this layout.
- Overrides:
removeComponent
in class AbstractLayoutManager
- Parameters:
component
- removed component
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
-
layoutContainer
public void layoutContainer(java.awt.Container parent)
-