Package org.jdesktop.swingx
Class AbstractLayoutManager
java.lang.Object
org.jdesktop.swingx.AbstractLayoutManager
- All Implemented Interfaces:
LayoutManager
,Serializable
- Direct Known Subclasses:
HorizontalLayout
,VerticalLayout
A simple abstract class to handle common layout implementations. Package-private as we do NOT
want to export this as part of the public API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) minimumLayoutSize
(Container parent) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.awt.LayoutManager
layoutContainer, preferredLayoutSize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AbstractLayoutManager
AbstractLayoutManager()
-
-
Method Details
-
addLayoutComponent
This implementation does nothing.
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
This implementation does nothing.
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
minimumLayoutSize
This implementation defers to
LayoutManager.preferredLayoutSize(Container)
.- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-