|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.util.WidgetLayout
public class WidgetLayout
A simple layout manager for use in the visad ColorWidget. Stacks the first two components vertically, and stretches them to fit the panel.
Constructor Summary | |
---|---|
WidgetLayout(ColorWidget colorWidget)
Make a new WidgetLayout for the specified ColorWidget |
Method Summary | |
---|---|
void |
addLayoutComponent(String name,
Component component)
Not used, no effect |
void |
layoutContainer(Container parent)
Lay out the container |
Dimension |
maximumLayoutSize(Container parent)
Return the maximum size for this layout |
Dimension |
minimumLayoutSize(Container parent)
Return the minimum size for this layout |
Dimension |
preferredLayoutSize(Container parent)
Return the preferred size for this layout |
void |
removeLayoutComponent(Component component)
Not used, no effect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetLayout(ColorWidget colorWidget)
Method Detail |
---|
public void addLayoutComponent(String name, Component component)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component component)
removeLayoutComponent
in interface LayoutManager
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public Dimension maximumLayoutSize(Container parent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |