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 LayoutManager
comp
- the component.public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
name
- 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 LayoutManager
parent
- the parent.LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
parent
- the parent.LayoutManager
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
parent
- the parent.LayoutManager
public String toString()
Copyright © 2001–2018 JFree.org. All rights reserved.