Class ShowViewConfiguration
Configuration for showing views from the viewmodel via the dialog helper.
Inheritance
java.lang.Object
ShowViewConfiguration
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 class ShowViewConfiguration
Constructors
ShowViewConfiguration(Class<? extends FxmlView<? extends ViewModel>> viewClass, String stageTitle, boolean shouldBlock)
Declaration
public ShowViewConfiguration(Class<? extends FxmlView<? extends ViewModel>> viewClass, String stageTitle, boolean shouldBlock)
Parameters
Type | Name | Description |
---|---|---|
java.lang.Class<? extends de.saxsys.mvvmfx.FxmlView<? extends de.saxsys.mvvmfx.ViewModel>> | viewClass | The class of the view to load |
java.lang.String | stageTitle | The title of the stage |
boolean | shouldBlock | True if view should make other open views inaccesible until it is closed |
ShowViewConfiguration(Class<? extends FxmlView<? extends ViewModel>> viewClass, String windowTitle, boolean shouldBlock, int height, int width)
Declaration
public ShowViewConfiguration(Class<? extends FxmlView<? extends ViewModel>> viewClass, String windowTitle, boolean shouldBlock, int height, int width)
Parameters
Type | Name | Description |
---|---|---|
java.lang.Class<? extends de.saxsys.mvvmfx.FxmlView<? extends de.saxsys.mvvmfx.ViewModel>> | viewClass | The class of the view to load |
java.lang.String | windowTitle | |
boolean | shouldBlock | True if view should make other open views inaccesible until it is closed |
int | height | The height of the stage |
int | width | The width of the stage |
Methods
getHeight()
The height of the stage.
Declaration
public int getHeight()
Returns
Type | Description |
---|---|
int |
getStageTitle()
The title of the stage.
Declaration
public String getStageTitle()
Returns
Type | Description |
---|---|
java.lang.String |
getViewClass()
The class of the view to load.
Declaration
public Class<? extends FxmlView<? extends ViewModel>> getViewClass()
Returns
Type | Description |
---|---|
java.lang.Class<? extends de.saxsys.mvvmfx.FxmlView<? extends de.saxsys.mvvmfx.ViewModel>> |
getWidth()
The width of the stage.
Declaration
public int getWidth()
Returns
Type | Description |
---|---|
int |
shouldBlock()
True if view should make other open views inaccesible until it is closed
Declaration
public boolean shouldBlock()
Returns
Type | Description |
---|---|
boolean |