ViewModelType - typepublic abstract class View<ViewModelType extends ViewModel>
extends java.lang.Object
implements javafx.fxml.Initializable
ViewModel property which is typed
correctly.| Constructor and Description |
|---|
View()
Creates a View.
|
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<java.lang.Class<?>> |
getTypeArguments(java.lang.Class<T> baseClass,
java.lang.Class<? extends T> childClass)
Get the actual type arguments a child class has used to extend a generic
base class.
|
ViewModelType |
getViewModel() |
public View()
ViewWithoutViewModel, an exception is going to be thrown.public final ViewModelType getViewModel()
public <T> java.util.List<java.lang.Class<?>> getTypeArguments(java.lang.Class<T> baseClass,
java.lang.Class<? extends T> childClass)
baseClass - the base classchildClass - the child classCopyright © 2013 Saxonia Systems AG. All Rights Reserved.