BaseComponentWidgets

BaseComponentWidgets

Class to represent all the label and textbox widgets for selecting Entity ids for a component

This is intended to be a base class for other classes to extend, so shouldn't be used directly.

Constructor

new BaseComponentWidgets(label, entity_widgets)

Description:
  • Create a new BaseComponentWidgets
Source:
Example
let component_widgets = new BaseComponentWidgets(label, entity_widgets);
Parameters:
Name Type Description
label Widget The component label widget
entity_widgets Array.<BaseEntityWidgets> Array of entity widgets

Members

entity_widgets :Array.<BaseEntityWidgets>

Description:
  • Array of entity widgets
Source:
Array of entity widgets
Type:

label :Widget

Description:
  • The component label widget
Source:
The component label widget
Type:
  • Widget

Methods

Hide()

Description:
  • Hide all the entity widgets for this component
Source:
Example
component_widgets.Hide();

Show()

Description:
  • Show all the entity widgets for this component
Source:
Example
component_widgets.Show();