SilverWare\IconSetField\Forms\IconSetField_Readonly
An extension of the icon set field class for a readonly icon set field.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class IconSetField_Readonly
extends IconSetField
{
- // members
- protected boolean $readonly = true;
- // Inherited members from IconSetField
- protected $maxHeight;
- protected integer $smallWidth;
- protected integer $largeWidth;
- // methods
- public IconSetField_Readonly performReadonlyTransformation()
- // Inherited methods from IconSetField
- public $this setMaxHeight()
- public integer getMaxHeight()
- public $this setSmallWidth()
- public integer getSmallWidth()
- public $this setLargeWidth()
- public integer getLargeWidth()
- public string Type()
- public DBHTMLText Field()
- public array getAttributes()
- public ArrayList getOptions()
- public boolean hasOptions()
- public IconSetField_Readonly performReadonlyTransformation()
Hierarchy
Members
protected
- $largeWidth
—
integer
Defines the column width of items for large devices. - $maxHeight
—
integer
Defines the maximum height of the field. - $readonly
—
boolean
Defines the field as readonly. - $smallWidth
—
integer
Defines the column width of items for small devices.
Methods
public
- performReadonlyTransformation() — Field is already readonly, returns a clone.
Inherited from SilverWare\IconSetField\Forms\IconSetField
public
- Field() — Renders the field for the template.
- Type() — Answers the field type for the template.
- getAttributes() — Answers an array of HTML tag attributes for the object.
- getLargeWidth() — Answers the value of the largeWidth attribute.
- getMaxHeight() — Answers the value of the maxHeight attribute.
- getOptions() — Answers an array list containing the options for the field.
- getSmallWidth() — Answers the value of the smallWidth attribute.
- hasOptions() — Answers true if the field has at least one option.
- performReadonlyTransformation() — Answers a readonly copy of the receiver.
- setLargeWidth() — Defines the value of the largeWidth attribute.
- setMaxHeight() — Defines the value of the maxHeight attribute.
- setSmallWidth() — Defines the value of the smallWidth attribute.