LayoutManagerNameLayoutManager
DescriptionLayoutManager is an interface that defines the responsibilities of an object that wants to lay out Components to the display in a Container. Interface Definition
public abstract interface java.awt.LayoutManager { // Interface Methods public abstract void addLayoutComponent (String name, Component component); public abstract void layoutContainer (Container target); public abstract Dimension minimumLayoutSize (Container target); public abstract Dimension preferredLayoutSize (Container target); public abstract void removeLayoutComponent (Component component); } Interface MethodsaddLayoutComponentpublic abstract void addLayoutComponent (String name, Component component)
layoutContainerpublic abstract void layoutContainer (Container target)
minimumLayoutSizepublic abstract Dimension minimumLayoutSize (Container target)
preferredLayoutSizepublic abstract Dimension preferredLayoutSize (Container target)
removeLayoutComponentpublic abstract void removeLayoutComponent (Component component)
See AlsoComponent, Container, FlowLayout, GridLayout, Object, String |
|