Interface symantec.itools.awt.Orientation
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface symantec.itools.awt.Orientation

public interface Orientation
Orientation is an interface for components that can be oriented either vertically or horizontally.


Variable Index

 o ORIENTATION_HORIZONTAL
Constant specifying horizontal orientation.
 o ORIENTATION_VERTICAL
Constant specifying vertical orientation.

Method Index

 o getOrientation()
Gets the component's current orientation.
 o setOrientation(int)
Sets the component's new orientation.

Variables

 o ORIENTATION_HORIZONTAL
public static final int ORIENTATION_HORIZONTAL
Constant specifying horizontal orientation.

 o ORIENTATION_VERTICAL
public static final int ORIENTATION_VERTICAL
Constant specifying vertical orientation.

Methods

 o getOrientation
public abstract int getOrientation()
Gets the component's current orientation.

Returns:
the current orientation, either ORIENTATION_VERTICAL or ORIENTATION_HORIZONTAL
See Also:
setOrientation
 o setOrientation
public abstract void setOrientation(int o) throws PropertyVetoException
Sets the component's new orientation.

Parameters:
o - desired orientation, either ORIENTATION_VERTICAL or ORIENTATION_HORIZONTAL
Throws: PropertyVetoException
if the specified property value is unacceptable
See Also:
getOrientation

All Packages  Class Hierarchy  This Package  Previous  Next  Index