Embperl::Form::Control - Base class for controls inside an Embperl Form
Do not use directly, instead derive a class
This class is not used directly, it is used as a base class for all controls inside an Embperl Form. It provides a set of methods that could be overwritten to customize the behaviour of your controls.
Create a new control
Do not draw frame border if this is the only control
Do not display this control at all.
Could value of this control be changed ?
output the control
returns JavaScript code that should be executed when the form becomes visible
return the form object of this control
output begin of sub form
output end of sub form
output the label of the control
output the icon after the label
output the table cell in which the label will be displayed
Must return the columns it spans (default: 1)
output the control itself
output the table cell in which the control will be displayed
Gets the x position as argument
Specifies the name of the control
Will be used as label for the control, if not given name is used as default
If set, the text label will not be line wrapped.
If set, will be used as additional CSS classes for the label text cell.
If set, displays a readonly version of t control.
If set, the control will not be displayed at all.
If set to 1, forces a new line before the control. If set to -1, forces a new line after the control.
Gives the widths of the control. The value is 1/width of the the whole width of the form. So if you want to have four controls in one line set width to 4. The default value is 2.
1/width
width
With this parameter you can also specify the width of the control in percent. This parameter take precendence over width
G. Richter (richter@dev.ecos.de)
perl(1), Embperl, Embperl::Form
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Embperl
CPAN shell
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.