Interface com.symantec.itools.swing.Alignment
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.symantec.itools.swing.Alignment

public interface Alignment
Alignment is an interface for components with labels that can be aligned left, centered, or right.


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 getAlignment()
Gets the current label alignment style.
 o setAlignment(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 getAlignment
public abstract int getAlignment()
Gets the current label alignment style.

Returns:
the current alignment style, one of ALIGN_LEFT, ALIGN_CENTERED, or ALIGN_RIGHT
See Also:
setAlignment, ALIGN_LEFT, ALIGN_CENTERED, ALIGN_RIGHT
 o setAlignment
public abstract void setAlignment(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:
getAlignment, ALIGN_LEFT, ALIGN_CENTERED, ALIGN_RIGHT

All Packages  Class Hierarchy  This Package  Previous  Next  Index