public final class LinkHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
HEIGHT |
static int |
WIDTH |
static int |
X |
static int |
X2 |
static int |
Y |
static int |
Y2 |
Modifier and Type | Method and Description |
---|---|
static boolean |
clearBounds(java.lang.Object layout,
java.lang.String key) |
static void |
clearWeakReferencesNow()
This method clear any weak references right away instead of waiting for the GC.
|
static java.lang.Integer |
getValue(java.lang.Object layout,
java.lang.String key,
int type) |
static boolean |
setBounds(java.lang.Object layout,
java.lang.String key,
int x,
int y,
int width,
int height)
Sets a key that can be linked to from any component.
|
public static final int X
public static final int Y
public static final int WIDTH
public static final int HEIGHT
public static final int X2
public static final int Y2
public static java.lang.Integer getValue(java.lang.Object layout, java.lang.String key, int type)
public static boolean setBounds(java.lang.Object layout, java.lang.String key, int x, int y, int width, int height)
layout
- The MigLayout instancekey
- The key to link to. This is the same as the ID in a component constraint.x
- xy
- ywidth
- Widthheight
- Heightpublic static void clearWeakReferencesNow()
public static boolean clearBounds(java.lang.Object layout, java.lang.String key)