Package org.apache.jorphan.gui
Class CardLayoutWithSizeOfCurrentVisibleElement
-
- All Implemented Interfaces:
-
java.awt.LayoutManager,java.awt.LayoutManager2,java.io.Serializable
@API(status = API.Status.EXPERIMENTAL, since = "5.6") public final class CardLayoutWithSizeOfCurrentVisibleElement extends CardLayout
An alternative CardLayout that computes the size based on the currently visible component only.
- Since:
5.6
-
-
Constructor Summary
Constructors Constructor Description CardLayoutWithSizeOfCurrentVisibleElement()
-
Method Summary
Modifier and Type Method Description DimensionpreferredLayoutSize(Container parent)DimensionminimumLayoutSize(Container parent)Unitnext(Container parent)Unitprevious(Container parent)Unitfirst(Container parent)Unitlast(Container parent)Unitshow(Container parent, String name)-
Methods inherited from class java.awt.CardLayout
addLayoutComponent, addLayoutComponent, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getVgap, invalidateLayout, layoutContainer, maximumLayoutSize, removeLayoutComponent, setHgap, setVgap, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
preferredLayoutSize
Dimension preferredLayoutSize(Container parent)
-
minimumLayoutSize
Dimension minimumLayoutSize(Container parent)
-
-
-
-