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

Public Member Functions

 ImageWrapper (String src, int width, int height)
 

Detailed Description

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

Definition at line 28 of file ImageWrapper.java.

Constructor & Destructor Documentation

◆ ImageWrapper()

org.turro.zkoss.image.ImageWrapper.ImageWrapper ( String  src,
int  width,
int  height 
)

Definition at line 30 of file ImageWrapper.java.

30  {
31  setWidth(width + "px");
32  setHeight(height + "px");
33  Image img = new Image(src);
34  img.setStyle("max-width:" + width + "px;max-height:" + height + "px;");
35  appendChild(img);
36  }

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