cz.autel.dmi
public class HIGConstraints extends Object implements Serializable
Most of methods returns this object so Your can chain more calls into single line of code.
Constructor Summary | |
---|---|
HIGConstraints() |
Method Summary | |
---|---|
HIGConstraints | anchors(String anchors)
Sets anchors string. |
HIGConstraints | c(int c)
Sets column index. |
HIGConstraints | c(int c, String anchors)
Sets column index and anchors. |
int | c()
Returns current column index. |
HIGConstraints | clearCorrection()
Clears all corrections. |
HIGConstraints | cwh(int c, int w, int h)
Sets column index, target area width and height. |
HIGConstraints | cwh(int c, int w, int h, String anchors)
Sets column index, target area width, height and anchors. |
HIGConstraints | H(int h)
Sets width to absolute size in pixels. |
HIGConstraints | next2Col()
Increases current column index by two. |
HIGConstraints | next2Row()
Increases current row index by two. |
HIGConstraints | nextCol()
Increases current column index by one. |
HIGConstraints | nextRow()
Increases current row index by one. |
HIGConstraints | r(int r)
Sets row index. |
HIGConstraints | r(int r, String anchors)
Sets row index and anchors. |
int | r()
Returns current row index. |
HIGConstraints | rc(int r, int c)
Sets row and column index. |
HIGConstraints | rc(int r, int c, String anchors)
Sets row and column index and anchors. |
HIGConstraints | rcwh(int r, int c, int w, int h)
Sets row and column index, width and height. |
HIGConstraints | rcwh(int r, int c, int w, int h, String anchors)
Sets row and column index, width, height and anchors. |
HIGConstraints | rwh(int r, int w, int h)
Sets row index, target area width and height. |
HIGConstraints | rwh(int r, int w, int h, String anchors)
Sets row index, target area width, height and anchors. |
HIGConstraints | setHCorrection(int xCorr, int wCorr)
Set horizontal correction until changed or cleared. |
HIGConstraints | setVCorrection(int yCorr, int hCorr)
Set vertical correction until changed or cleared. |
HIGConstraints | W(int w)
Sets width to absolute size in pixels. |
HIGConstraints | x(int x)
Sets column index. |
HIGConstraints | x(int x, String anchors)
Sets column index and anchors. |
int | x()
Returns current column index. |
HIGConstraints | xwh(int x, int w, int h)
Sets column index, target area width and height. |
HIGConstraints | xwh(int x, int w, int h, String anchors)
Sets column index, target area width, height and anchors. |
HIGConstraints | xy(int x, int y)
Sets row and column index. |
HIGConstraints | xy(int x, int y, String anchors)
Sets row and column index and anchors. |
HIGConstraints | xywh(int x, int y, int w, int h)
Sets row and column index, width and height. |
HIGConstraints | xywh(int x, int y, int w, int h, String anchors)
Sets row and column index, width, height and anchors. |
HIGConstraints | y(int y)
Sets row index. |
HIGConstraints | y(int y, String anchors)
Sets row index and anchors. |
int | y()
Returns current row index. |
HIGConstraints | ywh(int y, int w, int h)
Sets row index, target area width and height. |
HIGConstraints | ywh(int y, int w, int h, String anchors)
Sets row index, target area width, height and anchors. |
Parameters: anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: c column index
Returns: this
Parameters: c column index anchors anchors string (of letters 'l','r','t','b')
Returns: this
Returns: this
See Also: HIGConstraints HIGConstraints
Parameters: c column index w width, number of columns h height, number of rows
Returns: this
Parameters: c column index w width, number of columns h height, number of rows anchors anchors string (of letters 'l','r','t','b')
Returns: this
Returns: this
Returns: this
Returns: this
Returns: this
Returns: this
Parameters: r row index
Returns: this
Parameters: r row index anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: r row index c column index
Returns: this
Parameters: r row index c column index anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: r row index c column index w width, number of columns h height, number of rows
Returns: this
Parameters: r row index c column index w width, number of columns h height, number of rows anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: r row index w width, number of columns h height, number of rows
Returns: this
Parameters: r row index w width, number of columns h height, number of rows anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: xCorr correction of horizontal position, in pixels. Can be negative. wCorr correction of width, in pixels. Can be negative.
Returns: this
See Also: HIGConstraints
Parameters: yCorr correction of vertical position, in pixels. Can be negative. hCorr correction of height, in pixels. Can be negative.
Returns: this
See Also: HIGConstraints
Returns: this
Parameters: x column index
Returns: this
Parameters: x column index anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: x column index w width, number of columns h height, number of rows
Returns: this
Parameters: x column index w width, number of columns h height, number of rows anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: x column index y row index
Returns: this
Parameters: x column index y row index anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: x column index y row index w width, number of columns h height, number of rows
Returns: this
Parameters: x column index y row index w width, number of columns h height, number of rows anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: y row index
Returns: this
Parameters: y row index anchors anchors string (of letters 'l','r','t','b')
Returns: this
Parameters: y row index w width, number of columns h height, number of rows
Returns: this
Parameters: y row index w width, number of columns h height, number of rows anchors anchors string (of letters 'l','r','t','b')
Returns: this