Extends
Members
v :Object
Returns the this.components_obj variable of the present Component.
- Accessor of: ve.Interface
Type:
v
Sets a new this.components_obj variable for the present Component and redraws the interface.
- Accessor of: ve.Interface
from_binding
Internal .from_binding setter for handling .options.from_binding. Accepts a string literal that is then parsed to a variable reference.
.to_binding counterparts are manually handled child-side.
- Accessor of: ve.Component
- Overrides:
- Source:
limit
Tests the current this.limit by calling this.limit_function(this.v, this). Otherwise resolves to true if no .options.limit is set.
- Accessor of: ve.Component
- Overrides:
- Source:
name
Returns the visual name of the present ve.Component,
- Accessor of: ve.Component
- Overrides:
- Source:
Methods
#assignComponentCoordinates(arg0_components_obj)
Iterates over all components and assigns their coordinates.
- Static method of: ve.Interface
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_components_obj |
Object
|
#getDefinedComponentDimensions(arg0_components_obj) → {Array.<number>}
Returns the current .dimensions [width, height] of defined components prior to assigning coordinates to non-defined coordinates.
- Static method of: ve.Interface
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_components_obj |
Object
|
Returns:
- Type:
-
Array.<number>
addComponent(arg0_component_key, arg1_component_obj)
Adds a new component and destructures it to the present component before redrawing the ve.Interface.
- Method of: ve.Interface
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_component_key |
string
|
|
arg1_component_obj |
ve.Component
|
redraw()
Redraws the entire UI for ve.Interface, including refreshing individual table cells.
- Method of: ve.Interface
refresh()
Refreshes the current UI without recalculating coordinates.
- Method of: ve.Interface
removeComponent(arg0_component_obj)
Removes a component mounted to the current interface.
- Method of: ve.Interface
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_component_obj |
ve.Component
|
resize(arg0_width, arg1_height)
Resizes the .dimensions of the present interface component.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_width |
number
|
|
arg1_height |
number
|
addComponent()
Adds the current component to this.parent_el should it exist.
- Method of: ve.Component
- Overrides:
- Source:
bind(arg0_container_el)
Manually binds/mounts the present ve.Component into the visual DOM.
- Method of: ve.Component
- Overrides:
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_container_el |
HTMLElement
|
fireFromBinding()
Pseudo-setter from binding. Fires only upon program-driven changes to .v directly, which means that this has to be monitored manually component-side in set v(). This should always come last in set v().
- Method of: ve.Component
- Overrides:
- Source:
fireToBinding()
Pseudo-setter to binding. Fires only upon user-driven changes, which means that this has to be monitored manually component-side.
- Method of: ve.Component
- Overrides:
- Source:
removeComponent()
Removes the current component from this.parent_el should it exist.
- Method of: ve.Component
- Overrides:
- Source:
setOwner(arg0_value, arg1_owner_array)
Sets the root parent and ownership tree. Influences this.parent_el, this.owner, this.owners.
- Method of: ve.Component
- Overrides:
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_value |
||
arg1_owner_array |
setValueFromObject(arg0_object, arg1_object)
Destructures Object values and transfers them into the .v instance fields of each Vercengen component.
- Method of: ve.Component
- Overrides:
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_object |
Object
|
The Vercengen object to transfer to. |
arg1_object |
Object
|
The other object to transfer from. |