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

Variable Index

 o ALIGN_CENTERED
Defines the "center" label text alignment style.
 o ALIGN_LEFT
Defines the "left" label text alignment style.
 o ALIGN_RIGHT
Defines the "right" label text alignment style.

Method Index

 o getAlignStyle()
Gets the current label alignment style.
 o setAlignStyle(int)
Sets the new label alignment style.

Variables

 o ALIGN_CENTERED
public static final int ALIGN_CENTERED
Defines the "center" label text alignment style.

 o ALIGN_LEFT
public static final int ALIGN_LEFT
Defines the "left" label text alignment style.

 o ALIGN_RIGHT
public static final int ALIGN_RIGHT
Defines the "right" label text alignment style.

Methods

 o 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
 o 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