* Sets the direction into which the tab opens.
* @param direction the direction or <code>null</code> to let the system
* decide automatically
*/
public void setDirection( FlapDockStation.Direction direction ){
FlapDockStation station = getStation();
if( direction == null ){
station.setAutoDirection( true );
}
else{
station.setAutoDirection( false );
station.setDirection( direction );
}
}