org.biomage.tools.apps.annot
Class GuiSet

java.lang.Object
  extended by org.biomage.tools.apps.annot.GuiSet

public final class GuiSet
extends java.lang.Object


Field Summary
static int B
           
static int C
           
static int E
           
static int H
           
static int N
           
static int NE
           
static int NONE
           
static int NW
           
static int RELATIVE
           
static int REMAINDER
           
static int S
           
static int SE
           
static int SW
           
static int V
           
static int W
           
 
Constructor Summary
GuiSet()
           
 
Method Summary
 void add(java.awt.Container container, java.awt.Component component, int x, int y, int width, int height)
          Description: Place a component to a container at certain location.
 void add(java.awt.Container container, java.awt.Component component, int x, int y, int width, int height, int weightx, int weighty, int fill, int anchor)
          Description: Place a component to a container at certain location.
 void add(java.awt.Container container, java.awt.Component component, int x, int y, int width, int height, int weightx, int weighty, int fill, int anchor, java.awt.Insets insets, int ipadx, int ipady)
          Description: Place a component to a container at certain location.
 void add(java.awt.Container container, java.awt.Component component, int x, int y, int width, int height, int weightx, int weighty, int fill, int anchor, int top, int left, int bottom, int right)
          Description: Place a component to a container at certain location.
 void add(java.awt.Container container, java.awt.Component component, int x, int y, int width, int height, int weightx, int weighty, int fill, int anchor, int top, int left, int bottom, int right, int ipadx, int ipady)
          Description: Place a component to a container at certain location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

B

public static final int B
See Also:
Constant Field Values

C

public static final int C
See Also:
Constant Field Values

E

public static final int E
See Also:
Constant Field Values

H

public static final int H
See Also:
Constant Field Values

NONE

public static final int NONE
See Also:
Constant Field Values

N

public static final int N
See Also:
Constant Field Values

NE

public static final int NE
See Also:
Constant Field Values

NW

public static final int NW
See Also:
Constant Field Values

RELATIVE

public static final int RELATIVE
See Also:
Constant Field Values

REMAINDER

public static final int REMAINDER
See Also:
Constant Field Values

S

public static final int S
See Also:
Constant Field Values

SE

public static final int SE
See Also:
Constant Field Values

SW

public static final int SW
See Also:
Constant Field Values

V

public static final int V
See Also:
Constant Field Values

W

public static final int W
See Also:
Constant Field Values
Constructor Detail

GuiSet

public GuiSet()
Method Detail

add

public void add(java.awt.Container container,
                java.awt.Component component,
                int x,
                int y,
                int width,
                int height)
Description: Place a component to a container at certain location.

Parameters:
container: - a component that works as a holder.
component: - a component that will be hold by the container.
x: - cell location on x direction of a grid.
y: - cell location on y direction of a grid.
width: - specifies the number of cells in a row for the component's display area.
hieght: - specifies the number of cells in a column for the component's display area.


add

public void add(java.awt.Container container,
                java.awt.Component component,
                int x,
                int y,
                int width,
                int height,
                int weightx,
                int weighty,
                int fill,
                int anchor)
Description: Place a component to a container at certain location.

Parameters:
container: - a component that works as a holder.
component: - a component that will be hold by the container.
x: - cell location on x direction of a grid.
y: - cell location on y direction of a grid.
width: - specifies the number of cells in a row for the component's display area.
hieght: - specifies the number of cells in a column for the component's display area.
weightx: - specifies how to distribute extra horizontal space.
weighy: - specifies how to distribute extra vertical space.
fill: - determines whether the component need to be resized.
anchor: - determines where to place the component.


add

public void add(java.awt.Container container,
                java.awt.Component component,
                int x,
                int y,
                int width,
                int height,
                int weightx,
                int weighty,
                int fill,
                int anchor,
                java.awt.Insets insets,
                int ipadx,
                int ipady)
Description: Place a component to a container at certain location.

Parameters:
container: - a component that works as a holder.
component: - a component that will be hold by the container.
x: - cell location on x direction of a grid.
y: - cell location on y direction of a grid.
width: - specifies the number of cells in a row for the component's display area.
hieght: - specifies the number of cells in a column for the component's display area.
weightx: - specifies how to distribute extra horizontal space.
weighy: - specifies how to distribute extra vertical space.
fill: - determines whether the component need to be resized.
anchor: - determines where to place the component.
insets: - specifies the external padding of the component, the minimum amount of space between the component and the edges of its display area.
ipadx: - specifies the internal padding of the component, how much space to add to the minimum width of the component.
ipady: - specifies the internal padding of the component, how much space to add to the minimum height of the component.


add

public void add(java.awt.Container container,
                java.awt.Component component,
                int x,
                int y,
                int width,
                int height,
                int weightx,
                int weighty,
                int fill,
                int anchor,
                int top,
                int left,
                int bottom,
                int right)
Description: Place a component to a container at certain location.

Parameters:
container: - a component that works as a holder.
component: - a component that will be hold by the container.
x: - cell location on x direction of a grid.
y: - cell location on y direction of a grid.
width: - specifies the number of cells in a row for the component's display area.
hieght: - specifies the number of cells in a column for the component's display area.
weightx: - specifies how to distribute extra horizontal space.
weighy: - specifies how to distribute extra vertical space.
fill: - determines whether the component need to be resized.
anchor: - determines where to place the component.
top: - distance from the top margin of a cell.
left: - distance from the left margin of a cell.
bottom: - distance from the bottom margin of a cell.
right: - distance from the right margin of a cell.


add

public void add(java.awt.Container container,
                java.awt.Component component,
                int x,
                int y,
                int width,
                int height,
                int weightx,
                int weighty,
                int fill,
                int anchor,
                int top,
                int left,
                int bottom,
                int right,
                int ipadx,
                int ipady)
Description: Place a component to a container at certain location.

Parameters:
container: - a component that works as a holder.
component: - a component that will be hold by the container.
x: - cell location on x direction of a grid.
y: - cell location on y direction of a grid.
width: - specifies the number of cells in a row for the component's display area.
hieght: - specifies the number of cells in a column for the component's display area.
weightx: - specifies how to distribute extra horizontal space.
weighy: - specifies how to distribute extra vertical space.
fill: - determines whether the component need to be resized.
anchor: - determines where to place the component.
top: - distance from the top margin of a cell.
left: - distance from the left margin of a cell.
bottom: - distance from the bottom margin of a cell.
right: - distance from the right margin of a cell.
ipadx: - specifies the internal padding of the component, how much space to add to the minimum width of the component.
ipady: - specifies the internal padding of the component, how much space to add to the minimum height of the component.