class org.aswing.ext.FormRow extends JPanel
| Interfaces | |||
![]()  | LayoutManager | 
  | |
FormRow is a row in the Form.
A row include column children, each child sit a row, null child make a column blank, 
also a child can sit a continuous serveral columns.
For the 3 case, they are:
- 
[ --child1-- ][ --child2-- ][ --child3-- ]
3 children sit 3 columns, one by one:
setColumnChildren(child1, child2, child3); - 
[ ---------- ][ --child1-- ][ --child2-- ]
First blank, and then 2 children sit 2 columns:
setColumnChildren(null, child1, child2); - 
[ ----------child1-------- ][ --child2-- ]
child1 sit first two column2, child2 sit last column:
setColumnChildren(child1, child1, child2); 
Use setColumnChildren and setColumnChild to set the columns 
instead of append/remove method of Container.
@author paling
Class Fields
Instance Fields
function new(?columnChildren:Array<Dynamic> = null): Void
Create a form row with specified column children. @see #setColumnChildren()
function getColumnChild(column:Int): Component
Returns the child of column.
| returns | a component, or null.  | 
function getColumnVerticalAlignment(column:Int): Int
Returns the vertical alignment of a row.
| returns | the  
  | 
function getVerticalAlignment(): Int
Returns the default vertical alignment of the children in the row.
| returns | the  
  | 
function setColumnChild(column:Int, child:Component): Component
Sets the specified column position child.
| column | the column position.  | 
| child | the child.  | 
function setColumnChildren(columnChildren:Array<Dynamic>): Void
Sets the column children.
| columnChildren | the children list.  | 
function setColumnChildrenIndecis(indices:String): Void
This is used for GuiBuilder.
If a columnChildrenIndecis is set, when children changed, it will reset the 
columns value with columnChildrenIndecis. Default is null
Set it null to not automatical reset column when children changed.
For example: "-1,0,0,1" means [ ---------- ][ --child0 sit two column-- ][ --child1-- ]
| indices | the indices of children to be the columns, null to disable this automatic column set.  | 
function setColumnVerticalAlignment(column:Int, alignment:Int): Void
Sets the vertical alignment of a row.
| alignment | one of the following values: 
  | 
function setColumnWidthes(widthes:Array<Dynamic>): Void
Sets the width of all columns.
| widthes | a array that contains all width of columns.  | 
function setVerticalAlignment(alignment:Int): Void
Sets the default vertical alignment of the children in the row.
| alignment | one of the following values: 
  | 
            