A.LayoutBuilderAddRow Class
A base class for Layout Add Row.
Index
Methods
- _addAppropriateAddRowArea
- _addRow
- _afterAddRowIsColumnModeChange
- _afterAddRowRowsChange
- _afterAddRowWindowResize
- _afterEnableAddRowsChange
- _bindAddRowEvents
- _createAddRowArea
- _createAddRowAreaForSmallScreens
- _onKeyPressAddRowEvent
- _onMouseClickEvent
- _removeAddRowTemplate
- _setAddRowAreaPosition
- _uiSetEnableAddRows
- _unbindAddRowEvents
- destructor
- initializer
Properties
- _bodyNode
- addRowArea
- ATTRS static
Attributes
Methods
_addAppropriateAddRowArea
()
protected
Adds the appropriate add row area to container.
_afterAddRowIsColumnModeChange
()
protected
Fired after isColumnMode
changes.
_afterAddRowRowsChange
()
protected
Fired after the rows
attribute changes.
_afterAddRowWindowResize
()
protected
Fired after the window's resize.
_afterEnableAddRowsChange
()
protected
Fired after the enableAddRows
attribute changes.
_bindAddRowEvents
()
protected
Binds the necessary events for the functionality of adding rows to the layout.
_createAddRowArea
()
protected
Creates the area to choose the new row.
_createAddRowAreaForSmallScreens
()
protected
Creates the area to add new row for smartphone.
_onKeyPressAddRowEvent
-
event
Fired on key:press
event for the add row button.
Parameters:
-
event
EventFacade
_onMouseClickEvent
-
event
Fires after click on add row button.
Parameters:
-
event
EventFacade
_removeAddRowTemplate
()
protected
Removes current add row template.
_setAddRowAreaPosition
()
protected
Sets row area to fixed or relative depending on it's position.
_uiSetEnableAddRows
-
enableAddRows
Updates the UI according to the value of the enableAddRows
attribute.
Parameters:
-
enableAddRows
Boolean
_unbindAddRowEvents
()
protected
Unbinds the events related to the functionality of adding rows to the layout.
destructor
()
protected
Destructor implementation for the A.LayoutBuilderAddRow
class. Lifecycle.
initializer
()
protected
Construction logic executed during instantiation. Lifecycle.
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration for the
A.LayoutBuilderAddRow
.