Interface Views

All Known Implementing Classes:
ViewsImpl

public interface Views
Creates UI view instances.

To open views, use ViewNavigators and DialogWindows.

  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends View>
    T
    create(Class<T> viewClass)
    Creates a view by its class.
    create(String viewId)
    Creates a view by its id.
  • Method Details

    • create

      View create(String viewId)
      Creates a view by its id.
      Parameters:
      viewId - view id set in the ViewController annotation.
      Returns:
      view instance
    • create

      <T extends View> T create(Class<T> viewClass)
      Creates a view by its class.
      Parameters:
      viewClass - view class
      Returns:
      view instance