Show / Hide Table of Contents

Class VisualizeScope

Visualize scope that can be injected into viewmodels whose views are loaded by the DynamicViewLoader. If the view was loaded as a live view, the session listener should be used as a data source. If the view was loaded from a file, the file should be used as a data source. The VisualizeScope is also a GeneralScope and therefore exposes the stage that the view of the viewmodel is living in.

Inheritance
java.lang.Object
GeneralScope
VisualizeScope
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)
GeneralScope.getStage()
GeneralScope.registerOnStageClosing(Consumer<Stage>)
GeneralScope.setStage(Stage)
Namespace:
Assembly: .dll
Syntax
public class VisualizeScope extends GeneralScope

Constructors

VisualizeScope()

Declaration
public VisualizeScope()

Methods

getFile()

The VISAB file.

Declaration
public IVISABFile getFile()
Returns
Type Description
IVISABFile

getSessionListener()

The session listener of the session. Returns null if the view was not loaded as a live view, else the session listener.

Declaration
public ILiveViewable<?> getSessionListener()
Returns
Type Description
ILiveViewable<?>

isLive()

True if the view was loaded as a live view.

Declaration
public boolean isLive()
Returns
Type Description
boolean

setFile(IVISABFile file)

Sets the file. This should only be called by the DynamicViewLoader.

Declaration
public void setFile(IVISABFile file)
Parameters
Type Name Description
IVISABFile file

The file

setLive(boolean isLive)

Sets whether the view was loaded a live view or not. Should only be called by the DynamicViewLoader.

Declaration
public void setLive(boolean isLive)
Parameters
Type Name Description
boolean isLive

True if the view was loaded as a live view

setSessionListener(ILiveViewable<?> sessionListener)

Sets the session listener. Should only be called by the DynamicViewLoader.

Declaration
public void setSessionListener(ILiveViewable<?> sessionListener)
Parameters
Type Name Description
ILiveViewable<?> sessionListener

The session listener

In This Article
Back to top Generated by DocFX