Package 

Interface ThemeController

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit loadStyleSheet(String stylePath) Loads a new style sheet from the configuration resource path.
      abstract Unit setTextScale(Float scale) Set text scale factor
      abstract Boolean setTimeOfDay(Float timeOfDay)
      sets the time of day to the map
      abstract Float getTimeOfDay()
      gets the current time of the day for the view in the engine
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • loadStyleSheet

         abstract Unit loadStyleSheet(String stylePath)

        Loads a new style sheet from the configuration resource path.

        Parameters:
        stylePath - The path to the TSS (Theme Style Sheet) file within the Atlas resource, it is an relative path(e.g.
      • setTextScale

         abstract Unit setTextScale(Float scale)

        Set text scale factor

        Parameters:
        scale - default is 1.
      • setTimeOfDay

         abstract Boolean setTimeOfDay(Float timeOfDay)

        sets the time of day to the map

        Parameters:
        timeOfDay - 0 is day, 1 is night and any value between is a shade between white and black
      • getTimeOfDay

         abstract Float getTimeOfDay()

        gets the current time of the day for the view in the engine