Class GBLRow

java.lang.Object
  extended byGBLRow

public class GBLRow
extends Object

This is the actual data object that GBLEditor is centered around.


Constructor Summary
GBLRow(int count)
           
 
Method Summary
 int getAnchor()
          Returns the integer representation of the GBL-anchor
static String[] getAnchorTypes()
          Returns an array containing the selectable types of grid-bag-layout anchoring that may be used/selected
 int getColumn()
          Returns the column a component will occupy.
 int getColumns()
          Returns the number of columns a component will occupy.
 int getFill()
          Returns the integer representation of the GBL-fill
static String[] getFillTypes()
          Returns an array containing the selectable types of fill that may be used/selected
 String getName()
          Returns the name of the GUI component..
 int getRow()
          Returns the row a component will occupy.
 int getRows()
          Returns the number of rows a component will occupy.
 String getText()
          Returns the default text to be contained in a text-based element
 String getType()
          Returns the integer representation of the GUI component type
static String[] getTypes()
          Returns an array of all selectable GUI component types
 void setAnchor(int newanchor)
          Sets the anchoring on a GBL-component row.
 void setColumn(int newcolumn)
          Sets the column.
 void setColumns(int newcolumns)
          Sets the width in number of columns for the resulting GUI-component.
 void setFill(int newfill)
          Sets the type of fill on a GBL-component row.
 void setName(String newname)
          sets the name of the resulting variable generated.
 void setRow(int newrow)
          Sets the row.
 void setRows(int newrows)
          Sets the height in number of rows for the resulting GUI-component.
 void setText(String newtext)
          Sets the default text that will be applied to a text-based element.
 void setType(String type)
          Sets the java component type of a GBL-component row
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GBLRow

public GBLRow(int count)
Method Detail

getTypes

public static String[] getTypes()
Returns an array of all selectable GUI component types

Returns:
String[]

getFillTypes

public static String[] getFillTypes()
Returns an array containing the selectable types of fill that may be used/selected

Returns:
String[]

getAnchorTypes

public static String[] getAnchorTypes()
Returns an array containing the selectable types of grid-bag-layout anchoring that may be used/selected

Returns:
String[]

getType

public String getType()
Returns the integer representation of the GUI component type


getName

public String getName()
Returns the name of the GUI component..

Returns:
String

getText

public String getText()
Returns the default text to be contained in a text-based element

Returns:
String

getRow

public int getRow()
Returns the row a component will occupy.

Returns:
int

getColumn

public int getColumn()
Returns the column a component will occupy.

Returns:
int

getRows

public int getRows()
Returns the number of rows a component will occupy.

Returns:
int

getColumns

public int getColumns()
Returns the number of columns a component will occupy.

Returns:
int

getAnchor

public int getAnchor()
Returns the integer representation of the GBL-anchor

Returns:
int

getFill

public int getFill()
Returns the integer representation of the GBL-fill

Returns:
int

setType

public void setType(String type)
Sets the java component type of a GBL-component row


setName

public void setName(String newname)
sets the name of the resulting variable generated.


setText

public void setText(String newtext)
Sets the default text that will be applied to a text-based element.


setRow

public void setRow(int newrow)
Sets the row.


setColumn

public void setColumn(int newcolumn)
Sets the column.


setRows

public void setRows(int newrows)
Sets the height in number of rows for the resulting GUI-component.


setColumns

public void setColumns(int newcolumns)
Sets the width in number of columns for the resulting GUI-component.


setAnchor

public void setAnchor(int newanchor)
Sets the anchoring on a GBL-component row. The anchor is selected by an int, representing each of the elements in the array returned by getAnchorTypes.


setFill

public void setFill(int newfill)
Sets the type of fill on a GBL-component row. The fill is selected by an int, representing each of the elements in the array returned by getFillTypes.