|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.gmf.figures.layout.container.ExtendedTable
public class ExtendedTable
An instance of this class acts as a container for the layoutinformation.
Field Summary | |
---|---|
int |
adjustableCanvas
Defines the one cell which shall be adjustable resp. |
static int |
CENTER
Constants defining the alignment |
int[] |
horizontalAlignment
Provides the alignment for every row and for the whole table. |
static int |
JUSTIFY
|
int |
padding
The padding defines the space between the outer border and the content, atm has only effect on separators. |
static int |
SEPARATOR
|
Cell[][] |
table
The table-array holds the single layout-cells and provides the structure of the table-layout. |
int |
verticalAlignment
|
Constructor Summary | |
---|---|
ExtendedTable()
|
Method Summary | |
---|---|
static ExtendedTable |
build()
Some kind of fluent interface/builder pattern for constructing layouts |
int |
getAdjustableCanvas()
|
int |
getMinHeight()
|
int |
getMinWidth()
|
int |
getVerticalAlignment()
|
boolean |
isUserResizeable()
|
void |
padding(int padding)
|
ExtendedTable |
setAdjustableCanvas(int adjustableCanvas)
|
ExtendedTable |
setMinHeight(int minHeight)
|
ExtendedTable |
setMinWidth(int minWidth)
|
ExtendedTable |
setUserResizeable(boolean userResizeable)
|
ExtendedTable |
setVerticalAlignment(int verticalAlignment)
|
ExtendedTable |
tableLayout(int[][] tableLayout)
Initializes the class-variables according to the given table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CENTER
public static final int JUSTIFY
public static final int SEPARATOR
public Cell[][] table
public int[] horizontalAlignment
public int verticalAlignment
public int adjustableCanvas
public int padding
Constructor Detail |
---|
public ExtendedTable()
Method Detail |
---|
public static ExtendedTable build()
public ExtendedTable tableLayout(int[][] tableLayout)
public int getMinHeight()
public ExtendedTable setMinHeight(int minHeight)
public int getMinWidth()
public ExtendedTable setMinWidth(int minWidth)
public boolean isUserResizeable()
public ExtendedTable setUserResizeable(boolean userResizeable)
public int getVerticalAlignment()
public ExtendedTable setVerticalAlignment(int verticalAlignment)
public int getAdjustableCanvas()
public ExtendedTable setAdjustableCanvas(int adjustableCanvas)
public void padding(int padding)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |