バージョン 4.2.5
 —  Natural for Ajax  —

ICONLIST

The ICONLIST is very similar to the BUTTONLIST, representing a list of items instead of a list of buttons. The list can either be a vertical list or a horizontal list.

The following topics are covered below:


Adapter Interface

DEFINE DATA PARAMETER
1 ICONLIST (1:*)
2 DRAGINFO (U) DYNAMIC
2 DROPINFO (U) DYNAMIC
2 ID (U) DYNAMIC 
2 IMAGEURL (U) DYNAMIC
2 METHOD (U) DYNAMIC
2 NAME (U) DYNAMIC
2 TEXT (U) DYNAMIC
END-DEFINE

Top of page

Built-in Events

value-of-iconlistprop.onDrop
value-of-iconlistprop.onSelect

Top of page

Properties

Basic
iconlistprop

Name of the adapter parameter that represents the control in the application.

Obligatory  
vertical

Direction of the icon list.

If not specified (or set to "true") then the icons are arranged in one column, one below the other. If specified as "false" then the icons are arrange in one row, one aside the other.

Optional

true

false

cellspacing

An icons of the ICONLIST control is embedded into an internal cell. The CELLSPACING property defined the number of pixels that are kept between the icon an the border of this cell.

Use the CELLSPACING in order to define a certain distance each icon keeps from the next item.

Optional

1

2

3

int-value

comment

Comment without any effect on rendering and behaviour. The comment is shown in the layout editor's tree view.

Optional  
Appearance
imagewidth

Pixel width of the image that is shown inside the icon. If not defined then the icon is rendered with its normal width.

Optional  
imageheight

Pixel height of the image that is shown inside the icon. If not defined then the icon is rendered with its normal height.

Optional  
align

Horizontal alignment of control in its column.

Each control is "packaged" into a column. The column itself is part of a row (e.g. ITR or TR). Sometimes the size of the column is bigger than the size of the control itself. In this case the "align" property specifies the position of the control inside the column. In most cases you do not require the align control to be explicitly defined because the size of the column around the controls exactly is sized in the same way as the contained control.

If you want to directly control the alignment of text: in most text based controls there is an explicit property "textalign" in which you align the control's contained text.

Optional

left

center

right

tablestyle

Style definition (following CSS style sheet definitions) that is used for the background area of the ICONLIST control.

Optional

background-color: #FF0000

color: #0000FF

font-weight: bold

cellstyle

Style definition (following CSS style sheet definitions) that is used for each cell area of the ICONLIST control in which an icon is kept.

Optional

background-color: #FF0000

color: #0000FF

font-weight: bold

displaymenuindicator

If set to true a small indicator signals that there is a corresponding menu 'behind this icon'. Default is false.

Optional

true

false

additionaltextposition

Position of the text that is displayed inside the control. Use method ICONLISTItem.setName to set the text.

Optional

aside

below

textsize

The HTML font size of the text. Corresponding to the HTML definition "1" means "smallest" and "6" means "biggest".

Optional

1

2

3

4

5

6

withrightpadding

Flag (boolean) that indicates whether to insert a padding right hand of the last icon. This attribute does apply for horizontal ICONLIST only (see attribute VERTICAL). Default is true.

Optional

true

false

Top of page