BrightSide Workbench Full Report + Source Code
org.turro.zkoss.dialog.PreviewHtml Class Reference
Inheritance diagram for org.turro.zkoss.dialog.PreviewHtml:
Collaboration diagram for org.turro.zkoss.dialog.PreviewHtml:

Public Member Functions

void setPublication (String publication)
 

Static Public Member Functions

static void preview (String html) throws InterruptedException
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file PreviewHtml.java.

Member Function Documentation

◆ preview()

static void org.turro.zkoss.dialog.PreviewHtml.preview ( String  html) throws InterruptedException
static

Definition at line 51 of file PreviewHtml.java.

51  {
52  Framework frame = Framework.getCurrent();
53  if(html != null) {
54  PreviewHtml ph = new PreviewHtml();
55  ph.setPage(frame.getPage());
56  ph.setMode("modal");
57  ph.setBorder("normal");
58  ph.setTitle(I_.get("Preview"));
59  ph.setClosable(true);
60  ph.setSizable(true);
61  ph.setMaximizable(true);
62  ph.setWidth("700px");
63  ph.setHeight("600px");
64  ph.setPublication(html);
65  ph.setMaximized(false);
66  Modal.doModal(ph, null);
67  }
68  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPublication()

void org.turro.zkoss.dialog.PreviewHtml.setPublication ( String  publication)

Definition at line 36 of file PreviewHtml.java.

36  {
37  addDefaults();
38  html.setContent(publication);
39  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: