info.magnolia.ui.vaadin.dialog
Class ConfirmationDialog

java.lang.Object
  extended by com.vaadin.ui.AbstractComponent
      extended by info.magnolia.ui.vaadin.dialog.BaseDialog
          extended by info.magnolia.ui.vaadin.dialog.ConfirmationDialog
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, info.magnolia.ui.framework.view.View, DialogView, Serializable, EventListener, org.vaadin.rpc.ServerSideHandler

public class ConfirmationDialog
extends BaseDialog

ConfirmationDialog.

See Also:
Serialized Form

Nested Class Summary
static class ConfirmationDialog.ConfirmationEvent
          ConfirmationEvent.
 
Nested classes/interfaces inherited from class info.magnolia.ui.vaadin.dialog.BaseDialog
BaseDialog.DialogCloseEvent
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
 
Nested classes/interfaces inherited from interface info.magnolia.ui.vaadin.dialog.DialogView
DialogView.DialogActionListener
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
 
Field Summary
static String CONFIRM_ACTION
           
static String REJECT_ACTION
           
 
Fields inherited from interface com.vaadin.terminal.Sizeable
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
ConfirmationDialog(String message)
           
 
Method Summary
 void addConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)
           
protected  com.vaadin.ui.Component createDefaultContent()
           
 String getMessage()
           
 void removeConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)
           
 void setConfirmActionLabel(String label)
           
 void setContent(com.vaadin.ui.Component content)
           
 void setMessage(String message)
           
 void setRejectActionLabel(String label)
           
 
Methods inherited from class info.magnolia.ui.vaadin.dialog.BaseDialog
addAction, addAction, addActionCallback, addDialogCloseHandler, asVaadinComponent, attach, callFromClient, changeVariables, clearCallbacks, closeSelf, detach, getContent, initRequestFromClient, paintContent, removeDialogCloseHandler, setActionLabel, setCaption, setDialogDescription
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setComponentError, setData, setDebugId, setDescription, setEnabled, setErrorHandler, setHeight, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidth, setWidthUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.vaadin.rpc.ServerSideHandler
requestRepaint
 

Field Detail

CONFIRM_ACTION

public static final String CONFIRM_ACTION
See Also:
Constant Field Values

REJECT_ACTION

public static final String REJECT_ACTION
See Also:
Constant Field Values
Constructor Detail

ConfirmationDialog

public ConfirmationDialog(String message)
Method Detail

setConfirmActionLabel

public void setConfirmActionLabel(String label)

setRejectActionLabel

public void setRejectActionLabel(String label)

setMessage

public void setMessage(String message)

getMessage

public String getMessage()

setContent

public void setContent(com.vaadin.ui.Component content)
Overrides:
setContent in class BaseDialog

createDefaultContent

protected com.vaadin.ui.Component createDefaultContent()
Overrides:
createDefaultContent in class BaseDialog

addConfirmationHandler

public void addConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)

removeConfirmationHandler

public void removeConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)


Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.