/** * 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 ); } } }
/** * 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 ); } } }
add( getStation().getComponent(), BorderLayout.CENTER );
add( getStation().getComponent(), BorderLayout.CENTER );