com.swfm.mica.core
Interface MiiOrientablePart

All Known Subinterfaces:
MiiManipulatableLayout
All Known Implementing Classes:
MiManipulatableLayout, MiToolBar, MiTreeGraphLayout

public interface MiiOrientablePart

Version:
%I% %G%
Author:
Michael L. Davis

Method Summary
 void cycleOrientation()
          Changes to the next supported orientation.
 int getOrientation()
          Gets the orientation.
 boolean isOrientationFixed()
          Gets whether the orientation can be changed.
 void setOrientation(int orientation)
          Sets the orientation.
 

Method Detail

isOrientationFixed

public boolean isOrientationFixed()
Gets whether the orientation can be changed.

Returns:
true if the orientation cannot be changed

setOrientation

public void setOrientation(int orientation)
Sets the orientation. Typically the valid values are: Mi_HORIZONTAL Mi_VERTICAL However, the implementation is free to define it's own, custom orientations.

Parameters:
orientation - the orientation

getOrientation

public int getOrientation()
Gets the orientation. Typically the valid values are: Mi_HORIZONTAL Mi_VERTICAL However, the implementation is free to define it's own, custom orientations.

Returns:
the orientation

cycleOrientation

public void cycleOrientation()
Changes to the next supported orientation.