Interface Dialog
- All Superinterfaces:
org.timepedia.exporter.client.Exportable
public interface Dialog
extends org.timepedia.exporter.client.Exportable
Dialog in FirstSpirit WebEdit style.
- Since:
- 5.0.106
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAdds a button to the dialog.voidhide()Sets the dialog invisible.voidsetContent(com.google.gwt.dom.client.Element element) Sets the inner content of this dialog.voidsetSize(int width, int height) Sets the dialog size.voidSets dialog's title.voidshow()Sets the dialog visible.
-
Method Details
-
setTitle
Sets dialog's title.- Parameters:
title- dialog title.- Since:
- 5.0.106
-
setContent
void setContent(com.google.gwt.dom.client.Element element) Sets the inner content of this dialog.- Parameters:
element- html content.- Since:
- 5.0.106
-
addButton
Adds a button to the dialog.- Parameters:
text- button label.clickHandler- called when the user clicks the button.- Returns:
- button to
enabled/disableit. - Since:
- 5.0.106
-
setSize
void setSize(int width, int height) Sets the dialog size.- Parameters:
width- total width of the dialog.height- total height of the dialog.- Since:
- 5.0.106
-
show
void show()Sets the dialog visible. Important: The caller is responsible tohidethe dialog, e.g. after pressing abutton.- Since:
- 5.0.106
-
hide
void hide()Sets the dialog invisible.- Since:
- 5.0.106
-