public static class GuiTools.GBHelper extends GridBagConstraints
ABOVE_BASELINE, ABOVE_BASELINE_LEADING, ABOVE_BASELINE_TRAILING, anchor, BASELINE, BASELINE_LEADING, BASELINE_TRAILING, BELOW_BASELINE, BELOW_BASELINE_LEADING, BELOW_BASELINE_TRAILING, BOTH, CENTER, EAST, fill, FIRST_LINE_END, FIRST_LINE_START, gridheight, gridwidth, gridx, gridy, HORIZONTAL, insets, ipadx, ipady, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, NONE, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, RELATIVE, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, weightx, weighty, WEST
Constructor and Description |
---|
GuiTools.GBHelper() |
Modifier and Type | Method and Description |
---|---|
GuiTools.GBHelper |
anchorCenter()
Set the anchor to center.
|
GuiTools.GBHelper |
expandH()
Expandable Height.
|
GuiTools.GBHelper |
expandW()
Expandable Width.
|
GuiTools.GBHelper |
fill()
Set the fill to both.
|
GuiTools.GBHelper |
height(int rowsHigh)
Sets the height of the area in terms of rows.
|
GuiTools.GBHelper |
indentLeft(int pixel)
Increase indent in the left.
|
GuiTools.GBHelper |
indentRight(int pixel)
Increase indent in the left.
|
GuiTools.GBHelper |
nextCol()
Moves the helper's cursor to the right one column.
|
GuiTools.GBHelper |
nextRow()
Moves the helper's cursor to first col in next row.
|
GuiTools.GBHelper |
width(int columnsWide)
Sets the width of the area in terms of rows.
|
clone
public GuiTools.GBHelper nextCol()
public GuiTools.GBHelper nextRow()
public GuiTools.GBHelper indentLeft(int pixel)
pixel
- public GuiTools.GBHelper indentRight(int pixel)
pixel
- public GuiTools.GBHelper anchorCenter()
public GuiTools.GBHelper expandW()
public GuiTools.GBHelper expandH()
public GuiTools.GBHelper height(int rowsHigh)
rowsHigh
- public GuiTools.GBHelper width(int columnsWide)
columnsWide
- public GuiTools.GBHelper fill()
Copyright © 2010-2015. All Rights Reserved.