Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.conversations.StringPrompt Class Reference

StringPrompt is the base class for any prompt that accepts an arbitrary string from the user. More...

+ Inheritance diagram for org.bukkit.conversations.StringPrompt:
+ Collaboration diagram for org.bukkit.conversations.StringPrompt:

Public Member Functions

boolean blocksForInput (ConversationContext context)
 Ensures that the prompt waits for the user to provide input.
 
- Public Member Functions inherited from org.bukkit.conversations.Prompt
String getPromptText (ConversationContext context)
 Gets the text to display to the user when this prompt is first presented.
 
boolean blocksForInput (ConversationContext context)
 Checks to see if this prompt implementation should wait for user input or immediately display the next prompt.
 
Prompt acceptInput (ConversationContext context, String input)
 Accepts and processes input from the user.
 

Additional Inherited Members

- Static Public Attributes inherited from org.bukkit.conversations.Prompt
static final Prompt END_OF_CONVERSATION = null
 A convenience constant for indicating the end of a conversation.
 

Detailed Description

StringPrompt is the base class for any prompt that accepts an arbitrary string from the user.

Definition at line 6 of file StringPrompt.java.

Member Function Documentation

boolean org.bukkit.conversations.StringPrompt.blocksForInput ( ConversationContext  context)

Ensures that the prompt waits for the user to provide input.

Parameters
contextContext information about the conversation.
Returns
True.

Definition at line 13 of file StringPrompt.java.


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