javax.rad.ui
Interface IAlignmentConstants

All Known Subinterfaces:
IActionComponent, IButton, ICheckBox, ICheckBoxMenuItem, IChoiceCellEditor<C>, IDateCellEditor, IFlowLayout, IFormLayout, IGroupPanel, IIcon, IImageViewer<C>, ILabel, ILinkedCellEditor, IMenu, IMenuItem, INumberCellEditor, IPasswordField, IRadioButton, IStyledCellEditor, ITextArea, ITextCellEditor, ITextField, IToggleActionComponent, IToggleButton
All Known Implementing Classes:
AbstractUIActionComponent, AbstractUIButton, AbstractUIMenuItem, AbstractUITextField, AbstractUIToggleButton, AbstractWebActionComponent, AbstractWebFrame, AbstractWebWindow, AwtComponent, AwtContainer, AwtFlowLayout, AwtFormLayout, JVxChoiceCellEditor, JVxDateCellEditor, JVxImageViewer, JVxLinkedCellEditor, JVxNumberCellEditor, JVxStyledCellEditor, JVxTextCellEditor, LinkTableCache, QtAbstractButton, QtAbstractFrame, QtApplication, QtButton, QtCheckBox, QtCheckBoxMenuItem, QtComponent, QtContainer, QtDesktopPanel, QtEditor, QtFlowLayout, QtFormLayout, QtFrame, QtGroupPanel, QtIcon, QtInternalFrame, QtLabel, QtMenu, QtMenuBar, QtMenuItem, QtPanel, QtPasswordField, QtPopupMenu, QtRadioButton, QtSplitPanel, QtTable, QtTabsetPanel, QtTextArea, QtTextField, QtToggleButton, QtToolBar, QtToolBarPanel, QVxChoiceCellEditor, QVxDateCellEditor, QVxImageViewer, QVxLinkedCellEditor, QVxNumberCellEditor, QVxStyledCellEditor, QVxTextCellEditor, SwingAbstractButton, SwingAbstractFrame, SwingApplet.SwingAppletLauncher, SwingApplication, SwingButton, SwingCheckBox, SwingCheckBoxMenuItem, SwingComponent, SwingDesktopPanel, SwingEditor, SwingFrame, SwingGroupPanel, SwingIcon, SwingInternalFrame, SwingLabel, SwingMenu, SwingMenuBar, SwingMenuItem, SwingPanel, SwingPasswordField, SwingPopupMenu, SwingRadioButton, SwingScrollComponent, SwingSplitPanel, SwingTable, SwingTabsetPanel, SwingTextArea, SwingTextComponent, SwingTextField, SwingToggleButton, SwingToolBar, SwingToolBarPanel, SwingTree, UIButton, UICellEditor, UICheckBox, UICheckBoxMenuItem, UIChoiceCellEditor, UIDateCellEditor, UIFlowLayout, UIFormLayout, UIGroupPanel, UIIcon, UIImageViewer, UILabel, UILinkedCellEditor, UIMenu, UIMenuItem, UINumberCellEditor, UIPasswordField, UIRadioButton, UITextArea, UITextCellEditor, UITextField, UIToggleButton, WebButton, WebCellEditor, WebCheckBox, WebCheckBoxMenuItem, WebChoiceCellEditor, WebComponent, WebContainer, WebCustomComponent, WebCustomContainer, WebDateCellEditor, WebDesktopPanel, WebEditor, WebFlowLayout, WebFormLayout, WebFrame, WebGroupPanel, WebIcon, WebImageViewer, WebInternalFrame, WebLabel, WebLauncher, WebLinkedCellEditor, WebMenu, WebMenuBar, WebMenuItem, WebNumberCellEditor, WebPanel, WebPasswordField, WebPopupMenu, WebRadioButton, WebSeperator, WebSplitPanel, WebTable, WebTabsetPanel, WebTextArea, WebTextCellEditor, WebTextField, WebToggleButton, WebToolBar, WebToolBarPanel, WebTree, WebWindow

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.