|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.ui.OverlayLayout
public final class OverlayLayout
A simple layoutmanager to overlay all components of a parent.
This layout manager acts similiar to the card layout, but all childs of the parent band have the same size and all childs can be visible at the same time.
| Constructor Summary | |
|---|---|
OverlayLayout()
DefaultConstructor. |
|
OverlayLayout(boolean ignoreInvisible)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
If the layout manager uses a per-component string, adds the component comp to the layout,
associating it
with the string specified by name. |
void |
layoutContainer(java.awt.Container parent)
Lays out the specified container. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
Calculates the minimum size dimensions for the specified container, given the components it contains. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
Calculates the preferred size dimensions for the specified container, given the components it contains. |
void |
removeLayoutComponent(java.awt.Component comp)
Removes the specified component from the layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OverlayLayout(boolean ignoreInvisible)
ignoreInvisible - whether to ignore invisible components when computing the layout.public OverlayLayout()
| Method Detail |
|---|
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
comp to the layout,
associating it
with the string specified by name.
addLayoutComponent in interface java.awt.LayoutManagername - the string to be associated with the componentcomp - the component to be addedpublic void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent in interface java.awt.LayoutManagercomp - the component to be removedpublic void layoutContainer(java.awt.Container parent)
layoutContainer in interface java.awt.LayoutManagerparent - the container to be laid outpublic java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize in interface java.awt.LayoutManagerparent - the component to be laid out
preferredLayoutSize(java.awt.Container)public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize in interface java.awt.LayoutManagerparent - the container to be laid out
minimumLayoutSize(java.awt.Container)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||