/** * Adds <code>dockable</code> with boundaries <code>bounds</code> to this perspective. * @param dockable the element to add * @param bounds the boundaries of <code>dockable</code> */ public void add( PerspectiveDockable dockable, Rectangle bounds ){ add( dockable, bounds, false ); }
/** * Adds <code>dockable</code> with boundaries <code>bounds</code> to this perspective. * @param dockable the element to add * @param bounds the boundaries of <code>dockable</code> */ public void add( PerspectiveDockable dockable, Rectangle bounds ){ add( dockable, bounds, false ); }
/** * Adds <code>dockable</code> width boundaries <code>bounds</code> to this perspective * @param dockable the element to add, not <code>null</code> * @param bounds the boundaries of <code>dockable</code> * @param fullscreen whether <code>dockable</code> should be extended to fullscreen mode */ public void add( PerspectiveDockable dockable, Rectangle bounds, boolean fullscreen ){ add( dockable, bounds.x, bounds.y, bounds.width, bounds.height, fullscreen ); }
/** * Adds <code>dockable</code> width boundaries <code>bounds</code> to this perspective * @param dockable the element to add, not <code>null</code> * @param bounds the boundaries of <code>dockable</code> * @param fullscreen whether <code>dockable</code> should be extended to fullscreen mode */ public void add( PerspectiveDockable dockable, Rectangle bounds, boolean fullscreen ){ add( dockable, bounds.x, bounds.y, bounds.width, bounds.height, fullscreen ); }
/** * Adds <code>dockable</code> at location <code>x/y</code> with size <code>width/height</code> to * this perspective. * @param dockable the element to add, not <code>null</code> * @param x the x-coordinate on the screen * @param y the y-coordinate on the screen * @param width the width of the window * @param height the height of the window */ public void add( PerspectiveDockable dockable, int x, int y, int width, int height ){ add( dockable, x, y, width, height, false ); }
/** * Adds <code>dockable</code> at location <code>x/y</code> with size <code>width/height</code> to * this perspective. * @param dockable the element to add, not <code>null</code> * @param x the x-coordinate on the screen * @param y the y-coordinate on the screen * @param width the width of the window * @param height the height of the window */ public void add( PerspectiveDockable dockable, int x, int y, int width, int height ){ add( dockable, x, y, width, height, false ); }