com.sibvisions.rad.ui.web.ext.gwt
Interface IAlignmentConstants

All Known Implementing Classes:
ChoiceCellEditor, DateCellEditor, GVxChoice, GVxChoiceCell, GVxChoiceField, GVxFlowLayout, GVxFormLayout, GVxImage, GVxImageField, ImageViewer, LinkedCellEditor, NumberCellEditor, StyledCellEditor, TextCellEditor

public interface IAlignmentConstants

Alignment constants definitions.


Field Summary
static int ALIGN_BOTTOM
          Bottom Align for this element.
static int ALIGN_CENTER
          Center Align for this element.
static int ALIGN_LEFT
          Left Align for this element.
static int ALIGN_RIGHT
          Right Align for this element.
static int ALIGN_STRETCH
          Stretch Align for this element.
static int ALIGN_TOP
          Top Align for this element.
 
Method Summary
 int getHorizontalAlignment()
          Returns the alignment along the x axis.
 int getVerticalAlignment()
          Returns the alignment along the y axis.
 void setHorizontalAlignment(int pHorizontalAlignment)
          Sets the horizontal alignment.
 void setVerticalAlignment(int pVerticalAlignment)
          Sets the vertical alignment.
 

Field Detail

ALIGN_LEFT

static final int ALIGN_LEFT
Left Align for this element.

See Also:
Constant Field Values

ALIGN_CENTER

static final int ALIGN_CENTER
Center Align for this element. This is used for horizontal and vertical alignment.

See Also:
Constant Field Values

ALIGN_RIGHT

static final int ALIGN_RIGHT
Right Align for this element.

See Also:
Constant Field Values

ALIGN_TOP

static final int ALIGN_TOP
Top Align for this element.

See Also:
Constant Field Values

ALIGN_BOTTOM

static final int ALIGN_BOTTOM
Bottom Align for this element.

See Also:
Constant Field Values

ALIGN_STRETCH

static final int ALIGN_STRETCH
Stretch Align for this element. This is used for horizontal and vertical alignment. If stretching is not possible this constant should have the same result as ALIGN_CENTER

See Also:
Constant Field Values
Method Detail

getHorizontalAlignment

int getHorizontalAlignment()
Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. Possible values are defined in AlignmentConstants.

Returns:
the horizontal alignment

setHorizontalAlignment

void setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. Possible values are defined in AlignmentConstants.

Parameters:
pHorizontalAlignment - the new vertical alignment

getVerticalAlignment

int getVerticalAlignment()
Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. Possible values are defined in AlignmentConstants.

Returns:
the vertical alignment

setVerticalAlignment

void setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. Possible values are defined in AlignmentConstants.

Parameters:
pVerticalAlignment - the new vertical alignment


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.