Interface symantec.itools.awt.AlignStyle
All Packages Class Hierarchy This Package Previous Next Index
Interface symantec.itools.awt.AlignStyle
- public interface AlignStyle
AlignStyle is an interface for components with labels that can be
aligned left, centered, or right.
- Author:
- Symantec
-
ALIGN_CENTERED
- Defines the "center" label text alignment style.
-
ALIGN_LEFT
- Defines the "left" label text alignment style.
-
ALIGN_RIGHT
- Defines the "right" label text alignment style.
-
getAlignStyle()
- Gets the current label alignment style.
-
setAlignStyle(int)
- Sets the new label alignment style.
ALIGN_CENTERED
public static final int ALIGN_CENTERED
- Defines the "center" label text alignment style.
ALIGN_LEFT
public static final int ALIGN_LEFT
- Defines the "left" label text alignment style.
ALIGN_RIGHT
public static final int ALIGN_RIGHT
- Defines the "right" label text alignment style.
getAlignStyle
public abstract int getAlignStyle()
- Gets the current label alignment style.
- Returns:
- the current alignment style, one of ALIGN_LEFT,
ALIGN_CENTERED, or ALIGN_RIGHT
- See Also:
- setAlignStyle, ALIGN_LEFT, ALIGN_CENTERED, ALIGN_RIGHT
setAlignStyle
public abstract void setAlignStyle(int style) throws PropertyVetoException
- Sets the new label alignment style.
- Parameters:
- style - the new alignment style, one of ALIGN_LEFT,
ALIGN_CENTERED, or ALIGN_RIGHT
- Throws: PropertyVetoException
- if the specified property value is unacceptable
- See Also:
- getAlignStyle, ALIGN_LEFT, ALIGN_CENTERED, ALIGN_RIGHT
All Packages Class Hierarchy This Package Previous Next Index