| Buttons |
Button
Checkbox
Radio button |
| Listboxes |
Combobox
Menu
Listbox
Table |
| Containers |
Splitter
Tab
Calendar |
| Misc |
Edit
Drag
Resize |
| View | View Vertical Scrollbar Horizontal Scrollbar |
| setDrag | [boolean] flag | setDrag="false" |
| setDropTarget | [String] value | setDropTarget="0" |
| setOpaque | [boolean] flag | setOpaque="true" | Sets the background of the widget, if opaque than it is solid, if not opaque than it is see-through |
| setHighlight | [boolean] flag | setHighlight="false" | Highlights the widget whenever the mouse 'enters' the widget, the background is repainted with the highlight color if highlight is set to true |
| setRollover | [boolean] flag | setRollover="false" | If rollover is true, the border would be hidden until the mouse 'enters' the widget, thus displaying the border |
| setVisible | [boolean] flag | setVisible="true" | If the widget is invisible, it is no longer in the event queue as well as not bieng visible on the panel |
| setEnabled | [boolean] flag | setEnabled="true" | If the widget is enabled than it is part of the event and focus queues, allowing the use to interact with the control |
| setFocusTraversable | [boolean] flag | setFocusTraversable="false" | If you wish the widget to be in the focus queue (tab, shift tab) then you would set focustraversable to true, all focustraversable widgets are 'shrunk' by a one pixel wide border which is used to highlight the widget whenever it gains focus |
| addActionTarget | [String] target, [String] action, [String] method, .. | addActionTarget="this,mouseenter,setBackground='blue'" | Used to execute methods on specific events, the target is the widget that will have the method executed on. The event is listened in on the current widget that it is defined in |
| setName | [String] name | setName="widget01" | Used to identify widgets, primarily used in conjunction with addActionTarget and setData attributes |
| loadGui | [String] xmlfile, [boolean] update | loadGui="panel01,false" | Used with addActionTarget, 'method', loads another panel into the specified target widget. If update is set than it matches widget name to widget name and ONLY modifies the attributes |
| loadUrl | [String] htmlpage | loadUrl="page01.html" | Used with addActionTarget, 'method', loads another web page, if the setTarget is set then the appropriate frame is then loaded |
| setTarget | [String] frametarget | setTarget="_top" | Used in conjunction with the loadUrl method, defines the URL frame target in which to load the web page |
| setCache | [boolean] flag | setCache="true" | Used in conjunction with the loadGui. The specified target that will be accepting the new panel to load can either cache this panel (load only once) or ignore the cache and always request the file from the server when ever it is requested. When dynamically generating the web pages setCache is set to false |
| setData | [String] widgetname,.. | setData="widget01,widget02" | Used whenever loadGui (or loadUrl) is called. Contains a list of widget names with which to load the 'labels' or 'values' to be passed as parameters in the URL request |
| setDataGetSelected | [boolean] flag | setDataGetSelected="false" | Used when you ONLY wish to pass the 'selected' values. Given a series of checkboxes (already named in setData), only those that are selected are passed along as parameters in the URL request, |
| setPoll | [int] seconds, [String] xmlfile | setPoll="10,getQuotes.php" | Used to update a certain view at regular intervals, similar to loadGui with the update value set to true, except it is called every 'x' seconds |
| setPost | [boolean] flag | setPost="false" | The default URL requests are submitted using GET, there is a limit of about 512 bytes, if submitting forms, you would need to setPost to true, to pass the data along as a POST. |
| setLabel | [String] label | setLabel="hello" | The label of the widget |
| clearLabel | (none) | clearLabel="" | Used to clear the label, this is necessary since one is unable to send an empty ("") setLabel |
| setFontName | [String] fontname | setFontName="sansserif" | Can set the fonts to the following values, serif, sansserif, monospaced |
| setFontSize | [int] pointsize | setFontSize="11" | Can set the font point size, normal bounds range from 6 to 72 |
| setFontStyle | [String] style | setFontStyle="plain" | Can set the style of the font to the following values, plain, bold, italic, underline, bolditalic, boldunderline, italicunderline, bolditalicunderline |
| setBorderColor | [color] start, [color] end, [int] curve | setBorderColor="lightgray,white,1" |
| setGradient | [color] start, [color] end, [boolean] vertical, [int] curve | setGradient="lightgray,white,false,1" |
| setGradientCurve | [int] type | setGradientCurve="0" |
| setGradientStartColor | [color] endcolor | setGradientStartColor="lightgray" |
| setGradientEndColor | [color] start | setGradientEndColor="white" |
| setGradientVertical | [boolean] flag | setGradientVertical="false" |
| setForeground | [color] foreground | setForeground="black" |
| setForegroundHightlight | [color] highlight | setForegroundHighlight="white" |
| setBackground | [color] background | setBackground="lightgray" |
| setBackgroundHighlight | [color] highlight | setBackgroundHighlight="gray" |
| preload | [String] imagename, .. | preload="images/img1.gif,images/img2.gif" |
| clearImages | "" | clearImage="" |
| addImage | [String] imagename, [int] width, [int] height | addImage="images/img1.gif,32,32" |
| setImageContainer | [int] width, [int] height | setImageContainer="80,25" |
| setImageDisabled | [String] imagename | setImageDisabled="images/img2.gif" |
| setImageDown | [String] imagename | setImageDown="images/img3.gif" |
| setImageRollover | [String] imagename | setImageRollover="images/img4.gif" |
| addToLocation | [int] deltax, [int] deltay | addToLocation="10,10" |
| addToSize | [int] deltawidth, [int] deltaheight | addToSize="10,10" |
| setInsets | [int] left, [int] top, [int] right, [int] bottom | setInsets="2,0,0,0" |
| setLayout | [String] type, [int] width, [int] height, [int] offset | setLayout="iconviewx,80,25,0" |
| setMinimumSize | [int] width, [int] height | setMinimumSize="25,25" |
| setLocation | [int] x, [int] y | setLocation="10,10" |
| setShape | [int] x, [int] y, [int] width, [int] height | setShape="10,10,80,25" |
| setSize | [int] width, [int] height | setSize="80,25" |
| setHeight | [int] height | setHeight="25" |
| setWidth | [int] width | setWidth="80" |
| setX | [int] x | setX="10" |
| setY | [int] y | setY="10" |
| attachToContainer | [String] widgetname, [boolean] left, [boolean] top, [boolean] right, [boolean] bottom | attachToContainer="widget1,true,true,true,true" |
| attachToWidget | [String] widgetname, [boolean] left, [boolean] top, [boolean] right, [boolean] bottom | attachToWidget="widget1,true,true,true,true" |
| setAlign | [String] align | setAlign="left" |
| setAnchor | [boolean] left, [boolean] top, [boolean] right, [boolean] bottom | setAnchor="true,true,false,false" |
| setAnchorLeft | [boolean] left | setAnchorLeft="true" |
| setAnchorTop | [boolean] top | setAnchorTop="true" |
| setAnchorRight | [boolean] right | setAnchotRight="false" |
| setAnchorBottom | [boolean] bottom | setAnchorBottom="false" |
| setSelected | [boolean] flag | setSelected="false" |
| setValue | [int] value | setValue="0" |
| setGroup | [String] groupname | setGroup="group01" |
| setChangeCursor | [boolean] flag | setChangeCursor="true" |
| setSticky | [boolean] flag | setSticky="false" |
| setStuck | [boolean] flag | setStuck="false" |
| setBackgroundSelect | [color] select | setBackgroundSelect="blue" |
| setForegroundSelect | [color] select | setForegroundSelect="white" |
| setBackgroundThumb | [color] thumb | setBackgroundThumb="lightgray" |
| setThumbBorder | [String] border | setThumbBorder="roundraised" |
| setThumbWidth | [int] width | setThumbWidth="8" |
| setVertical | [boolean] flag | setVertical="false" |
| addToDate | [int] day, [int] month, [int] year | addToDate="15,0,0" |
| setDate | [int] day | setDate="21" |
| setMonth | [int] month | setMonth="7" |
| setYear | [int] year | setYear="1999" |
| monthBack | "" | monthBack="" |
| monthForward | "" | monthForward="" |
| setAlphaNumeric | [boolean] flag | setAlphaNumeric="false" |
| setCaret | [int] position | setCaret="0" |
| setLabelLength | [int] length | setLabelLength="80" |
| setNumeric | [boolean] flag | setNumeric="false" |
| setPassword | [boolean] flag | setPassword="false" |
| setReadOnly | [boolean] flag | setReadOnly="false" |
| setSelectionColor | [color] selection | setSelectionColor="blue" |
| setArrow | [int] value | setArrow="1" |
| setPopupAlign | [String] align | setPopupAlign="center" |
| setPopupRollover | [boolean] flag | setPopupRollover="false" |
| setShowHeader | [boolean] flag | setShowHeader="false" |
| setShowResize | [boolean] flag | setShowResize="false" |
| addItem | [String] itemname | addItem="item 1" |
| removeItem | [String] itemname | removeItem="widgetname1" |
| setSelf | [boolean] flag | setSelf="false" |
| setTopMost | [boolean] flag | setTopMost="true" |
| setResize | [String] resize | setResize="bottomright" |
| setAllowSort | [boolean] flag | setAllowSort="true" |
| setAlign | [String] align | setAlign="top" |
| setControlSize | [int] width, [int] height | setControlSize="80,25" |
| setTabSelect | [int] index | setTabSelect="1" |
| setShowHeader | [boolean] flag | setShowHeader="true" |
| setShowResize | [boolean] flag | setShowResize="true" |
| setContainerHeight | [int] height | setContainerHeight="100" |
| setContainerY | [int] y | setContainerY="0" |
| setDragY | [int] y | setDragY="0" |
| setViewHeight | [int] height | setViewHeight="100" |
| setContainerWidth | [int] width | setContainerWidth="100" |
| setContainerX | [int] x | setContainerX="0" |
| setDragX | [int] x | setDragX="0" |
| setViewWidth | [int] width | setViewWidth="100" |