...
A custom User Input Panel is an xml file and commonly named userInputSpec.xml.
More information
Step 1 - Introduce the custom panel
...
This xml code should be put in the userINputSpecuserInputSpec.xml file. This is the skeleton description of a custom user input panel.
XML Tag | Description |
---|
<userInput> | Root xml tag |
<panel> | Definition of a panel; You can have multiple panels defined in the <userInput>Multiple panels possible |
<field> | Definiton of a gui element; One gui elemen element per <field > tag
|
Step 3 - Supported
...
gui elements
The following description should be considered as an introduction of available gui elements of IzPack. Detailed information can be found in the official (but an old) IzPack documentation.
User Input Elements
Visual Elements
Element | Code | Screenshot |
---|
Static Text | | Code Blockcode |
---|
theme | Eclipse |
---|
language | html/xml |
---|
| <field type="staticText" align="left"
txt="This is just some simple static text with variable substitution in here: $myvariable."
id="staticText.text"/> |
| |
Title | | Code Blockcode |
---|
theme | Eclipse |
---|
language | html/xml |
---|
| <field type="title" txt="This is my title" id="mytitle"/> |
| |
Space | | code | Code Block |
---|
theme | Eclipse |
---|
language | html/xml |
---|
| <field type="space" /> |
| |
Divider | | code | Code Block |
---|
theme | Eclipse |
---|
language | html/xml |
---|
| <field type="divider" /> |
| |