DwtColorPicker: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<code>DwtColorPicker(parent, className, posStyle)</code> | <code>DwtColorPicker(parent, className, posStyle)</code> | ||
;<code>parent</code> : the widget parent, can be a DwtShell (or a DwtMenu????) | ;<code>parent</code> : the widget parent, can be a DwtShell (or a DwtMenu????) | ||
<code>className</code> the name of a css style class to be assigned to the widget | ;<code>className</code> : the name of a css style class to be assigned to the widget | ||
<code>posStyle</code> | ;<code>posStyle</code> : | ||
== Overview == | == Overview == | ||
Creates a color picker displaying "Web safe" colours. Instances of this class may be used with DwtMenu to create a ColorPicker menu. Clicking on a color cell generates a DwtSelectionEvent the detail attribute of which contains the color string associated the cell on which the user clicked | Creates a color picker displaying "Web safe" colours. Instances of this class may be used with DwtMenu to create a ColorPicker menu. Clicking on a color cell generates a DwtSelectionEvent the detail attribute of which contains the color string associated the cell on which the user clicked |
Revision as of 06:14, 5 April 2006
DwtColorPicker(parent, className, posStyle)
parent
- the widget parent, can be a DwtShell (or a DwtMenu????)
className
- the name of a css style class to be assigned to the widget
posStyle
Overview
Creates a color picker displaying "Web safe" colours. Instances of this class may be used with DwtMenu to create a ColorPicker menu. Clicking on a color cell generates a DwtSelectionEvent the detail attribute of which contains the color string associated the cell on which the user clicked