NAME
IWL::Combo::Option - an option widget for the combobox
INHERITANCE
IWL::Error -> IWL::Object -> IWL::Widget -> IWL::Combo::Option
DESCRIPTION
The Option widget provides a wrapper for the <option> markup tag.
CONSTRUCTOR
IWL::Combo::Option->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values corresponding to the attributes that a regular <option> markup would have.
METHODS
- setText (TEXT)
-
Sets the text of the option.
Parameters: TEXT - the text to be added
- getText
-
Returns the text of the option
- setSelected (BOOL)
-
Sets whether the option us selected.
Parameters: BOOL - true if the option is selected
- isSelected
-
Returns true if the option is selected, false otherwise.
- setValue
-
Sets the value attribute of the option
- getValue
-
Gets the value attribute of the option.
LICENCE AND COPYRIGHT
Copyright (c) 2006-2008 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 131:
You forgot a '=back' before '=head1'