public class RadialLayout extends Object implements LayoutManager, Serializable
This code was developed to display CTD rosette firing control WARNING: Not thoughly tested, use at own risk.
| Constructor and Description |
|---|
RadialLayout()
Constructs this layout manager with default properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(Component comp)
Not used.
|
void |
addLayoutComponent(String name,
Component comp)
Not used.
|
void |
layoutContainer(Container parent)
This is called when the panel is first displayed, and every time its size
changes.
|
static void |
main(String[] args)
Run a demonstration.
|
Dimension |
minimumLayoutSize(Container parent)
Returns the minimum size.
|
Dimension |
preferredLayoutSize(Container parent)
Returns the preferred size.
|
void |
removeLayoutComponent(Component comp)
Not used.
|
void |
removeLayoutComponent(String name,
Component comp)
Not used.
|
String |
toString()
Returns the class name.
|
public RadialLayout()
public void addLayoutComponent(Component comp)
comp - the component.public void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagercomp - the component.public void addLayoutComponent(String name, Component comp)
addLayoutComponent in interface LayoutManagername - the component name.comp - the component.public void removeLayoutComponent(String name, Component comp)
name - the component name.comp - the component.public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerparent - the parent.LayoutManagerpublic Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerparent - the parent.LayoutManagerpublic void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerparent - the parent.LayoutManagerpublic String toString()
Copyright © 2009-2012 jtstand.com. All Rights Reserved.