Class Event.Gadget

  • Enclosing class:
    Event

    public static class Event.Gadget
    extends Object
    A gadget that extends an event.
    • Constructor Detail

      • Gadget

        public Gadget()
    • Method Detail

      • getType

        public String getType()
        The gadget's type.
        Returns:
        the value or null if none.
      • getTitle

        public String getTitle()
        The gadget's title.
        Returns:
        the value or null if none.
      • getLink

        public String getLink()
        The gadget's URL.
        Returns:
        the value or null if none.
      • getIconLink

        public String getIconLink()
        The gadget's icon URL.
        Returns:
        the value or null if none.
      • getWidth

        public Integer getWidth()
        The gadget's width in pixels.
        Returns:
        the value or null if none.
      • getHeight

        public Integer getHeight()
        The gadget's height in pixels.
        Returns:
        the value or null if none.
      • getDisplay

        public DisplayMode getDisplay()
        The gadget's display mode.
        Returns:
        the value or null if none.
      • getPreferences

        public Map<String,​String> getPreferences()
        The gadget's preferences.
        Returns:
        the value or null if none.