| |
|
| java.lang.Object org.onemind.swingweb.templaterender.layout.DefaultComponentGridLayout
DefaultComponentGridLayout | public class DefaultComponentGridLayout implements ComponentGridLayout(Code) | | 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
author: TiongHiang Lee (thlee@onemindsoft.org) |
DefaultComponentGridLayout | public DefaultComponentGridLayout(Container con)(Code) | | Constructor.
IMPORTANT: the helper must be constructed after layout is done since it uses the bounds information
of the children components.
Parameters: con - the container |
DefaultComponentGridLayout | public DefaultComponentGridLayout(Component[] coms)(Code) | | |
doLayout | public void doLayout()(Code) | | Do the layout calculation
|
getCells | final public List getCells()(Code) | | Returnn the cells
the cells |
getCols | public int getCols()(Code) | | |
getContainer | public Container getContainer()(Code) | | Get the container
the container |
getRows | public int getRows()(Code) | | |
main | public static void main(String[] args)(Code) | | The main program
Parameters: args - the arguments |
|
|
|