/** * Adds a placeholder for <code>dockable</code> and all its children to this * station. * @param dockable the element whose placeholder should be inserted * @param bounds the location and size of <code>dockable</code> */ public void addPlaceholder( PerspectiveDockable dockable, Rectangle bounds ){ addPlaceholder( dockable, bounds.x, bounds.y, bounds.width, bounds.height ); }
/** * Adds <code>placeholder</code> to this station. * @param placeholder the placeholder to add * @param bounds the location and size of <code>placeholder</code> */ public void addPlaceholder( Path placeholder, Rectangle bounds ){ addPlaceholder( placeholder, bounds.x, bounds.y, bounds.width, bounds.height ); }
/** * Adds a placeholder for <code>dockable</code> and all its children to this * station. * @param dockable the element whose placeholder should be inserted * @param bounds the location and size of <code>dockable</code> */ public void addPlaceholder( PerspectiveDockable dockable, Rectangle bounds ){ addPlaceholder( dockable, bounds.x, bounds.y, bounds.width, bounds.height ); }