A.LayoutBuilderRemoveRow Class
A base class for Layout Remove Row.
Constructor
A.LayoutBuilderRemoveRow
-
config
Parameters:
-
config
ObjectObject literal specifying layout configuration properties.
Index
Methods
- _afterEnableRemoveRowsChange
- _afterRemoveRowIsColumnModeChange
- _afterRemoveRowLayoutChange
- _afterRemoveRowRemovableChange
- _afterRemoveRowRowsChange
- _appendButtonToRows
- _bindRemoveRowEvents
- _insertRemoveButtonBeforeRow
- _onMouseClickEvent
- _removeRemoveButtonFromRows
- _uiSetEnableRemoveRows
- _unbindRemoveRowEvents
- destructor
- initializer
Properties
- ATTRS static
Attributes
Methods
_afterEnableRemoveRowsChange
()
protected
Fired after the enableRemoveRows
attribute changes.
_afterRemoveRowIsColumnModeChange
()
protected
Fired after isColumnMode
changes.
_afterRemoveRowLayoutChange
()
protected
Fired after layout
attribute changes.
_afterRemoveRowRemovableChange
-
event
Fired after the removable
attribute changes.
Parameters:
-
event
EventFacade
_afterRemoveRowRowsChange
()
protected
Fired after rows
attribute changes.
_appendButtonToRows
()
protected
Appends one remove row button before each row.
_bindRemoveRowEvents
()
protected
Binds the necessary events for the functionality of removing rows from layout.
_insertRemoveButtonBeforeRow
-
layoutRow
-
row
Inserts remove button before a specified row.
Parameters:
-
layoutRow
A.LayoutRow -
row
Node
_onMouseClickEvent
-
event
Fires after click on remove row button.
Parameters:
-
event
EventFacade
_removeRemoveButtonFromRows
()
protected
Removes all remove row buttons.
_uiSetEnableRemoveRows
-
enableRemoveRows
Updates the UI according to the value of the enableRemoveRows
attribute.
Parameters:
-
enableRemoveRows
Boolean
_unbindRemoveRowEvents
()
protected
Unbinds the events related to the functionality of removing rows from layout.
destructor
()
protected
Destructor implementation for the A.LayoutBuilderRemoveRow
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.LayoutBuilderRemoveRow
.