/** * Creates an instance for a given frame. */ FrameWindow(final BaseFrameElement frame) { super(frame.getPage().getWebClient()); frame_ = frame; final WebWindowImpl parent = (WebWindowImpl) getParentWindow(); performRegistration(); parent.addChildWindow(this); }
/** * Creates an instance for a given frame. */ FrameWindow(final BaseFrame frame) { super(frame.getPage().getWebClient()); frame_ = frame; final WebWindowImpl parent = (WebWindowImpl) getParentWindow(); performRegistration(); parent.addChildWindow(this); }
/** * Creates an instance for a given frame. */ FrameWindow(final BaseFrameElement frame) { super(frame.getPage().getWebClient()); frame_ = frame; performRegistration(); final WebWindowImpl parent = (WebWindowImpl) frame_.getPage().getEnclosingWindow(); parent.addChildWindow(this); }