Class RadialLayout
java.lang.Object
org.jfree.layout.RadialLayout
- All Implemented Interfaces:
LayoutManager, Serializable
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.
- Author:
- Bryan Scott (for Australian Antarctic Division)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(Component comp) Not used.voidaddLayoutComponent(String name, Component comp) Not used.voidlayoutContainer(Container parent) This is called when the panel is first displayed, and every time its size changes.static voidRun a demonstration.minimumLayoutSize(Container parent) Returns the minimum size.preferredLayoutSize(Container parent) Returns the preferred size.voidNot used.voidremoveLayoutComponent(String name, Component comp) Not used.toString()Returns the class name.
-
Constructor Details
-
RadialLayout
public RadialLayout()Constructs this layout manager with default properties.
-
-
Method Details
-
addLayoutComponent
-
removeLayoutComponent
Not used.- Specified by:
removeLayoutComponentin interfaceLayoutManager- Parameters:
comp- the component.
-
addLayoutComponent
Not used.- Specified by:
addLayoutComponentin interfaceLayoutManager- Parameters:
name- the component name.comp- the component.
-
removeLayoutComponent
Not used.- Parameters:
name- the component name.comp- the component.
-
preferredLayoutSize
Returns the preferred size.- Specified by:
preferredLayoutSizein interfaceLayoutManager- Parameters:
parent- the parent.- Returns:
- The preferred size.
- See Also:
-
minimumLayoutSize
Returns the minimum size.- Specified by:
minimumLayoutSizein interfaceLayoutManager- Parameters:
parent- the parent.- Returns:
- The minimum size.
- See Also:
-
layoutContainer
This is called when the panel is first displayed, and every time its size changes. Note: You CAN'T assume preferredLayoutSize or minimumLayoutSize will be called -- in the case of applets, at least, they probably won't be.- Specified by:
layoutContainerin interfaceLayoutManager- Parameters:
parent- the parent.- See Also:
-
toString
-
main
-