| java.lang.Object org.jfree.layout.RadialLayout
RadialLayout | public class RadialLayout implements LayoutManager,Serializable(Code) | | 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) |
Constructor Summary | |
public | RadialLayout() Constructs this layout manager with default properties. |
RadialLayout | public RadialLayout()(Code) | | Constructs this layout manager with default properties.
|
addLayoutComponent | public void addLayoutComponent(Component comp)(Code) | | Not used.
Parameters: comp - the component. |
addLayoutComponent | public void addLayoutComponent(String name, Component comp)(Code) | | Not used.
Parameters: name - the component name. Parameters: comp - the component. |
layoutContainer | public void layoutContainer(Container parent)(Code) | | 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.
Parameters: parent - the parent. See Also: LayoutManager |
main | public static void main(String[] args) throws Exception(Code) | | Run a demonstration.
Parameters: args - ignored. throws: Exception - when an error occurs. |
removeLayoutComponent | public void removeLayoutComponent(Component comp)(Code) | | Not used.
Parameters: comp - the component. |
removeLayoutComponent | public void removeLayoutComponent(String name, Component comp)(Code) | | Not used.
Parameters: name - the component name. Parameters: comp - the component. |
toString | public String toString()(Code) | | Returns the class name.
The class name. |
|
|