PlButton Class Reference
List of all members.Detailed Description
Button element.Class PlButton represents the element PlButton in PadEntryOptions-dtd as a PHP object
Public Member Functions | |
| loadIconFile ($aName) | |
| Load an icon file on the server. | |
| PlButton ($c="", $f=-1) | |
| Constructor. | |
| readXML (&$xml) | |
| Read an XML descriptor. | |
| setIcon ($aIcon) | |
| set the Icon of a PlButton | |
| writeXML (&$xml) | |
| Write the XML descriptor. | |
Public Attributes | |
| $mBgColor = FALSE | |
| optional background color, integer, optional | |
| $mCaption = "" | |
| Caption text, UTF8 String. | |
| $mEncoding = FALSE | |
| Encoding of the Icon, use setIcon or loadIconFile to set $mEncoding, String. | |
| $mFgColor = FALSE | |
| optional foreground color, integer, optional | |
| $mFlags = 0 | |
Display flags a combination of
| |
| $mIcon = FALSE | |
| Icon data for the button, use setIcon or loadIconFile to set $mIcon, String. | |
| $mToolTip = FALSE | |
| optional tooltip text, UTF8 String, optional | |
| $plAction = false | |
| Action object (PlAction), required. | |
| $plCoordinate = false | |
| Coordinate object (PlCoordinate), required. | |
| $plFont = false | |
| Font object (PlFont), optional. | |
Constructor & Destructor Documentation
|
||||||||||||
|
Constructor.
|
Member Function Documentation
|
|
Load an icon file on the server.
|
|
|
Read an XML descriptor.
|
|
|
set the Icon of a PlButton
|
|
|
Write the XML descriptor.
|
Member Data Documentation
|
|
optional background color, integer, optional
|
|
|
Caption text, UTF8 String.
|
|
|
Encoding of the Icon, use setIcon or loadIconFile to set $mEncoding, String.
|
|
|
optional foreground color, integer, optional
|
|
|
Display flags a combination of
|
|
|
Icon data for the button, use setIcon or loadIconFile to set $mIcon, String.
|
|
|
optional tooltip text, UTF8 String, optional
|
|
|
Action object (PlAction), required.
|
|
|
Coordinate object (PlCoordinate), required.
|
|
|
Font object (PlFont), optional.
|
The documentation for this class was generated from the following file: