it.tidalwave.util.ui
Class UserNotificationWithFeedback

Package class diagram package UserNotificationWithFeedback
java.lang.Object
  extended by it.tidalwave.util.ui.UserNotification
      extended by it.tidalwave.util.ui.UserNotificationWithFeedback

@Immutable
public class UserNotificationWithFeedback
extends UserNotification

Version:
$Id$
Author:
Fabrizio Giudici

Nested Class Summary
static class UserNotificationWithFeedback.Feedback
           
 
Field Summary
protected  UserNotificationWithFeedback.Feedback feedback
           
 
Fields inherited from class it.tidalwave.util.ui.UserNotification
caption, text
 
Constructor Summary
protected UserNotificationWithFeedback(java.lang.String text, java.lang.String caption, UserNotificationWithFeedback.Feedback feedback)
           
 
Method Summary
 void cancel()
           
 void confirm()
           
static UserNotificationWithFeedback notificationWithFeedback()
           
 UserNotificationWithFeedback withCaption(java.lang.Class<?> bundleClass, java.lang.String resourceName, java.lang.Object... params)
           
 UserNotificationWithFeedback withCaption(java.lang.String caption)
           
 UserNotificationWithFeedback withFeedback(UserNotificationWithFeedback.Feedback feedback)
           
 UserNotificationWithFeedback withText(java.lang.Class<?> bundleClass, java.lang.String resourceName, java.lang.Object... params)
           
 UserNotificationWithFeedback withText(java.lang.String text)
           
 
Methods inherited from class it.tidalwave.util.ui.UserNotification
notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

feedback

protected final UserNotificationWithFeedback.Feedback feedback
Constructor Detail

UserNotificationWithFeedback

protected UserNotificationWithFeedback(@Nonnull
                                       java.lang.String text,
                                       @Nonnull
                                       java.lang.String caption,
                                       @Nonnull
                                       UserNotificationWithFeedback.Feedback feedback)
Method Detail

notificationWithFeedback

@Nonnull
public static UserNotificationWithFeedback notificationWithFeedback()

withCaption

@Nonnull
public UserNotificationWithFeedback withCaption(@Nonnull
                                                        java.lang.String caption)
Overrides:
withCaption in class UserNotification

withText

@Nonnull
public UserNotificationWithFeedback withText(@Nonnull
                                                     java.lang.String text)
Overrides:
withText in class UserNotification

withCaption

@Nonnull
public UserNotificationWithFeedback withCaption(@Nonnull
                                                        java.lang.Class<?> bundleClass,
                                                        @Nonnull
                                                        java.lang.String resourceName,
                                                        @Nonnull
                                                        java.lang.Object... params)
Overrides:
withCaption in class UserNotification

withText

@Nonnull
public UserNotificationWithFeedback withText(@Nonnull
                                                     java.lang.Class<?> bundleClass,
                                                     @Nonnull
                                                     java.lang.String resourceName,
                                                     @Nonnull
                                                     java.lang.Object... params)
Overrides:
withText in class UserNotification

withFeedback

@Nonnull
public UserNotificationWithFeedback withFeedback(@Nonnull
                                                         UserNotificationWithFeedback.Feedback feedback)

confirm

public void confirm()
             throws java.lang.Exception
Throws:
java.lang.Exception

cancel

public void cancel()
            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009-2011 Tidalwave s.a.s.. All Rights Reserved.