Show / Hide Table of Contents

Class DynamicViewLoader

The DynamicViewLoader provides methods for loading visualizer views based on a given game name. Views may be loaded from a transmission session or from a file. As a basis for deciding which view should be loaded, the mappings defined in the json configuration file are used.

Inheritance
java.lang.Object
DynamicViewLoader
Implements
org.visab.eventbus.IPublisher<org.visab.eventbus.event.VISABFileVisualizedEvent>
Inherited Members
java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Namespace:
Assembly: .dll
Syntax
public final class DynamicViewLoader implements IPublisher<VISABFileVisualizedEvent>

Constructors

DynamicViewLoader()

Declaration
public DynamicViewLoader()

Methods

loadVisualizerView(String game, String fileName, IVISABFile file)

Loads the visualizer view for a given file.

Declaration
public static final void loadVisualizerView(String game, String fileName, IVISABFile file)
Parameters
Type Name Description
java.lang.String game

The game of the file

java.lang.String fileName

The fileName of the file. This has to be only the fileName, paths are not supported.

IVISABFile file

The file to visualize

loadVisualizerView(String game, UUID sessionId)

Loads the visualizer view for a given transmission session. If the transmission session is active and the corresponding session listener implements ILiveViewable the live view is loaded. Otherwise the regular, non live, view is loaded.

Declaration
public static final void loadVisualizerView(String game, UUID sessionId)
Parameters
Type Name Description
java.lang.String game

The game of the session

java.util.UUID sessionId

The sessionId of the session

publish(VISABFileVisualizedEvent event)

Declaration
public void publish(VISABFileVisualizedEvent event)
Parameters
Type Name Description
VISABFileVisualizedEvent event

Implements

org.visab.eventbus.IPublisher<org.visab.eventbus.event.VISABFileVisualizedEvent>
In This Article
Back to top Generated by DocFX