com.planet_ink.coffee_mud.Common.interfaces
Class Poll.PollOption

java.lang.Object
  extended by com.planet_ink.coffee_mud.Common.interfaces.Poll.PollOption
Enclosing interface:
Poll

public static class Poll.PollOption
extends java.lang.Object

A class to represent a single choosable option for this poll.


Field Summary
 java.lang.String text
          the option shown to the user for choosing
 
Constructor Summary
Poll.PollOption(java.lang.String opt)
          Creates a single choosable option for this poll
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

public java.lang.String text
the option shown to the user for choosing

Constructor Detail

Poll.PollOption

public Poll.PollOption(java.lang.String opt)
Creates a single choosable option for this poll

Parameters:
opt - the text of the option, as shown to the user