Public Member Functions | |
| VerticalLayout () | |
| VerticalLayout (int spaceinit) | |
| void | addLayoutComponent (String name, Component component) |
| void | removeLayoutComponent (Component component) |
| void | layoutContainer (Container container) |
| Dimension | minimumLayoutSize (Container container) |
| Dimension | preferredLayoutSize (Container container) |
| int | getSpace () |
Private Attributes | |
| int | space |
| tit.gui.layout.VerticalLayout.VerticalLayout | ( | ) |
Constructs a new VerticalLayout without space between the components.
| tit.gui.layout.VerticalLayout.VerticalLayout | ( | int | spaceinit | ) |
Constructs a new VerticalLayout.
| spaceinit | The space between the components. |
| void tit.gui.layout.VerticalLayout.addLayoutComponent | ( | String | name, | |
| Component | component | |||
| ) |
Adds a component to this layout. Does nothing.
| name | The name of the component. | |
| component | The component. |
| void tit.gui.layout.VerticalLayout.removeLayoutComponent | ( | Component | component | ) |
Deletes a component from this layout. Does nothing.
| component | The component. |
| void tit.gui.layout.VerticalLayout.layoutContainer | ( | Container | container | ) |
Lays out a container.
| container | The container. |
| Dimension tit.gui.layout.VerticalLayout.minimumLayoutSize | ( | Container | container | ) |
Calculates the minimum size of this container.
| container | The container of which the minimum size is calculated |
container. | Dimension tit.gui.layout.VerticalLayout.preferredLayoutSize | ( | Container | container | ) |
Calculates the preferred size of this container.
| container | The container of which the preferred size is calculated |
container. | int tit.gui.layout.VerticalLayout.getSpace | ( | ) |
Returns the space between the components.
int tit.gui.layout.VerticalLayout.space [private] |
The space between the components.
1.5.1