javax.rad.ui
Interface IAlignmentConstants
- All Known Subinterfaces:
- IActionComponent, IButton, ICheckBox, ICheckBoxMenuItem, IChoiceCellEditor<C>, IComboCellEditor, IDateCellEditor, IFlowLayout, IFormLayout, IGroupPanel, IIcon, IImageViewer<C>, IInplaceCellEditor, ILabel, ILinkedCellEditor, IMenu, IMenuItem, INumberCellEditor, IPasswordField, IRadioButton, IStyledCellEditor, ITextArea, ITextCellEditor, ITextField, IToggleActionComponent, IToggleButton
- All Known Implementing Classes:
- AbstractUIActionComponent, AbstractUIButton, AbstractUIMenuItem, AbstractUITextField, AbstractUIToggleButton, AwtComponent, AwtContainer, AwtFlowLayout, AwtFormLayout, JVxChoiceCellEditor, JVxComboCellEditor, JVxDateCellEditor, JVxImageViewer, JVxInplaceCellEditor, JVxLinkedCellEditor, JVxNumberCellEditor, JVxStyledCellEditor, JVxTextCellEditor, SwingAbstractButton, SwingAbstractFrame, SwingApplet.SwingAppletLauncher, SwingApplication, SwingButton, SwingChart, SwingCheckBox, SwingCheckBoxMenuItem, SwingComponent, SwingDesktopPanel, SwingEditor, SwingFrame, SwingGroupPanel, SwingIcon, SwingInternalFrame, SwingLabel, SwingMenu, SwingMenuBar, SwingMenuItem, SwingPanel, SwingPasswordField, SwingPopupMenu, SwingRadioButton, SwingScrollComponent, SwingScrollPanel, SwingSeparator, SwingSplitPanel, SwingTable, SwingTabsetPanel, SwingTextArea, SwingTextComponent, SwingTextField, SwingToggleButton, SwingToolBar, SwingToolBarPanel, SwingTree, UIButton, UICellEditor, UICheckBox, UICheckBoxMenuItem, UIChoiceCellEditor, UIComboCellEditor, UIDateCellEditor, UIFlowLayout, UIFormLayout, UIGroupPanel, UIIcon, UIImageViewer, UIInplaceCellEditor, UILabel, UILinkedCellEditor, UIMenu, UIMenuItem, UINumberCellEditor, UIPasswordField, UIRadioButton, UITextArea, UITextCellEditor, UITextField, UIToggleButton
public interface IAlignmentConstants
Alignment constants definitions.
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
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.