Saturday, June 2, 2012

Re: can DialogBox has a "x" close button in the upper right hand corner like most window have?



On Saturday, June 2, 2012 5:32:50 PM UTC+2, tong123123 wrote:
if the source checked out is not wrong, I see the following
public static class CaptionImpl extends HTML implements Caption {

    public CaptionImpl() {
      super();
      setStyleName("Caption");
    }
  }

in class DialogBox source file,
but

com.google.gwt.user.client.ui.DialogBox.Caption has the following interface

addMouseDownHandler,addMouseUpHandler,addMouseOutHandler,addMouseOverHandler
addMouseMoveHandler,fireEvent, getHTML, setHTML, getText, setText,
setHTML, asWidget
so how could the com.google.gwt.user.client.ui.DialogBox.CaptionImpl implement Caption Inteface???

All those methods are inherited from the com.google.gwt.user.client.ui.HTML super-class.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ls_2JM-_KvgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment