Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.command.TabCompleter Interface Reference
Inheritance diagram for org.bukkit.command.TabCompleter:
org.bukkit.command.TabExecutor org.bukkit.plugin.Plugin org.bukkit.plugin.PluginBase org.bukkit.plugin.java.JavaPlugin org.bukkit.plugin.TestPlugin

Public Member Functions

List< String > onTabComplete (CommandSender sender, Command command, String alias, String[] args)

Detailed Description

Represents a class which can suggest tab completions for commands.

Definition at line 8 of file TabCompleter.java.

Member Function Documentation

List<String> org.bukkit.command.TabCompleter.onTabComplete ( CommandSender  sender,
Command  command,
String  alias,
String[]  args 

Requests a list of possible completions for a command argument.

senderSource of the command
commandCommand which was executed
aliasThe alias used
argsThe arguments passed to the command, including final partial argument to be completed and command label
A List of possible completions for the final argument, or null to default to the command executor

Implemented in org.bukkit.plugin.java.JavaPlugin, and org.bukkit.plugin.TestPlugin.

Referenced by org.bukkit.command.PluginCommand.tabComplete().

The documentation for this interface was generated from the following file: