Class misc.layout
public class layout {}
This class contains methods that are found in the book Java in
a Nutshell, 1st edition, O'Reilly & Associates, Inc., written by,
David Flanagan. This class uses the Layout Manager java.awt.GridBagLayout
and positions all the Components.
Method Index:
- public void constrain( Container container, Component, int grid_x,
int grid_y,
- int grid_width, int grid_height, int fill, int anchor, double weight_x,
- double weight_y, int top, int left, int bottom, int right )
- This is the main constrain() method. It has arguments for all
constraints.
- public void constrain( Container container, Component component,
int grid_x,
- int grid_y, int grid_width, int grid_height )
- This version of constrain() specifies the position of a component
that does not
- grow and does not have margins.
- public void constrain( Container container, Component component,
int grid_x,
- int grid_y, int grid_width, int grid_height, int top, int left,
int bottom,
- int right )
- This version of constrain() positions a component that does
not grow, but
- does have margins.
algebra Package / misc
Package / Making of the project
/ Project Home Page / My
Home Page