info.gridworld.gui
Class FormLayout
java.lang.Object
info.gridworld.gui.FormLayout
- All Implemented Interfaces:
- java.awt.LayoutManager
public class FormLayout
- extends java.lang.Object
- implements java.awt.LayoutManager
A layout manager that lays out components along a central axis
This code is not tested on the AP CS A and AB exams. It contains GUI
implementation details that are not intended to be understood by AP CS
students.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormLayout
public FormLayout()
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer in interface java.awt.LayoutManager
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
- Specified by:
addLayoutComponent in interface java.awt.LayoutManager
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent in interface java.awt.LayoutManager