public OverlayComposite addOverlay(Overlay overlay) { OverlayComposite newOverlayComp = new OverlayComposite(overlay); newOverlayComp.setHashID(this.visibleOverlayList.size(), this); this.visibleOverlayList.add(newOverlayComp); return newOverlayComp; }
public OverlayComposite quickAddOverlay(Overlay overlay) { OverlayComposite newOverlayComp = new OverlayComposite(overlay); newOverlayComp.setHashID(0, this); newOverlayComp.toggle(); return newOverlayComp; }
public OverlayComposite showOverlay(OverlayComposite overlay) { overlay.setHashID(visibleOverlayList.size(), this); visibleOverlayList.add(overlay); return overlay; }