Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
NetworkComponentBox Class Reference

NetworkComponentBox allows UI manipulation of the Network Component Box. More...

Public Member Functions

void setVisible (bool)
 Shows or hides this widget from view. More...
 
void setFrameVisible (bool)
 Shows or hides this whole frame (bottom toolbar) from view. More...
 
void setWidgetVisible (string, bool)
 Shows or hides the specified child widget. More...
 
void setAllWidgetsVisible (bool)
 Shows or hides all child widgets. More...
 
void setDisabled (bool)
 Enables or disables input events to this widget. More...
 
void setWidgetDisable (string, bool)
 Enables or disables the specified child widget. More...
 
void setAllWidgetsDisable (bool)
 Enables or disables all child widgets. More...
 
vector< string > getDeviceTypes ()
 
vector< string > getConnectionTypes ()
 
vector< string > getDeviceModels (string)
 

Detailed Description

NetworkComponentBox allows UI manipulation of the Network Component Box.

Member Function Documentation

◆ getConnectionTypes()

vector< string > NetworkComponentBox::getConnectionTypes ( )

◆ getDeviceModels()

vector< string > NetworkComponentBox::getDeviceModels ( string  )

◆ getDeviceTypes()

vector< string > NetworkComponentBox::getDeviceTypes ( )

◆ setAllWidgetsDisable()

void NetworkComponentBox::setAllWidgetsDisable ( bool  )

Enables or disables all child widgets.

Parameters
bDisabled,trueto disable input events to all child widgets, false to enable input events.

◆ setAllWidgetsVisible()

void NetworkComponentBox::setAllWidgetsVisible ( bool  )

Shows or hides all child widgets.

Parameters
bVisible,trueto show all child widgets, false to hide them.

◆ setDisabled()

void NetworkComponentBox::setDisabled ( bool  )

Enables or disables input events to this widget.

Parameters
bDisabled,trueto disable input events to this widget, false to enable input events.

◆ setFrameVisible()

void NetworkComponentBox::setFrameVisible ( bool  )

Shows or hides this whole frame (bottom toolbar) from view.

Parameters
bVisible,trueto show this whole frame (bottom toolbar), false to hide it.

◆ setVisible()

void NetworkComponentBox::setVisible ( bool  )

Shows or hides this widget from view.

Parameters
bVisible,trueto show this widget, false to hide it.

◆ setWidgetDisable()

void NetworkComponentBox::setWidgetDisable ( string  ,
bool   
)

Enables or disables the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: DeviceTypesWidget, DeviceSpecificWidget.
bDisabled,trueto disable input events to this child widget, false to enable input events.

◆ setWidgetVisible()

void NetworkComponentBox::setWidgetVisible ( string  ,
bool   
)

Shows or hides the specified child widget.

Parameters
widgetName,wherewidgetName can be one of the following: DeviceTypesWidget, DeviceSpecificWidget.
bVisible,trueto show this child widget, false to hide it.

The documentation for this class was generated from the following file: