de.infinityloop.util.gui
Class Alignment

java.lang.Object
  extended by de.infinityloop.util.gui.Alignment
All Implemented Interfaces:
Direction

public class Alignment
extends java.lang.Object
implements Direction


Field Summary
static int FILL_BOTH
           
static int FILL_HORIZONTAL
           
static int FILL_NONE
           
static int FILL_VERTICAL
           
 
Fields inherited from interface de.infinityloop.util.gui.Direction
BOTTOM, CENTER, DOWN, EAST, LEFT, NORTH, NORTHEAST, NORTHWEST, RIGHT, SOUTH, SOUTHEAST, SOUTHWEST, TOP, UP, WEST
 
Constructor Summary
Alignment()
           
 
Method Summary
static void alignInCell(java.awt.Rectangle r, java.awt.Rectangle cell, int alignment, int fill)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILL_NONE

public static final int FILL_NONE
See Also:
Constant Field Values

FILL_HORIZONTAL

public static final int FILL_HORIZONTAL
See Also:
Constant Field Values

FILL_VERTICAL

public static final int FILL_VERTICAL
See Also:
Constant Field Values

FILL_BOTH

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

Alignment

public Alignment()
Method Detail

alignInCell

public static void alignInCell(java.awt.Rectangle r,
                               java.awt.Rectangle cell,
                               int alignment,
                               int fill)