Class InlineMapDisplayHandler

  • All Implemented Interfaces:
    DisplayHandler<java.util.Map<java.lang.String,​java.lang.Object>>

    public class InlineMapDisplayHandler
    extends java.lang.Object
    implements DisplayHandler<java.util.Map<java.lang.String,​java.lang.Object>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> format​(@NotNull org.bukkit.command.CommandSender sender, @NotNull ContentDisplay<java.util.Map<java.lang.String,​java.lang.Object>> display)
      Formats the raw content into a Collection for displaying to the given sender.
      • Methods inherited from class java.lang.Object

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

      • InlineMapDisplayHandler

        public InlineMapDisplayHandler()
    • Method Detail

      • format

        public java.util.Collection<java.lang.String> format​(@NotNull
                                                             @NotNull org.bukkit.command.CommandSender sender,
                                                             @NotNull
                                                             @NotNull ContentDisplay<java.util.Map<java.lang.String,​java.lang.Object>> display)
                                                      throws DisplayFormatException
        Description copied from interface: DisplayHandler
        Formats the raw content into a Collection for displaying to the given sender.
        Specified by:
        format in interface DisplayHandler<java.util.Map<java.lang.String,​java.lang.Object>>
        Parameters:
        sender - The CommandSender who will the content will be displayed to.
        display - The responsible ContentDisplay.
        Returns:
        The formatted content.
        Throws:
        DisplayFormatException - Issue occurred while formatting content. E.g. invalid page.