| java.lang.Object com.calipso.reportgenerator.common.AbsoluteLayout
AbsoluteLayout | public class AbsoluteLayout implements LayoutManager2,java.io.Serializable(Code) | | AbsoluteLayout is a LayoutManager that works as a replacement for "null" layout to
allow placement of components in absolute positions.
//* @see AbsoluteConstraints
version: 1.01, Aug 19, 1998 |
serialVersionUID | final static long serialVersionUID(Code) | | generated Serialized Version UID
|
addLayoutComponent | public void addLayoutComponent(String name, Component comp)(Code) | | Adds the specified component with the specified name to
the layout.
Parameters: name - the component name Parameters: comp - the component to be added |
addLayoutComponent | public void addLayoutComponent(Component comp, Object constr)(Code) | | Adds the specified component to the layout, using the specified
constraint object.
Parameters: comp - the component to be added Parameters: constr - where/how the component is added to the layout. |
getLayoutAlignmentX | public float getLayoutAlignmentX(Container target)(Code) | | Returns the alignment along the x axis. This specifies how
the component would like to be aligned relative to other
components. The value should be a number between 0 and 1
where 0 represents alignment along the origin, 1 is aligned
the furthest away from the origin, 0.5 is centered, etc.
|
getLayoutAlignmentY | public float getLayoutAlignmentY(Container target)(Code) | | Returns the alignment along the y axis. This specifies how
the component would like to be aligned relative to other
components. The value should be a number between 0 and 1
where 0 represents alignment along the origin, 1 is aligned
the furthest away from the origin, 0.5 is centered, etc.
|
invalidateLayout | public void invalidateLayout(Container target)(Code) | | Invalidates the layout, indicating that if the layout manager
has cached information it should be discarded.
|
layoutContainer | public void layoutContainer(Container parent)(Code) | | Lays out the container in the specified panel.
Parameters: parent - the component which needs to be laid out |
preferredLayoutSize | public Dimension preferredLayoutSize(Container parent)(Code) | | Calculates the preferred dimension for the specified
panel given the components in the specified parent container.
Parameters: parent - the component to be laid out See Also: AbsoluteLayout.minimumLayoutSize |
removeLayoutComponent | public void removeLayoutComponent(Component comp)(Code) | | Removes the specified component from the layout.
Parameters: comp - the component to be removed |
|
|