Class InlineMapDisplayHandler
- java.lang.Object
-
- com.onarandombox.MultiverseCore.display.handlers.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>>
-
-
Constructor Summary
Constructors Constructor Description InlineMapDisplayHandler()
-
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 aCollection
for displaying to the given sender.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.onarandombox.MultiverseCore.display.DisplayHandler
sendBody, sendHeader, sendSubHeader
-
-
-
-
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 aCollection
for displaying to the given sender.- Specified by:
format
in interfaceDisplayHandler<java.util.Map<java.lang.String,java.lang.Object>>
- Parameters:
sender
- TheCommandSender
who will the content will be displayed to.display
- The responsibleContentDisplay
.- Returns:
- The formatted content.
- Throws:
DisplayFormatException
- Issue occurred while formatting content. E.g. invalid page.
-
-