|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.onemind.swingweb.templaterender.layout.DefaultComponentGridLayout
ComponentGridLayout calculates the components the ordering of some components according their x, y position and the cells that they will fill in a 2 dimensional grid
| Constructor Summary | |
DefaultComponentGridLayout(java.awt.Component[] coms)
|
|
DefaultComponentGridLayout(java.awt.Container con)
Constructor. |
|
| Method Summary | |
void |
doLayout()
Do the layout calculation |
java.util.List |
getCells()
Returnn the cells |
int |
getCols()
Returnn number of columns |
java.awt.Container |
getContainer()
Get the container |
int |
getRows()
Return number of rows |
static void |
main(java.lang.String[] args)
The main program |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultComponentGridLayout(java.awt.Container con)
con - the containerpublic DefaultComponentGridLayout(java.awt.Component[] coms)
| Method Detail |
public void doLayout()
public static void main(java.lang.String[] args)
args - the argumentspublic final java.util.List getCells()
getCells in interface ComponentGridLayoutpublic java.awt.Container getContainer()
public int getCols()
ComponentGridLayout
getCols in interface ComponentGridLayoutpublic int getRows()
ComponentGridLayout
getRows in interface ComponentGridLayout
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||