org.hudsonci.gwt.common.alertdialog.internal
Class AlertDialogViewImpl

java.lang.Object
  extended by org.hudsonci.gwt.common.alertdialog.internal.AlertDialogViewImpl
All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget, AlertDialogView

public class AlertDialogViewImpl
extends Object
implements AlertDialogView

Default implementation of AlertDialogView.

Since:
2.1.0
Author:
Jason Dillon

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hudsonci.gwt.common.alertdialog.AlertDialogView
AlertDialogView.MessagesResource
 
Constructor Summary
AlertDialogViewImpl(AlertDialogView.MessagesResource messages)
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget asWidget()
           
 void hide()
           
 void setBodyMessage(String message)
           
 void setCallback(AlertDialogPresenter.OkCallback callback)
           
 void setTitleMessage(String title)
           
 void show()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertDialogViewImpl

@Inject
public AlertDialogViewImpl(AlertDialogView.MessagesResource messages)
Method Detail

asWidget

public com.google.gwt.user.client.ui.Widget asWidget()
Specified by:
asWidget in interface com.google.gwt.user.client.ui.IsWidget

setTitleMessage

public void setTitleMessage(String title)
Specified by:
setTitleMessage in interface AlertDialogView

setBodyMessage

public void setBodyMessage(String message)
Specified by:
setBodyMessage in interface AlertDialogView

show

public void show()
Specified by:
show in interface AlertDialogView

hide

public void hide()
Specified by:
hide in interface AlertDialogView

setCallback

public void setCallback(AlertDialogPresenter.OkCallback callback)
Specified by:
setCallback in interface AlertDialogView


Copyright © 2004-2011 Hudson. All Rights Reserved.