public class TableLayout2
extends info.clearthought.layout.TableLayout
| Modifier and Type | Field and Description |
|---|---|
static String |
FILLTEXT
Symbolic name for TableLayout.FILL
|
static String |
MINIMUMTEXT
Symbolic name for TableLayout.MINIMUM
|
protected Map<String,String> |
mSymbolicCR
key= symbolic name as String, value= row or column index as String, both have a , at the end
|
protected static Pattern |
PATTERN
our regexp for the symbolic names
|
static String |
PREFERREDTEXT
Symbolic name for TableLayout.PREFERRED
|
| Constructor and Description |
|---|
TableLayout2()
Constructs an instance of TableLayout2.
|
TableLayout2(String pColumns,
String pRows)
Constructs an instance of TableLayout.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(Component pComponent,
Object pConstraint)
Adds the specified component with the specified constraint to the layout.
|
addLayoutComponent, assignAbsoluteSize, assignFillSize, assignPrefMinSize, assignRelativeSize, calculateLayoutSize, calculateLayoutSize, calculateOffset, calculateSize, calculateSizeAndOffset, deleteColumn, deleteCr, deleteRow, getColumn, getColumn, getComponentOrientation, getConstraints, getHGap, getInvalidEntry, getLayoutAlignmentX, getLayoutAlignmentY, getNumColumn, getNumRow, getOverlappingEntry, getRow, getRow, getVGap, init, insertColumn, insertCr, insertRow, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setColumn, setColumn, setConstraints, setCr, setCr, setHGap, setRow, setRow, setVGap, toStringprotected static final Pattern PATTERN
protected Map<String,String> mSymbolicCR
public static final String FILLTEXT
public static final String PREFERREDTEXT
public static final String MINIMUMTEXT
public TableLayout2()
public TableLayout2(String pColumns, String pRows)
pColumns - comma seperated columns description, a column may
have a symbolic name attached in bracespRows - comma seperated rows description, a row may
have a symbolic name attached in bracespublic void addLayoutComponent(Component pComponent, Object pConstraint)
addLayoutComponent in interface LayoutManager2addLayoutComponent in class info.clearthought.layout.TableLayoutpComponent - component to addpConstraint - indicates entry's position and alignmentCopyright © 2017 Jürgen Zeller (privat). All rights reserved.