net.miginfocom.layout

Class LinkHandler

public final class LinkHandler extends Object

Field Summary
static intHEIGHT
static intWIDTH
static intX
static intX2
static intY
static intY2
Method Summary
static booleanclearBounds(Object layout, String key)
static IntegergetValue(Object layout, String key, int type)
static booleansetBounds(Object layout, String key, int x, int y, int width, int height)
Sets a key that can be linked to from any component.

Field Detail

HEIGHT

public static final int HEIGHT

WIDTH

public static final int WIDTH

X

public static final int X

X2

public static final int X2

Y

public static final int Y

Y2

public static final int Y2

Method Detail

clearBounds

public static boolean clearBounds(Object layout, String key)

getValue

public static Integer getValue(Object layout, String key, int type)

setBounds

public static boolean setBounds(Object layout, String key, int x, int y, int width, int height)
Sets a key that can be linked to from any component.

Parameters: layout The MigLayout instance key The key to link to. This is the same as the ID in a component constraint. x x y y width Width height Height

Returns: If the value was changed