|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.ui.AbstractComponent
info.magnolia.ui.vaadin.dialog.BaseDialog
public class BaseDialog
Basic implementation of dialogs. Is capable of displaying any content inside it's content component. Provides Action registration and callbacks to the view.
Nested Class Summary | |
---|---|
static class |
BaseDialog.DialogCloseEvent
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 |
---|
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 | |
---|---|
BaseDialog()
|
Method Summary | |
---|---|
void |
addAction(String actionName,
String actionLabel)
|
void |
addAction(String actionName,
String actionLabel,
DialogView.DialogActionListener callback)
|
void |
addActionCallback(String actionName,
DialogView.DialogActionListener callback)
|
void |
addDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler)
|
BaseDialog |
asVaadinComponent()
|
void |
attach()
|
void |
callFromClient(String method,
Object[] params)
|
void |
changeVariables(Object source,
Map<String,Object> variables)
|
void |
clearCallbacks()
|
void |
closeSelf()
|
protected com.vaadin.ui.Component |
createDefaultContent()
|
void |
detach()
|
com.vaadin.ui.Component |
getContent()
|
Object[] |
initRequestFromClient()
|
void |
paintContent(com.vaadin.terminal.PaintTarget target)
|
void |
removeDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler)
|
void |
setActionLabel(String actionName,
String newLabel)
|
void |
setCaption(String caption)
|
void |
setContent(com.vaadin.ui.Component content)
|
void |
setDialogDescription(String description)
|
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 |
Constructor Detail |
---|
public BaseDialog()
Method Detail |
---|
public void setContent(com.vaadin.ui.Component content)
public void paintContent(com.vaadin.terminal.PaintTarget target) throws com.vaadin.terminal.PaintException
paintContent
in class com.vaadin.ui.AbstractComponent
com.vaadin.terminal.PaintException
public void changeVariables(Object source, Map<String,Object> variables)
changeVariables
in interface com.vaadin.terminal.VariableOwner
changeVariables
in class com.vaadin.ui.AbstractComponent
public com.vaadin.ui.Component getContent()
public void attach()
attach
in interface com.vaadin.ui.Component
attach
in class com.vaadin.ui.AbstractComponent
public void detach()
detach
in interface com.vaadin.ui.Component
detach
in class com.vaadin.ui.AbstractComponent
public void closeSelf()
public void addAction(String actionName, String actionLabel)
public void setActionLabel(String actionName, String newLabel)
public void setDialogDescription(String description)
setDialogDescription
in interface DialogView
public void setCaption(String caption)
setCaption
in interface com.vaadin.ui.Component
setCaption
in interface DialogView
setCaption
in class com.vaadin.ui.AbstractComponent
protected com.vaadin.ui.Component createDefaultContent()
public Object[] initRequestFromClient()
initRequestFromClient
in interface org.vaadin.rpc.ServerSideHandler
public void callFromClient(String method, Object[] params)
callFromClient
in interface org.vaadin.rpc.ServerSideHandler
public BaseDialog asVaadinComponent()
asVaadinComponent
in interface info.magnolia.ui.framework.view.View
asVaadinComponent
in interface DialogView
public void addAction(String actionName, String actionLabel, DialogView.DialogActionListener callback)
public void addActionCallback(String actionName, DialogView.DialogActionListener callback)
public void addDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler)
public void removeDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler)
public void clearCallbacks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |