Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl Interface Reference

This is the base terminal control interface. All controls implement this. More...

Inheritance diagram for Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl:
Sandbox.Game.Gui.MyTerminalControl< TBlock > Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlButton Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlCheckbox Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlColor Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlCombobox Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlLabel Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlListbox Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlOnOffSwitch Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlProperty< TValue > Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlSeparator Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlSlider Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlTextbox

Public Member Functions

void RedrawControl ()
 Recreates the control GUI. This allows you to update the Title of some controls. More...
 
void UpdateVisual ()
 This updates a control that is currently displayed, allowing you to refresh it's state More...
 

Properties

string Id [get]
 Identifier of control More...
 
Func< IMyTerminalBlock, bool > Enabled [set]
 Allows you to set if the control is enabled More...
 
Func< IMyTerminalBlock, bool > Visible [set]
 Allows you to set if the control is visible More...
 
bool SupportsMultipleBlocks [get, set]
 Allows you to set if the control is visible when the block is selected as a group More...
 

Detailed Description

This is the base terminal control interface. All controls implement this.

Definition at line 10 of file IMyTerminalControl.cs.

Member Function Documentation

void Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl.RedrawControl ( )

Recreates the control GUI. This allows you to update the Title of some controls.

Implemented in Sandbox.Game.Gui.MyTerminalControl< TBlock >.

void Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl.UpdateVisual ( )

This updates a control that is currently displayed, allowing you to refresh it's state

Implemented in Sandbox.Game.Gui.MyTerminalControl< TBlock >.

Property Documentation

Func<IMyTerminalBlock, bool> Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl.Enabled
set

Allows you to set if the control is enabled

Definition at line 19 of file IMyTerminalControl.cs.

string Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl.Id
get

Identifier of control

Definition at line 15 of file IMyTerminalControl.cs.

bool Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl.SupportsMultipleBlocks
getset

Allows you to set if the control is visible when the block is selected as a group

Definition at line 27 of file IMyTerminalControl.cs.

Func<IMyTerminalBlock, bool> Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl.Visible
set

Allows you to set if the control is visible

Definition at line 23 of file IMyTerminalControl.cs.


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