org.jdesktop.jxlayer.plaf
Class DefaultLayerLayout
java.lang.Object
org.jdesktop.jxlayer.plaf.DefaultLayerLayout
- All Implemented Interfaces:
- java.awt.LayoutManager
public class DefaultLayerLayout
- extends java.lang.Object
- implements java.awt.LayoutManager
The default layout manager for the JXLayer.
It places the glassPane on top of the view component and makes it the same size as JXLayer,
it also makes the view component the same size but minus layer's insets
- See Also:
JXLayer.getView(),
JXLayer.getGlassPane()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLayerLayout
public DefaultLayerLayout()
layoutContainer
public void layoutContainer(java.awt.Container parent)
-
- Specified by:
layoutContainer in interface java.awt.LayoutManager
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
-
- Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
-
- Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
-
- Specified by:
addLayoutComponent in interface java.awt.LayoutManager
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
-
- Specified by:
removeLayoutComponent in interface java.awt.LayoutManager