Home Reference Source Test Repository
public class | source

SidebarDisplay

Extends:

SidebarContent → SidebarDisplay

Sidebar content class for displaying graph data. This is the default sidebar type.

Constructor Summary

Public Constructor
public

constructor(graph: Graph)

Constructs a SidebarDisplay instance.

Method Summary

Public Methods
public

Display tabs and update content.

public

update()

Update the sidebar with data from the graph.

Inherited Summary

From class SidebarContent
public

graph: *

public

tabs: *

public

changeGraph(newGraph: Graph)

Change the Graph object reference stored to the new one.

public abstract

Display the sidebar.

public abstract

update()

Update the sidebar state.

Public Constructors

public constructor(graph: Graph) source

Constructs a SidebarDisplay instance.

Override:

SidebarContent#constructor

Params:

NameTypeAttributeDescription
graph Graph

The current Graph object.

Public Methods

public display() source

Display tabs and update content.

Override:

SidebarContent#display

public update() source

Update the sidebar with data from the graph.

Override:

SidebarContent#update