Interface Activity


  • public interface Activity
    Represents an activity.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name of this activity.
      void renderIcon​(ej.microui.display.GraphicsContext g, int x, int y, int size)
      Renders the icon of this activity.
      void show()
      Shows this activity.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of this activity.
        Returns:
        the name of this activity.
      • renderIcon

        void renderIcon​(ej.microui.display.GraphicsContext g,
                        int x,
                        int y,
                        int size)
        Renders the icon of this activity.
        Parameters:
        g - the graphics context to draw with.
        x - the x coordinate of the region to draw in.
        y - the y coordinate of the region to draw in.
        size - the width and height of the region to draw in.
      • show

        void show()
        Shows this activity.