Interface Mapping


@NonNullByDefault public interface Mapping
A representation of a sitemap widget Mapping.
Author:
Mark Herwege - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the click command mapped to the widget item state.
    @Nullable String
    Get the icon mapped to the widget item state.
    Get the label mapped to the widget item state.
    @Nullable String
    Get the release command mapped to the widget item state.
    void
    Set the click command mapped to the widget item state.
    void
    setIcon(@Nullable String icon)
    Set the label mapped to the widget item state.
    void
    Set the label mapped to the widget item state.
    void
    setReleaseCmd(@Nullable String releaseCmd)
    Set the release command mapped to the widget item state.
  • Method Details

    • getCmd

      String getCmd()
      Get the click command mapped to the widget item state.
      Returns:
      cmd
    • setCmd

      void setCmd(String cmd)
      Set the click command mapped to the widget item state.
      Parameters:
      cmd -
    • getReleaseCmd

      @Nullable String getReleaseCmd()
      Get the release command mapped to the widget item state.
      Returns:
      releaseCmd
    • setReleaseCmd

      void setReleaseCmd(@Nullable String releaseCmd)
      Set the release command mapped to the widget item state.
      Parameters:
      releaseCmd -
    • getLabel

      String getLabel()
      Get the label mapped to the widget item state.
      Returns:
      label
    • setLabel

      void setLabel(String label)
      Set the label mapped to the widget item state.
      Parameters:
      label -
    • getIcon

      @Nullable String getIcon()
      Get the icon mapped to the widget item state.
      Returns:
      icon
    • setIcon

      void setIcon(@Nullable String icon)
      Set the label mapped to the widget item state.
      Parameters:
      icon -