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

Public Member Functions

void setSrc (String src)
 

Detailed Description

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

Definition at line 27 of file Image.java.

Member Function Documentation

◆ setSrc()

void org.turro.zkoss.label.Image.setSrc ( String  src)

Definition at line 30 of file Image.java.

30  {
31  File img = new File(ElephantContext.getRealPath(src));
32  if(img.exists()) {
33  super.setSrc(src);
34  } else {
35  super.setSrc("/_zul/images/no_img.png");
36  }
37  }
Here is the call graph for this function:

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