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
-
Method Summary
Modifier and TypeMethodDescriptionAdds a button to the dialog.void
hide()
Sets the dialog invisible.void
setContent
(com.google.gwt.dom.client.Element element) Sets the inner content of this dialog.void
setSize
(int width, int height) Sets the dialog size.void
Sets dialog's title.void
show()
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/disable
it. - 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 tohide
the dialog, e.g. after pressing abutton
.- Since:
- 5.0.106
-
hide
void hide()Sets the dialog invisible.- Since:
- 5.0.106
-