tit.gui.layout.VerticalLayout Class Reference

List of all members.

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

Detailed Description

LayoutManager which aligns components vertical.
Author:
Bart Sas


Constructor & Destructor Documentation

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.

Parameters:
spaceinit The space between the components.


Member Function Documentation

void tit.gui.layout.VerticalLayout.addLayoutComponent ( String  name,
Component  component 
)

Adds a component to this layout. Does nothing.

Parameters:
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.

Parameters:
component The component.

void tit.gui.layout.VerticalLayout.layoutContainer ( Container  container  ) 

Lays out a container.

Parameters:
container The container.

Dimension tit.gui.layout.VerticalLayout.minimumLayoutSize ( Container  container  ) 

Calculates the minimum size of this container.

Parameters:
container The container of which the minimum size is calculated
Returns:
The minimum size of container container.

Dimension tit.gui.layout.VerticalLayout.preferredLayoutSize ( Container  container  ) 

Calculates the preferred size of this container.

Parameters:
container The container of which the preferred size is calculated
Returns:
The preferred size of container container.

int tit.gui.layout.VerticalLayout.getSpace (  ) 

Returns the space between the components.

Returns:
The space between the components.


Member Data Documentation

int tit.gui.layout.VerticalLayout.space [private]

The space between the components.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:00 2007 by  doxygen 1.5.1