websphinx.util
Class Constrain
java.lang.Object
|
+--websphinx.util.Constrain
- public abstract class Constrain
- extends java.lang.Object
Method Summary |
static void |
add(java.awt.Container container,
java.awt.Component comp,
java.lang.Object constraints)
|
static java.awt.GridBagConstraints |
areaLike(int x,
int y)
|
static java.awt.GridBagConstraints |
areaLike(int x,
int y,
int w)
|
static java.awt.GridBagConstraints |
centered(java.awt.GridBagConstraints c)
|
static java.awt.GridBagConstraints |
fieldLike(int x,
int y)
|
static java.awt.GridBagConstraints |
fieldLike(int x,
int y,
int w)
|
static java.awt.GridBagConstraints |
labelLike(int x,
int y)
|
static java.awt.GridBagConstraints |
labelLike(int x,
int y,
int w)
|
static java.awt.Panel |
makeConstrainedPanel()
|
static java.awt.Panel |
makeConstrainedPanel(int w,
int h)
|
static java.awt.GridBagConstraints |
rightJustify(java.awt.GridBagConstraints c)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Constrain
public Constrain()
add
public static void add(java.awt.Container container,
java.awt.Component comp,
java.lang.Object constraints)
labelLike
public static java.awt.GridBagConstraints labelLike(int x,
int y)
labelLike
public static java.awt.GridBagConstraints labelLike(int x,
int y,
int w)
fieldLike
public static java.awt.GridBagConstraints fieldLike(int x,
int y)
fieldLike
public static java.awt.GridBagConstraints fieldLike(int x,
int y,
int w)
areaLike
public static java.awt.GridBagConstraints areaLike(int x,
int y)
areaLike
public static java.awt.GridBagConstraints areaLike(int x,
int y,
int w)
rightJustify
public static java.awt.GridBagConstraints rightJustify(java.awt.GridBagConstraints c)
centered
public static java.awt.GridBagConstraints centered(java.awt.GridBagConstraints c)
makeConstrainedPanel
public static java.awt.Panel makeConstrainedPanel()
makeConstrainedPanel
public static java.awt.Panel makeConstrainedPanel(int w,
int h)