C# Class RemoteTech.UI.AntennaFragment

Inheritance: IFragment, IDisposable
Datei anzeigen Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Public Properties

Property Type Description
onMouseOutListEntry System.Action
onMouseOverListEntry System.Action
triggerMouseOverListEntry bool

Public Methods

Method Description
AntennaFragment ( IAntenna antenna ) : System
Dispose ( ) : void
Draw ( ) : void
Refresh ( ) : void

Rebuilds list of target vessels

Refresh ( IAntenna sat ) : void
Refresh ( ISatellite sat ) : void

Rebuilds list of target vessels

Private Methods

Method Description
RefreshPlanets ( ) : void

Full refresh of target list

Calling this function wipes all information about which submenus were open or closed.

RemoveVessels ( Entry root ) : void

Removes all buttons representing specific vessels, while preserving celestial bodies and special targets

Method Details

AntennaFragment() public method

public AntennaFragment ( IAntenna antenna ) : System
antenna IAntenna
return System

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

Refresh() public method

Rebuilds list of target vessels
public Refresh ( ) : void
return void

Refresh() public method

public Refresh ( IAntenna sat ) : void
sat IAntenna
return void

Refresh() public method

Rebuilds list of target vessels
public Refresh ( ISatellite sat ) : void
sat ISatellite The satellite whose status has just changed.
return void

Property Details

onMouseOutListEntry public_oe property

Callback trigger for mouse out of a list entry
public Action,System onMouseOutListEntry
return System.Action

onMouseOverListEntry public_oe property

Callback trigger for mouse over a list entry
public Action,System onMouseOverListEntry
return System.Action

triggerMouseOverListEntry public_oe property

Flag to trigger the onMouseover event
public bool triggerMouseOverListEntry
return bool