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.
-
ORIENTATION_HORIZONTAL
- Constant specifying horizontal orientation.
-
ORIENTATION_VERTICAL
- Constant specifying vertical orientation.
-
getOrientation()
- Gets the component's current orientation.
-
setOrientation(int)
- Sets the component's new orientation.
ORIENTATION_HORIZONTAL
public static final int ORIENTATION_HORIZONTAL
- Constant specifying horizontal orientation.
ORIENTATION_VERTICAL
public static final int ORIENTATION_VERTICAL
- Constant specifying vertical orientation.
getOrientation
public abstract int getOrientation()
- Gets the component's current orientation.
- Returns:
- the current orientation, either ORIENTATION_VERTICAL or
ORIENTATION_HORIZONTAL
- See Also:
- setOrientation
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