Das XdevImage ist ein Container für die Darstellung von Bilder. Die Bilder selbst müssen sich in den Resources befinden und werden lediglich mit dem XdevImage Container verknüpft. Auch die Angabe einer URL als Bildquelle ist möglich. Als Bild-Formate werden alle Formate unterstützt, die Browser darstellen können.
...
The XdevImage is a container that is used to represent the images. The images must be available in the resources itself and are only linked to the XdevImage container. It is possible to specify a URL as an image source. All image formats that can be displayed in the browser are supported.
- Under Project Management > Resources > images insert an image file from your file manager using drag-and-drop, e.g. RapidClipseLogo.jpg.
- Fügen Sie ein Insert an XdevImage in den the GUI - Builder ein.
- Klicken Sie bei Under Properties > Source auf , click on ....Wählen Sie im folgenden Assistenten bei File > WebContent > WEB-INF > resources > images die Bild-Datei aus.
- Klicken Sie auf OK
...
- In the following wizard, select the image file under File > WebContent > WEB-INF > Resources > Images.
- Click OK
Important properties:
Include Page Property Caption Property Caption Include Page Property Description Property Description - Source - URL oder URI der einzubindenden Bild-Datei.
...
- or URI of the image file to be integrated.
Important events:
- Misc
Include Page Event click Event click Include Page Event contextClick Event contextClick
Examples:
Bild zuweisenAssign image
Code Block language java theme Confluence this.image.setSource(new ApplicationResource(this.getClass(), "WebContent/WEB-INF/resources/images/logo.png"));
Bild Return image / URL zurückgeben lassen
Code Block language java theme Confluence Resource source = this.image.getSource();
...
All XdevImage
...