public class WidgetLayout extends Object implements LayoutManager
Constructor and Description |
---|
WidgetLayout(ColorWidget colorWidget)
Make a new WidgetLayout for the specified ColorWidget
|
Modifier and Type | Method and Description |
---|---|
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
|
public WidgetLayout(ColorWidget colorWidget)
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
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.