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

Public Member Functions

void startComposing (String onUserEvent, String width, String height, double scale)
 
void example ()
 
void generateContent (Map args)
 
void clear ()
 
void circle (int x, int y, int r)
 
void circle (int x, int y, int r, double opacity)
 
void circle (int x, int y, int r, String stroke, String strokeWidth, String fill, double opacity)
 
void line (int x1, int y1, int x2, int y2, String stroke, String strokeWidth)
 
void line (int x1, int y1, int x2, int y2, String stroke, String strokeWidth, double opacity)
 
void rectangle (int x, int y, int width, int height, String fill)
 
void rectangle (int x, int y, int width, int height, String fill, double opacity)
 
void rectangle (int x, int y, int width, int height, String fill, double opacity, String tooltip)
 
void roundRectangle (int x, int y, int width, int height, String fill)
 
void roundRectangle (int x, int y, int width, int height, String fill, double opacity)
 
void roundRectangle (int x, int y, int width, int height, String fill, double opacity, String tooltip)
 
void roundRectangle (int x, int y, int rx, int ry, int width, int height, String fill, double opacity)
 
void roundRectangle (int x, int y, int rx, int ry, int width, int height, String fill, double opacity, String tooltip)
 
void text (String text, int x, int y)
 
void text (String text, int x, int y, String tooltip)
 
void span (int x, int y, int width, int height, String fill, double opacity)
 
void roundSpan (int x, int y, int width, int height, String fill, double opacity)
 
void shadowedSpan (int x, int y, int width, int height, String fill, double opacity)
 
void shadowedRoundSpan (int x, int y, int width, int height, String fill, double opacity)
 
void shadowedLine (int x1, int y1, int x2, int y2, String stroke, String strokeWidth, double opacity)
 
void shadowedRectangle (int x, int y, int width, int height, String fill, double opacity)
 
void shadowedRoundRectangle (int x, int y, int width, int height, String fill, double opacity, String tooltip)
 
void setForceStyle (String forceStyle)
 
void setForceTransform (String forceTransform)
 
void setClickElementData (String clickElementData)
 
HTMLGenerator writeSeparator ()
 
HTMLGenerator writeNewLine ()
 
HTMLGenerator writeHorizontalStrut (int pixels)
 
HTMLGenerator write (String value)
 
HTMLGenerator startTag (String tag, String[] attributes)
 
HTMLGenerator startTag (String tag, String attributes)
 
HTMLGenerator startTag (String tag)
 
HTMLGenerator startTableRow (String[] attributes)
 
HTMLGenerator startTableRow (String attributes)
 
HTMLGenerator startTableCol (String[] attributes)
 
HTMLGenerator startTableCol (String attributes)
 
HTMLGenerator startTable (String[] attributes)
 
HTMLGenerator startTable (String attributes)
 
HTMLGenerator startJavaScript ()
 
HTMLGenerator startExtAnchor (String url, String hint)
 
HTMLGenerator startCSS ()
 
HTMLGenerator startAnchor (String url, String hint, String cssClass, String onClick)
 
HTMLGenerator startAnchor (String url, String hint, String cssClass)
 
HTMLGenerator startAnchor (String url, String hint)
 
void setOut (Writer out)
 
HTMLGenerator endTag (String tag)
 
HTMLGenerator endTag ()
 
HTMLGenerator endTableRow ()
 
HTMLGenerator endTableCol ()
 
HTMLGenerator endTable ()
 
HTMLGenerator endJavaScript ()
 
HTMLGenerator endCSS ()
 
HTMLGenerator endBeforeTag (String tag)
 
HTMLGenerator endAllTags ()
 
HTMLGenerator doTag (String tag, String[] attributes)
 
HTMLGenerator doTag (String tag, String attributes)
 
HTMLGenerator doTag (String tag)
 
boolean checkTag (String tag)
 
HTMLGenerator addJavaScriptLink (String jsFile)
 
HTMLGenerator addCSSLink (String cssFile)
 

Detailed Description

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

Definition at line 34 of file Svg.java.

Member Function Documentation

◆ addCSSLink()

HTMLGenerator org.turro.zkoss.svg.Svg.addCSSLink ( String  cssFile)

Definition at line 430 of file Svg.java.

430  {
431  return htmlGenerator.addCSSLink(cssFile);
432  }
HTMLGenerator addCSSLink(String cssFile)
Here is the call graph for this function:

◆ addJavaScriptLink()

HTMLGenerator org.turro.zkoss.svg.Svg.addJavaScriptLink ( String  jsFile)

Definition at line 426 of file Svg.java.

426  {
427  return htmlGenerator.addJavaScriptLink(jsFile);
428  }
HTMLGenerator addJavaScriptLink(String jsFile)
Here is the call graph for this function:

◆ checkTag()

boolean org.turro.zkoss.svg.Svg.checkTag ( String  tag)

Definition at line 422 of file Svg.java.

422  {
423  return htmlGenerator.checkTag(tag);
424  }
boolean checkTag(String tag)
Here is the call graph for this function:

◆ circle() [1/3]

void org.turro.zkoss.svg.Svg.circle ( int  x,
int  y,
int  r 
)

Definition at line 82 of file Svg.java.

82  {
83  circle(x, y, r, 1.0);
84  }
void circle(int x, int y, int r)
Definition: Svg.java:82
Here is the caller graph for this function:

◆ circle() [2/3]

void org.turro.zkoss.svg.Svg.circle ( int  x,
int  y,
int  r,
double  opacity 
)

Definition at line 86 of file Svg.java.

86  {
87  circle(x, y, r, null, null, null, opacity);
88  }
Here is the call graph for this function:

◆ circle() [3/3]

void org.turro.zkoss.svg.Svg.circle ( int  x,
int  y,
int  r,
String  stroke,
String  strokeWidth,
String  fill,
double  opacity 
)

Definition at line 90 of file Svg.java.

90  {
91  doTag("n:circle", new String[] {
92  "cx='" + x + "'",
93  "cy='" + y + "'",
94  "r='" + r + "'",
95  (stroke == null ? null : "stroke='" + stroke + "'"),
96  (strokeWidth == null ? null : "stroke-width='" + strokeWidth + "'"),
97  (fill == null ? null : "fill='" + fill + "'"),
98  "opacity='" + opacity + "'",
99  forceStyle != null ? "style='" + forceStyle + "'" : null,
100  forceTransform != null ? "transform='" + forceTransform + "'" : null,
101  clickElement != null ? "onclick=\"" + clickElement + "\"" : null
102  });
103  forceStyle = null;
104  forceTransform = null;
105  clickElement = null;
106  }
HTMLGenerator doTag(String tag, String[] attributes)
Definition: Svg.java:410
Here is the call graph for this function:

◆ clear()

void org.turro.zkoss.svg.Svg.clear ( )

Definition at line 78 of file Svg.java.

78  {
79  htmlGenerator = new HTMLGenerator();
80  }
Here is the caller graph for this function:

◆ doTag() [1/3]

HTMLGenerator org.turro.zkoss.svg.Svg.doTag ( String  tag)

Definition at line 418 of file Svg.java.

418  {
419  return htmlGenerator.doTag(tag);
420  }
HTMLGenerator doTag(String tag)
Here is the call graph for this function:

◆ doTag() [2/3]

HTMLGenerator org.turro.zkoss.svg.Svg.doTag ( String  tag,
String  attributes 
)

Definition at line 414 of file Svg.java.

414  {
415  return htmlGenerator.doTag(tag, attributes);
416  }
Here is the call graph for this function:

◆ doTag() [3/3]

HTMLGenerator org.turro.zkoss.svg.Svg.doTag ( String  tag,
String[]  attributes 
)

Definition at line 410 of file Svg.java.

410  {
411  return htmlGenerator.doTag(tag, attributes);
412  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ endAllTags()

HTMLGenerator org.turro.zkoss.svg.Svg.endAllTags ( )

Definition at line 406 of file Svg.java.

406  {
407  return htmlGenerator.endAllTags();
408  }
Here is the call graph for this function:

◆ endBeforeTag()

HTMLGenerator org.turro.zkoss.svg.Svg.endBeforeTag ( String  tag)

Definition at line 402 of file Svg.java.

402  {
403  return htmlGenerator.endBeforeTag(tag);
404  }
HTMLGenerator endBeforeTag(String tag)
Here is the call graph for this function:

◆ endCSS()

HTMLGenerator org.turro.zkoss.svg.Svg.endCSS ( )

Definition at line 398 of file Svg.java.

398  {
399  return htmlGenerator.endCSS();
400  }
Here is the call graph for this function:

◆ endJavaScript()

HTMLGenerator org.turro.zkoss.svg.Svg.endJavaScript ( )

Definition at line 394 of file Svg.java.

394  {
395  return htmlGenerator.endJavaScript();
396  }
Here is the call graph for this function:

◆ endTable()

HTMLGenerator org.turro.zkoss.svg.Svg.endTable ( )

Definition at line 390 of file Svg.java.

390  {
391  return htmlGenerator.endTable();
392  }
Here is the call graph for this function:

◆ endTableCol()

HTMLGenerator org.turro.zkoss.svg.Svg.endTableCol ( )

Definition at line 386 of file Svg.java.

386  {
387  return htmlGenerator.endTableCol();
388  }
Here is the call graph for this function:

◆ endTableRow()

HTMLGenerator org.turro.zkoss.svg.Svg.endTableRow ( )

Definition at line 382 of file Svg.java.

382  {
383  return htmlGenerator.endTableRow();
384  }
Here is the call graph for this function:

◆ endTag() [1/2]

HTMLGenerator org.turro.zkoss.svg.Svg.endTag ( )

Definition at line 378 of file Svg.java.

378  {
379  return htmlGenerator.endTag();
380  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ endTag() [2/2]

HTMLGenerator org.turro.zkoss.svg.Svg.endTag ( String  tag)

Definition at line 374 of file Svg.java.

374  {
375  return htmlGenerator.endTag(tag);
376  }
Here is the call graph for this function:

◆ example()

void org.turro.zkoss.svg.Svg.example ( )

Definition at line 61 of file Svg.java.

61  {
62  doTag("n:circle",
63  new String[] {
64  "style='fill:${each};cursor:pointer'",
65  "z:forEach='${bgnds}'",
66  "cx='${50+rads[forEachStatus.index]}'",
67  "cy='${20+rads[forEachStatus.index]}'",
68  "r='${rads[forEachStatus.index]}'",
69  "onclick=\"zAu.send(new zk.Event(zk.Widget.$('$" + id + "'), 'onUser', '${each}'));\""
70  });
71  }
Here is the call graph for this function:

◆ generateContent()

void org.turro.zkoss.svg.Svg.generateContent ( Map  args)

Definition at line 73 of file Svg.java.

73  {
74  htmlGenerator.endAllTags();
75  Executions.createComponentsDirectly(htmlGenerator.toString(), "zul", this, args);
76  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ line() [1/2]

void org.turro.zkoss.svg.Svg.line ( int  x1,
int  y1,
int  x2,
int  y2,
String  stroke,
String  strokeWidth 
)

Definition at line 108 of file Svg.java.

108  {
109  line(x1, y1, x2, y2, stroke, strokeWidth, 1);
110  }
void line(int x1, int y1, int x2, int y2, String stroke, String strokeWidth)
Definition: Svg.java:108
Here is the caller graph for this function:

◆ line() [2/2]

void org.turro.zkoss.svg.Svg.line ( int  x1,
int  y1,
int  x2,
int  y2,
String  stroke,
String  strokeWidth,
double  opacity 
)

Definition at line 112 of file Svg.java.

112  {
113  doTag("n:line", new String[] {
114  "x1='" + x1 + "'",
115  "y1='" + y1 + "'",
116  "x2='" + x2 + "'",
117  "y2='" + y2 + "'",
118  (stroke == null ? null : "stroke='" + stroke + "'"),
119  (strokeWidth == null ? null : "stroke-width='" + strokeWidth + "'"),
120  "opacity='" + opacity + "'",
121  forceStyle != null ? "style='" + forceStyle + "'" : "",
122  forceTransform != null ? "transform='" + forceTransform + "'" : "",
123  clickElement != null ? "onclick=\"" + clickElement + "\"" : ""
124  });
125  forceStyle = null;
126  forceTransform = null;
127  clickElement = null;
128  }
Here is the call graph for this function:

◆ rectangle() [1/3]

void org.turro.zkoss.svg.Svg.rectangle ( int  x,
int  y,
int  width,
int  height,
String  fill 
)

Definition at line 130 of file Svg.java.

130  {
131  rectangle(x, y, width, height, fill, 1);
132  }
void rectangle(int x, int y, int width, int height, String fill)
Definition: Svg.java:130
Here is the caller graph for this function:

◆ rectangle() [2/3]

void org.turro.zkoss.svg.Svg.rectangle ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 134 of file Svg.java.

134  {
135  rectangle(x, y, width, height, fill, opacity, null);
136  }
Here is the call graph for this function:

◆ rectangle() [3/3]

void org.turro.zkoss.svg.Svg.rectangle ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity,
String  tooltip 
)

Definition at line 138 of file Svg.java.

138  {
139  startTag("n:rect", new String[] {
140  "x='" + x + "'",
141  "y='" + y + "'",
142  "width='" + width + "'",
143  "height='" + height + "'",
144  "fill='" + fill + "'",
145  "opacity='" + opacity + "'",
146  forceStyle != null ? "style='" + forceStyle + "'" : "",
147  forceTransform != null ? "transform='" + forceTransform + "'" : "",
148  clickElement != null ? "onclick=\"" + clickElement + "\"" : ""
149  });
150  if(!Strings.isBlank(tooltip)) {
151  startTag("n:title").write(StringEscapeUtils.escapeXml11(tooltip)).endTag();
152  }
153  endTag();
154  forceStyle = null;
155  forceTransform = null;
156  clickElement = null;
157  }
HTMLGenerator write(String value)
HTMLGenerator endTag()
Definition: Svg.java:378
HTMLGenerator startTag(String tag, String[] attributes)
Definition: Svg.java:310
Here is the call graph for this function:

◆ roundRectangle() [1/5]

void org.turro.zkoss.svg.Svg.roundRectangle ( int  x,
int  y,
int  rx,
int  ry,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 171 of file Svg.java.

171  {
172  roundRectangle(x, y, rx, ry, width, height, fill, opacity, null);
173  }
void roundRectangle(int x, int y, int width, int height, String fill)
Definition: Svg.java:159
Here is the call graph for this function:

◆ roundRectangle() [2/5]

void org.turro.zkoss.svg.Svg.roundRectangle ( int  x,
int  y,
int  rx,
int  ry,
int  width,
int  height,
String  fill,
double  opacity,
String  tooltip 
)

Definition at line 175 of file Svg.java.

175  {
176  startTag("n:rect", new String[] {
177  "x='" + x + "'",
178  "y='" + y + "'",
179  "rx='" + rx + "'",
180  "ry='" + ry + "'",
181  "width='" + width + "'",
182  "height='" + height + "'",
183  "fill='" + fill + "'",
184  "opacity='" + opacity + "'",
185  forceStyle != null ? "style='" + forceStyle + "'" : "",
186  forceTransform != null ? "transform='" + forceTransform + "'" : "",
187  clickElement != null ? "onclick=\"" + clickElement + "\"" : ""
188  });
189  if(!Strings.isBlank(tooltip)) {
190  startTag("n:title").write(StringEscapeUtils.escapeXml11(tooltip)).endTag();
191  }
192  endTag();
193  forceStyle = null;
194  forceTransform = null;
195  clickElement = null;
196  }
Here is the call graph for this function:

◆ roundRectangle() [3/5]

void org.turro.zkoss.svg.Svg.roundRectangle ( int  x,
int  y,
int  width,
int  height,
String  fill 
)

Definition at line 159 of file Svg.java.

159  {
160  roundRectangle(x, y, width, height, fill, 1);
161  }
Here is the caller graph for this function:

◆ roundRectangle() [4/5]

void org.turro.zkoss.svg.Svg.roundRectangle ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 163 of file Svg.java.

163  {
164  roundRectangle(x, y, 5, 5, width, height, fill, opacity);
165  }
Here is the call graph for this function:

◆ roundRectangle() [5/5]

void org.turro.zkoss.svg.Svg.roundRectangle ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity,
String  tooltip 
)

Definition at line 167 of file Svg.java.

167  {
168  roundRectangle(x, y, 5, 5, width, height, fill, opacity, tooltip);
169  }
Here is the call graph for this function:

◆ roundSpan()

void org.turro.zkoss.svg.Svg.roundSpan ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 225 of file Svg.java.

225  {
226  roundRectangle(x, y, width, height / 2, fill, opacity);
227  roundRectangle(x, y, height / 2, height, fill, opacity);
228  roundRectangle(x + width - (height / 2), y, height / 2, height, fill, opacity);
229  }
Here is the call graph for this function:

◆ setClickElementData()

void org.turro.zkoss.svg.Svg.setClickElementData ( String  clickElementData)

Definition at line 290 of file Svg.java.

290  {
291  this.clickElement = "zAu.send(new zk.Event(zk.Widget.$('$" + id + "'), 'onUser', '" + clickElementData + "'));";
292  }
Here is the caller graph for this function:

◆ setForceStyle()

void org.turro.zkoss.svg.Svg.setForceStyle ( String  forceStyle)

Definition at line 282 of file Svg.java.

282  {
283  this.forceStyle = forceStyle;
284  }
Here is the caller graph for this function:

◆ setForceTransform()

void org.turro.zkoss.svg.Svg.setForceTransform ( String  forceTransform)

Definition at line 286 of file Svg.java.

286  {
287  this.forceTransform = forceTransform;
288  }
Here is the caller graph for this function:

◆ setOut()

void org.turro.zkoss.svg.Svg.setOut ( Writer  out)

Definition at line 370 of file Svg.java.

370  {
371  htmlGenerator.setOut(out);
372  }
Here is the call graph for this function:

◆ shadowedLine()

void org.turro.zkoss.svg.Svg.shadowedLine ( int  x1,
int  y1,
int  x2,
int  y2,
String  stroke,
String  strokeWidth,
double  opacity 
)

Definition at line 261 of file Svg.java.

261  {
262  clearValues();
263  line(x1 + 2, y1 + 2, x2 + 2, y2 + 2, stroke, strokeWidth, 0.2);
264  restoreValues();
265  line(x1, y1, x2, y2, stroke, strokeWidth, opacity);
266  }
Here is the call graph for this function:

◆ shadowedRectangle()

void org.turro.zkoss.svg.Svg.shadowedRectangle ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 268 of file Svg.java.

268  {
269  clearValues();
270  rectangle(x + 2, y + 2, width, height, "gray", 0.2);
271  restoreValues();
272  rectangle(x, y, width, height, fill, opacity);
273  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadowedRoundRectangle()

void org.turro.zkoss.svg.Svg.shadowedRoundRectangle ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity,
String  tooltip 
)

Definition at line 275 of file Svg.java.

275  {
276  clearValues();
277  roundRectangle(x + 2, y + 2, width, height, "gray", 0.2);
278  restoreValues();
279  roundRectangle(x, y, width, height, fill, opacity, tooltip);
280  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadowedRoundSpan()

void org.turro.zkoss.svg.Svg.shadowedRoundSpan ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 246 of file Svg.java.

246  {
247  clearValues();
248  roundRectangle(x + 2, y + 2, width, height / 2, "gray", 0.2);
249  restoreValues();
250  roundRectangle(x, y, width, height / 2, fill, opacity);
251  clearValues();
252  roundRectangle(x + 2, y + 2, height / 2, height, "gray", 0.2);
253  restoreValues();
254  roundRectangle(x, y, height / 2, height, fill, opacity);
255  clearValues();
256  roundRectangle(x + width - (height / 2) + 2, y + 2, height / 2, height, "gray", 0.2);
257  restoreValues();
258  roundRectangle(x + width - (height / 2), y, height / 2, height, fill, opacity);
259  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadowedSpan()

void org.turro.zkoss.svg.Svg.shadowedSpan ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 231 of file Svg.java.

231  {
232  clearValues();
233  rectangle(x + 2, y + 2, width, height / 2, "gray", 0.2);
234  restoreValues();
235  rectangle(x, y, width, height / 2, fill, opacity);
236  clearValues();
237  rectangle(x + 2, y + 2, height / 2, height, "gray", 0.2);
238  restoreValues();
239  rectangle(x, y, height / 2, height, fill, opacity);
240  clearValues();
241  rectangle(x + width - (height / 2) + 2, y + 2, height / 2, height, "gray", 0.2);
242  restoreValues();
243  rectangle(x + width - (height / 2), y, height / 2, height, fill, opacity);
244  }
Here is the call graph for this function:

◆ span()

void org.turro.zkoss.svg.Svg.span ( int  x,
int  y,
int  width,
int  height,
String  fill,
double  opacity 
)

Definition at line 219 of file Svg.java.

219  {
220  rectangle(x, y, width, height / 2, fill, opacity);
221  rectangle(x, y, height / 2, height, fill, opacity);
222  rectangle(x + width - (height / 2), y, height / 2, height, fill, opacity);
223  }
Here is the call graph for this function:

◆ startAnchor() [1/3]

HTMLGenerator org.turro.zkoss.svg.Svg.startAnchor ( String  url,
String  hint 
)

Definition at line 366 of file Svg.java.

366  {
367  return htmlGenerator.startAnchor(url, hint);
368  }
HTMLGenerator startAnchor(String url, String hint)
Here is the call graph for this function:

◆ startAnchor() [2/3]

HTMLGenerator org.turro.zkoss.svg.Svg.startAnchor ( String  url,
String  hint,
String  cssClass 
)

Definition at line 362 of file Svg.java.

362  {
363  return htmlGenerator.startAnchor(url, hint, cssClass);
364  }
Here is the call graph for this function:

◆ startAnchor() [3/3]

HTMLGenerator org.turro.zkoss.svg.Svg.startAnchor ( String  url,
String  hint,
String  cssClass,
String  onClick 
)

Definition at line 358 of file Svg.java.

358  {
359  return htmlGenerator.startAnchor(url, hint, cssClass, onClick);
360  }
Here is the call graph for this function:

◆ startComposing()

void org.turro.zkoss.svg.Svg.startComposing ( String  onUserEvent,
String  width,
String  height,
double  scale 
)

Reimplemented in org.turro.zkoss.svg.GanttResource, and org.turro.zkoss.svg.Gantt.

Definition at line 40 of file Svg.java.

40  {
41  id = IdGenerator.generate();
42  startTag("div",
43  new String[] {
44  "id='" + id + "'",
45  "xmlns:n='http://www.zkoss.org/2005/zk/native'",
46  onUserEvent != null ? "onUser='" + onUserEvent + "'" : ""
47  });
48  startTag("n:svg",
49  new String[] {
50  "width='" + width + "'",
51  "height='" + height + "'",
52  "version='1.1'",
53  "xmlns='http://www.w3.org/2000/svg'",
54  "xmlns:z='zk' style='overflow:auto'"
55  });
56  startTag("n:g", new String[] {
57  "transform='scale(" + scale + ")'"
58  });
59  }
Here is the call graph for this function:

◆ startCSS()

HTMLGenerator org.turro.zkoss.svg.Svg.startCSS ( )

Definition at line 354 of file Svg.java.

354  {
355  return htmlGenerator.startCSS();
356  }
Here is the call graph for this function:

◆ startExtAnchor()

HTMLGenerator org.turro.zkoss.svg.Svg.startExtAnchor ( String  url,
String  hint 
)

Definition at line 350 of file Svg.java.

350  {
351  return htmlGenerator.startExtAnchor(url, hint);
352  }
HTMLGenerator startExtAnchor(String url, String hint)
Here is the call graph for this function:

◆ startJavaScript()

HTMLGenerator org.turro.zkoss.svg.Svg.startJavaScript ( )

Definition at line 346 of file Svg.java.

346  {
347  return htmlGenerator.startJavaScript();
348  }
Here is the call graph for this function:

◆ startTable() [1/2]

HTMLGenerator org.turro.zkoss.svg.Svg.startTable ( String  attributes)

Definition at line 342 of file Svg.java.

342  {
343  return htmlGenerator.startTable(attributes);
344  }
HTMLGenerator startTable(String attributes)
Here is the call graph for this function:

◆ startTable() [2/2]

HTMLGenerator org.turro.zkoss.svg.Svg.startTable ( String[]  attributes)

Definition at line 338 of file Svg.java.

338  {
339  return htmlGenerator.startTable(attributes);
340  }
Here is the call graph for this function:

◆ startTableCol() [1/2]

HTMLGenerator org.turro.zkoss.svg.Svg.startTableCol ( String  attributes)

Definition at line 334 of file Svg.java.

334  {
335  return htmlGenerator.startTableCol(attributes);
336  }
HTMLGenerator startTableCol(String attributes)
Here is the call graph for this function:

◆ startTableCol() [2/2]

HTMLGenerator org.turro.zkoss.svg.Svg.startTableCol ( String[]  attributes)

Definition at line 330 of file Svg.java.

330  {
331  return htmlGenerator.startTableCol(attributes);
332  }
Here is the call graph for this function:

◆ startTableRow() [1/2]

HTMLGenerator org.turro.zkoss.svg.Svg.startTableRow ( String  attributes)

Definition at line 326 of file Svg.java.

326  {
327  return htmlGenerator.startTableRow(attributes);
328  }
HTMLGenerator startTableRow(String attributes)
Here is the call graph for this function:

◆ startTableRow() [2/2]

HTMLGenerator org.turro.zkoss.svg.Svg.startTableRow ( String[]  attributes)

Definition at line 322 of file Svg.java.

322  {
323  return htmlGenerator.startTableRow(attributes);
324  }
Here is the call graph for this function:

◆ startTag() [1/3]

HTMLGenerator org.turro.zkoss.svg.Svg.startTag ( String  tag)

Definition at line 318 of file Svg.java.

318  {
319  return htmlGenerator.startTag(tag);
320  }
HTMLGenerator startTag(String tag)
Here is the call graph for this function:

◆ startTag() [2/3]

HTMLGenerator org.turro.zkoss.svg.Svg.startTag ( String  tag,
String  attributes 
)

Definition at line 314 of file Svg.java.

314  {
315  return htmlGenerator.startTag(tag, attributes);
316  }
Here is the call graph for this function:

◆ startTag() [3/3]

HTMLGenerator org.turro.zkoss.svg.Svg.startTag ( String  tag,
String[]  attributes 
)

Definition at line 310 of file Svg.java.

310  {
311  return htmlGenerator.startTag(tag, attributes);
312  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ text() [1/2]

void org.turro.zkoss.svg.Svg.text ( String  text,
int  x,
int  y 
)

Definition at line 198 of file Svg.java.

198  {
199  text(text, x, y, null);
200  }
void text(String text, int x, int y)
Definition: Svg.java:198
Here is the caller graph for this function:

◆ text() [2/2]

void org.turro.zkoss.svg.Svg.text ( String  text,
int  x,
int  y,
String  tooltip 
)

Definition at line 202 of file Svg.java.

202  {
203  startTag("n:text", new String[] {
204  "x='" + x + "'",
205  "y='" + y + "'",
206  forceStyle != null ? "style='" + forceStyle + "'" : "",
207  forceTransform != null ? "transform='" + forceTransform + "'" : "",
208  clickElement != null ? "onclick=\"" + clickElement + "\"" : ""
209  });
210  if(!Strings.isBlank(tooltip)) {
211  startTag("n:title").write(StringEscapeUtils.escapeXml11(tooltip)).endTag();
212  }
213  write(StringEscapeUtils.escapeXml11(text)).endTag();
214  forceStyle = null;
215  forceTransform = null;
216  clickElement = null;
217  }
HTMLGenerator write(String value)
Definition: Svg.java:306
Here is the call graph for this function:

◆ write()

HTMLGenerator org.turro.zkoss.svg.Svg.write ( String  value)

Definition at line 306 of file Svg.java.

306  {
307  return htmlGenerator.write(value);
308  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeHorizontalStrut()

HTMLGenerator org.turro.zkoss.svg.Svg.writeHorizontalStrut ( int  pixels)

Definition at line 302 of file Svg.java.

302  {
303  return htmlGenerator.writeHorizontalStrut(pixels);
304  }
HTMLGenerator writeHorizontalStrut(int pixels)
Here is the call graph for this function:

◆ writeNewLine()

HTMLGenerator org.turro.zkoss.svg.Svg.writeNewLine ( )

Definition at line 298 of file Svg.java.

298  {
299  return htmlGenerator.writeNewLine();
300  }
Here is the call graph for this function:

◆ writeSeparator()

HTMLGenerator org.turro.zkoss.svg.Svg.writeSeparator ( )

Definition at line 294 of file Svg.java.

294  {
295  return htmlGenerator.writeSeparator();
296  }
Here is the call graph for this function:

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