javax.rad.ui
Interface IAlignmentConstants
- All Known Subinterfaces:
- IActionComponent, IButton, ICheckBox, ICheckBoxCellEditor<C>, ICheckBoxMenuItem, IChoiceCellEditor<C>, IComboCellEditor, IDateCellEditor, IEditor, IFlowLayout, IFormLayout, IGroupPanel, IIcon, IImageViewer<C>, IInplaceCellEditor, ILabel, ILinkedCellEditor, IMenu, IMenuItem, INumberCellEditor, IPasswordField, IRadioButton, IStyledCellEditor, ITextArea, ITextCellEditor, ITextField, IToggleActionComponent, IToggleButton
- All Known Implementing Classes:
- AbstractCheckBoxCellEditor, AbstractChoiceCellEditor, AbstractComboCellEditor, AbstractDateCellEditor, AbstractImageViewer, AbstractInplaceCellEditor, AbstractLinkedCellEditor, AbstractNumberCellEditor, AbstractStyledCellEditor, AbstractTextCellEditor, AbstractUIActionComponent, AbstractUIButton, AbstractUIMenuItem, AbstractUITextField, AbstractUIToggleButton, AwtComponent, AwtContainer, AwtFlowLayout, AwtFormLayout, JVxCheckBoxCellEditor, JVxChoiceCellEditor, JVxDateCellEditor, JVxEditor, JVxImageViewer, JVxLinkedCellEditor, JVxNumberCellEditor, 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, UICheckBoxCellEditor, UICheckBoxMenuItem, UIChoiceCellEditor, UIComboCellEditor, UIDateCellEditor, UIEditor, UIEnumCellEditor, UIFlowLayout, UIFormLayout, UIGroupPanel, UIIcon, UIImageViewer, UIInplaceCellEditor, UILabel, UILinkedCellEditor, UIMenu, UIMenuItem, UINumberCellEditor, UIPasswordField, UIRadioButton, UITextArea, UITextCellEditor, UITextField, UIToggleButton
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_DEFAULT
Default align is for components, that have the possibility to change align independently. |
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. |
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
ALIGN_DEFAULT
static final int ALIGN_DEFAULT
- Default align is for components, that have the possibility to change align independently.
DEFAULT means, what ever the component want, else use the direct setting.
- 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.