|
RADi Runtime Library v1.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.muntjak.newlayout.NLConstraint
public class NLConstraint
NLConstraint
is the constraints object to be
used with NewLayout
. To obtain a NLConstraint
object, use one of the static
factory methods.
None of the factory methods will throw an exception but when
adding a component to NewLayout
, parameters
will be checked and might cause IllegalArgumentException
s.
Method Summary | |
---|---|
static NLConstraint |
rc(int row,
int column)
Create and return a new NLConstraint object. |
static NLConstraint |
rc(int row,
int column,
String anchors)
Create and return a new NLConstraint object. |
static NLConstraint |
rcInsets(int row,
int column,
Insets insets)
Create and return a new NLConstraint object. |
static NLConstraint |
rcInsets(int row,
int column,
Insets insets,
String anchors)
Create and return a new NLConstraint object. |
static NLConstraint |
rcInsets(int row,
int column,
int insetsTop,
int insetsLeft,
int insetsBottom,
int insetsRight)
Create and return a new NLConstraint object. |
static NLConstraint |
rcInsets(int row,
int column,
int insetsTop,
int insetsLeft,
int insetsBottom,
int insetsRight,
String anchors)
Create and return a new NLConstraint object. |
static NLConstraint |
rcwh(int row,
int column,
int spanWidth,
int spanHeight)
Create and return a new NLConstraint object. |
static NLConstraint |
rcwh(int row,
int column,
int spanWidth,
int spanHeight,
String anchors)
Create and return a new NLConstraint object. |
static NLConstraint |
rcwhInsets(int row,
int column,
int spanWidth,
int spanHeight,
Insets insets)
Create and return a new NLConstraint object. |
static NLConstraint |
rcwhInsets(int row,
int column,
int spanWidth,
int spanHeight,
Insets insets,
String anchors)
Create and return a new NLConstraint object. |
static NLConstraint |
rcwhInsets(int row,
int column,
int spanWidth,
int spanHeight,
int insetsTop,
int insetsLeft,
int insetsBottom,
int insetsRight)
Create and return a new NLConstraint object. |
static NLConstraint |
rcwhInsets(int row,
int column,
int spanWidth,
int spanHeight,
int insetsTop,
int insetsLeft,
int insetsBottom,
int insetsRight,
String anchors)
Create and return a new NLConstraint object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NLConstraint rc(int row, int column)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0
NLConstraint
objectpublic static NLConstraint rcwh(int row, int column, int spanWidth, int spanHeight)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0spanWidth
- the number of columns to spanspanHeight
- the number of rows to span
NLConstraint
objectpublic static NLConstraint rcwh(int row, int column, int spanWidth, int spanHeight, String anchors)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0spanWidth
- the number of columns to spanspanHeight
- the number of rows to spananchors
- any combination of 'l', 't', 'b', 'r' in any order
NLConstraint
objectpublic static NLConstraint rc(int row, int column, String anchors)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0anchors
- any combination of 'l', 't', 'b', 'r' in any order
NLConstraint
objectpublic static NLConstraint rcInsets(int row, int column, int insetsTop, int insetsLeft, int insetsBottom, int insetsRight, String anchors)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0insetsTop
- top insets, may be positive or negativeinsetsLeft
- left insets, may be positive or negativeinsetsBottom
- bottom insets, may be positive or negativeinsetsRight
- right insets, may be positive or negativeanchors
- any combination of 'l', 't', 'b', 'r' in any order
NLConstraint
objectpublic static NLConstraint rcInsets(int row, int column, int insetsTop, int insetsLeft, int insetsBottom, int insetsRight)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0insetsTop
- top insets, may be positive or negativeinsetsLeft
- left insets, may be positive or negativeinsetsBottom
- bottom insets, may be positive or negativeinsetsRight
- right insets, may be positive or negative
NLConstraint
objectpublic static NLConstraint rcwhInsets(int row, int column, int spanWidth, int spanHeight, int insetsTop, int insetsLeft, int insetsBottom, int insetsRight, String anchors)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0spanWidth
- the number of columns to spanspanHeight
- the number of rows to spaninsetsTop
- top insets, may be positive or negativeinsetsLeft
- left insets, may be positive or negativeinsetsBottom
- bottom insets, may be positive or negativeinsetsRight
- right insets, may be positive or negativeanchors
- any combination of 'l', 't', 'b', 'r' in any order
NLConstraint
objectpublic static NLConstraint rcwhInsets(int row, int column, int spanWidth, int spanHeight, int insetsTop, int insetsLeft, int insetsBottom, int insetsRight)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0spanWidth
- the number of columns to spanspanHeight
- the number of rows to spaninsetsTop
- top insets, may be positive or negativeinsetsLeft
- left insets, may be positive or negativeinsetsBottom
- bottom insets, may be positive or negativeinsetsRight
- right insets, may be positive or negative
NLConstraint
objectpublic static NLConstraint rcInsets(int row, int column, Insets insets, String anchors)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0insets
- cell insetsanchors
- any combination of 'l', 't', 'b', 'r' in any order
NLConstraint
objectpublic static NLConstraint rcInsets(int row, int column, Insets insets)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0insets
- cell insets
NLConstraint
objectpublic static NLConstraint rcwhInsets(int row, int column, int spanWidth, int spanHeight, Insets insets, String anchors)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0spanWidth
- the number of columns to spanspanHeight
- the number of rows to spaninsets
- cell insetsanchors
- any combination of 'l', 't', 'b', 'r' in any order
NLConstraint
objectpublic static NLConstraint rcwhInsets(int row, int column, int spanWidth, int spanHeight, Insets insets)
NLConstraint
object.
row
- a row index >= 0column
- a column index >= 0spanWidth
- the number of columns to spanspanHeight
- the number of rows to spaninsets
- cell insets
NLConstraint
object
|
RADi Runtime Library v1.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |