com.sibvisions.rad.ui.swing.impl.layout
Class AwtGridLayout.AwtGridConstraints

java.lang.Object
  extended by com.sibvisions.rad.ui.awt.impl.AwtResource<JVxGridLayout.CellConstraints>
      extended by com.sibvisions.rad.ui.swing.impl.layout.AwtGridLayout.AwtGridConstraints
All Implemented Interfaces:
java.lang.Cloneable, IResource, IGridLayout.IGridConstraints
Enclosing class:
AwtGridLayout

public static class AwtGridLayout.AwtGridConstraints
extends AwtResource<JVxGridLayout.CellConstraints>
implements IGridLayout.IGridConstraints, java.lang.Cloneable

The Constraint stores the columns and rows for layouting a component.


Field Summary
 
Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource
resource
 
Constructor Summary
protected AwtGridLayout.AwtGridConstraints(JVxGridLayout.CellConstraints pConstraints)
          Constructs a new AwtConstraint.
 
Method Summary
 int getGridHeight()
          Returns the height on the GridLayout.
 int getGridWidth()
          Returns the width on the GridLayout.
 int getGridX()
          Returns the x-position on the grid.
 int getGridY()
          Returns the y-position on the GridLayout.
 IInsets getInsets()
          Returns the insets on the GridLayout.
 void setGridHeight(int pGridHeight)
          Sets the height on the GridLayout.
 void setGridWidth(int pGridWidth)
          Sets the width on the GridLayout.
 void setGridX(int pGridX)
          Sets the x-position on the GridLayout.
 void setGridY(int pGridY)
          Sets the y-position on the GridLayout.
 void setInsets(IInsets pInsets)
          Sets the width on the GridLayout.
 
Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource
equals, getResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

AwtGridLayout.AwtGridConstraints

protected AwtGridLayout.AwtGridConstraints(JVxGridLayout.CellConstraints pConstraints)
Constructs a new AwtConstraint.

Parameters:
pConstraints - the JVxGridLayout.Constraint.
Method Detail

getGridX

public int getGridX()
Returns the x-position on the grid.

Specified by:
getGridX in interface IGridLayout.IGridConstraints
Returns:
the x-position.

getGridY

public int getGridY()
Returns the y-position on the GridLayout.

Specified by:
getGridY in interface IGridLayout.IGridConstraints
Returns:
the y-position.

getGridWidth

public int getGridWidth()
Returns the width on the GridLayout.

Specified by:
getGridWidth in interface IGridLayout.IGridConstraints
Returns:
the width.

getGridHeight

public int getGridHeight()
Returns the height on the GridLayout.

Specified by:
getGridHeight in interface IGridLayout.IGridConstraints
Returns:
the height.

getInsets

public IInsets getInsets()
Returns the insets on the GridLayout.

Specified by:
getInsets in interface IGridLayout.IGridConstraints
Returns:
the insets.

setGridX

public void setGridX(int pGridX)
Sets the x-position on the GridLayout.

Specified by:
setGridX in interface IGridLayout.IGridConstraints
Parameters:
pGridX - the x-position to set.

setGridY

public void setGridY(int pGridY)
Sets the y-position on the GridLayout.

Specified by:
setGridY in interface IGridLayout.IGridConstraints
Parameters:
pGridY - the x-position to set.

setGridHeight

public void setGridHeight(int pGridHeight)
Sets the height on the GridLayout.

Specified by:
setGridHeight in interface IGridLayout.IGridConstraints
Parameters:
pGridHeight - the height to set.

setGridWidth

public void setGridWidth(int pGridWidth)
Sets the width on the GridLayout.

Specified by:
setGridWidth in interface IGridLayout.IGridConstraints
Parameters:
pGridWidth - the height to set.

setInsets

public void setInsets(IInsets pInsets)
Sets the width on the GridLayout.

Specified by:
setInsets in interface IGridLayout.IGridConstraints
Parameters:
pInsets - the insets to set.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.