screens
Class PostMessageScreen

java.lang.Object
  extended by TextBox
      extended by screens.PostMessageScreen

public class PostMessageScreen
extends TextBox

Screen which allows users to post new messages to the system.

Author:
John Van Enk

Constructor Summary
PostMessageScreen(java.lang.String title, java.lang.String text, int maxSize, int constraints, BadCoffeeFinal m)
          Screen constructor.
 
Method Summary
 void commandAction(Command c, Displayable d)
           
 void setGroupID(int id)
          Sets the group ID number.
 void setMsgBody(java.lang.String b)
          Sets the body of the message.
 void setMsgTitle(java.lang.String t)
          Sets the title of the message.
 void setupTextBox()
          Sets up the screen/text box.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostMessageScreen

public PostMessageScreen(java.lang.String title,
                         java.lang.String text,
                         int maxSize,
                         int constraints,
                         BadCoffeeFinal m)
Screen constructor.

Parameters:
title -
text -
maxSize -
constraints -
Method Detail

setGroupID

public void setGroupID(int id)
Sets the group ID number.

Parameters:
id -

setMsgTitle

public void setMsgTitle(java.lang.String t)
Sets the title of the message.

Parameters:
t - -- The title.

setMsgBody

public void setMsgBody(java.lang.String b)
Sets the body of the message.

Parameters:
b - -- The body.

setupTextBox

public void setupTextBox()
Sets up the screen/text box.


commandAction

public void commandAction(Command c,
                          Displayable d)