public CStationPerspective createPerspective(){ return new CMinimizePerspective( getUniqueId(), getTypeId() ); }
/** * Creates a new minimize area. * @param control the control for which this area will be used * @param uniqueId the unique uniqueId of this area */ public CMinimizeArea( CControl control, String uniqueId ){ init( control, uniqueId ); }
this.uniqueId = uniqueId; setLayout( new BorderLayout() ); add( getStation().getComponent(), BorderLayout.CENTER ); setDirection( null );
/** * Creates a new area where minimized {@link CDockable}s can be stored. This * method adds the new area directly as a root station to this control. * @param uniqueId a unique identifier * @return the new area */ public CMinimizeArea createMinimizeArea( String uniqueId ){ CMinimizeArea area = new CMinimizeArea( this, uniqueId ); addStation( area, true ); return area; }
@Override public String findRoot() { return area.getUniqueId(); }
/** * 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 ); } } }
this.uniqueId = uniqueId; setLayout( new BorderLayout() ); add( getStation().getComponent(), BorderLayout.CENTER ); setDirection( null );
/** * Creates a new area where minimized {@link CDockable}s can be stored. This * method adds the new area directly as a root station to this control. * @param uniqueId a unique identifier * @return the new area */ public CMinimizeArea createMinimizeArea( String uniqueId ){ CMinimizeArea area = new CMinimizeArea( this, uniqueId ); addStation( area, true ); return area; }
@Override public String findRoot() { return area.getUniqueId(); }
/** * 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 ); } } }
public CStationPerspective createPerspective(){ return new CMinimizePerspective( getUniqueId(), getTypeId() ); }
/** * Creates a new minimize area. * @param control the control for which this area will be used * @param uniqueId the unique uniqueId of this area */ public CMinimizeArea( CControl control, String uniqueId ){ init( control, uniqueId ); }