Class AFlowLayout
-
- All Implemented Interfaces:
-
java.awt.LayoutManager
,java.io.Serializable
@Deprecated() public abstract class AFlowLayout implements LayoutManager, Serializable
-
-
Constructor Summary
Constructors Constructor Description AFlowLayout(int hgap, int alignment, int anchor, boolean ordered)
-
Method Summary
Modifier and Type Method Description final void
addLayoutComponent(String name, Component comp)
int
getComponentOrder(Component c)
List<Component>
getComponentsList()
boolean
isOrdered()
abstract void
layoutContainer(Container parent)
final Dimension
minimumLayoutSize(Container parent)
final Dimension
preferredLayoutSize(Container parent)
final void
removeLayoutComponent(Component comp)
final void
setComponentOrder(Component c, int order)
String
toString()
-
-
Method Detail
-
addLayoutComponent
final void addLayoutComponent(String name, Component comp)
-
getComponentOrder
int getComponentOrder(Component c)
- Parameters:
c
- the component you want to know the order- Returns:
the order
-
getComponentsList
List<Component> getComponentsList()
- Returns:
a list with the ordered components
-
isOrdered
boolean isOrdered()
- Returns:
true if the components are ordered
-
layoutContainer
abstract void layoutContainer(Container parent)
-
minimumLayoutSize
final Dimension minimumLayoutSize(Container parent)
-
preferredLayoutSize
final Dimension preferredLayoutSize(Container parent)
-
removeLayoutComponent
final void removeLayoutComponent(Component comp)
-
setComponentOrder
final void setComponentOrder(Component c, int order)
- Parameters:
c
- the component you want to orderorder
- the position of the component
-
-
-
-