public class ScreenFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
DataSource<?> |
createDataSource(String dataSource)
Deprecated.
Use
View.createDataSource() |
Formatter |
getClientFormatter(String formatter)
Deprecated.
|
DeviceAdaptive.Device |
getCurrentDevice()
Retrieve the device type for the client running the application
|
DataSource<?> |
getDataSource(String dataSource)
Deprecated.
- Use createDataSource(java.lang.String) instead.
|
static ScreenFactory |
getInstance()
Retrieve the ScreenFactory instance.
|
RegisteredControllers |
getRegisteredControllers()
Deprecated.
Use
View.getRegisteredControllers() |
Screen |
getScreen()
Get the screen associated with current page.
|
public static ScreenFactory getInstance()
public Screen getScreen()
public DeviceAdaptive.Device getCurrentDevice()
@Deprecated public Formatter getClientFormatter(String formatter)
formatter - @Deprecated public DataSource<?> createDataSource(String dataSource)
View.createDataSource()dataSource - dataSource name, declared with @DataSource annotation@Deprecated public DataSource<?> getDataSource(String dataSource)
dataSource - @Deprecated public RegisteredControllers getRegisteredControllers()
View.getRegisteredControllers()Copyright © 2015. All rights reserved.