|
CubeTwister 2.0alpha142 2012-02-11 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.gui.LayeredBorderLayout
public class LayeredBorderLayout
LayoutManager which supports overlapping border layouts for use with JLayeredPane.
The border layout is computed individually for each layer of the JLayeredPane.
| Field Summary | |
|---|---|
static java.lang.String |
ABSOLUTE
The absolute layout constraint. |
static java.lang.String |
CENTER
The center layout constraint (middle of container). |
protected java.util.HashMap<java.awt.Component,java.lang.Object> |
comptable
|
static java.lang.String |
EAST
The east layout constraint (right side of container). |
static java.lang.String |
NORTH
The north layout constraint (top of container). |
static java.lang.String |
PIP_SOUTH_EAST
The PIP south-east layout constraint (bottom right eighth of container with insets). |
static java.lang.String |
SOUTH
The south layout constraint (bottom of container). |
static java.lang.String |
SOUTH_CENTER
The south-center layout constraint (bottom middle of container). |
static java.lang.String |
SOUTH_EAST
The south-east layout constraint (bottom right of container). |
static java.lang.String |
WEST
The west layout constraint (left side of container). |
| Constructor Summary | |
|---|---|
LayeredBorderLayout()
|
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
|
float |
getLayoutAlignmentX(java.awt.Container target)
|
float |
getLayoutAlignmentY(java.awt.Container target)
|
void |
invalidateLayout(java.awt.Container target)
|
void |
layoutContainer(java.awt.Container container)
|
java.awt.Dimension |
maximumLayoutSize(java.awt.Container parent)
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container container)
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container container)
|
void |
removeLayoutComponent(java.awt.Component comp)
|
void |
setPipScaleFactor(double sf)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NORTH
public static final java.lang.String SOUTH
public static final java.lang.String EAST
public static final java.lang.String WEST
public static final java.lang.String CENTER
public static final java.lang.String SOUTH_CENTER
public static final java.lang.String SOUTH_EAST
public static final java.lang.String PIP_SOUTH_EAST
public static final java.lang.String ABSOLUTE
protected java.util.HashMap<java.awt.Component,java.lang.Object> comptable
| Constructor Detail |
|---|
public LayeredBorderLayout()
| Method Detail |
|---|
public void setPipScaleFactor(double sf)
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
addLayoutComponent in interface java.awt.LayoutManager2public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
maximumLayoutSize in interface java.awt.LayoutManager2public float getLayoutAlignmentX(java.awt.Container target)
getLayoutAlignmentX in interface java.awt.LayoutManager2public float getLayoutAlignmentY(java.awt.Container target)
getLayoutAlignmentY in interface java.awt.LayoutManager2public void invalidateLayout(java.awt.Container target)
invalidateLayout in interface java.awt.LayoutManager2
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
addLayoutComponent in interface java.awt.LayoutManagerpublic void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent in interface java.awt.LayoutManagerpublic java.awt.Dimension preferredLayoutSize(java.awt.Container container)
preferredLayoutSize in interface java.awt.LayoutManagerpublic java.awt.Dimension minimumLayoutSize(java.awt.Container container)
minimumLayoutSize in interface java.awt.LayoutManagerpublic void layoutContainer(java.awt.Container container)
layoutContainer in interface java.awt.LayoutManager
|
(c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||