screens
Class FavScreen

java.lang.Object
  extended by Form
      extended by screens.FavScreen

public class FavScreen
extends Form

This is the favorite groups screen. This holds a quick link to all of the groups the user has marked as favorite.

Author:
John Van Enk

Constructor Summary
FavScreen(java.lang.String formTitle, BadCoffeeFinal m)
          Constructor for the screen.
 
Method Summary
 void addFav(java.lang.String name)
           
 void commandAction(Command command, Item item)
           
 void groupLoad(java.lang.String name)
          Function to load groups directly instead of going through the search screen.
 boolean inFav(java.lang.String name)
          Check whether or not a group name is in the favorites list.
 void setupScreen()
          Sets up the screen for display.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FavScreen

public FavScreen(java.lang.String formTitle,
                 BadCoffeeFinal m)
Constructor for the screen.

Parameters:
formTitle -
m -
Method Detail

setupScreen

public void setupScreen()
Sets up the screen for display.


inFav

public boolean inFav(java.lang.String name)
Check whether or not a group name is in the favorites list. Returns true if the name is alrady in the favorites list.

Parameters:
name -
Returns:
boolean

addFav

public void addFav(java.lang.String name)

groupLoad

public void groupLoad(java.lang.String name)
Function to load groups directly instead of going through the search screen.

Parameters:
name - - The name of the group.

commandAction

public void commandAction(Command command,
                          Item item)