|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.layout.RadialLayout
public class RadialLayout
RadialLayout is a component layout manager. Compents are laid out in a circle. If only one component is contained in the layout it is positioned centrally, otherwise components are evenly spaced around the centre with the first component placed to the North.
This code was developed to display CTD rosette firing control WARNING: Not thoughly tested, use at own risk.
Constructor Summary | |
---|---|
RadialLayout()
Constructs this layout manager with default properties. |
Method Summary | |
---|---|
void |
addLayoutComponent(java.awt.Component comp)
Not used. |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Not used. |
void |
layoutContainer(java.awt.Container parent)
This is called when the panel is first displayed, and every time its size changes. |
static void |
main(java.lang.String[] args)
Run a demonstration. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
Returns the minimum size. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
Returns the preferred size. |
void |
removeLayoutComponent(java.awt.Component comp)
Not used. |
void |
removeLayoutComponent(java.lang.String name,
java.awt.Component comp)
Not used. |
java.lang.String |
toString()
Returns the class name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RadialLayout()
Method Detail |
---|
public void addLayoutComponent(java.awt.Component comp)
comp
- the component.public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
comp
- the component.public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
name
- the component name.comp
- the component.public void removeLayoutComponent(java.lang.String name, java.awt.Component comp)
name
- the component name.comp
- the component.public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
parent
- the parent.
LayoutManager
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
parent
- the parent.
LayoutManager
public void layoutContainer(java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager
parent
- the parent.LayoutManager
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- ignored.
java.lang.Exception
- when an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |