A B C D F G I M P Q R S T U

A

AccessPoint - Class in backend.domainObjects
This class corresponds to the <accesspoint> tag-section in XML.
AccessPoint() - Constructor for class backend.domainObjects.AccessPoint
 
AccessPointList - Class in backend.domainObjects
This class contains an array of access points, and operates quite similarly to the MessageList and APGroupList classes.
AccessPointList() - Constructor for class backend.domainObjects.AccessPointList
The default constructor uses the startBlank method to set its capacity to 5, allocate a new array to fit 5 AccessPoint-type objects, and sets the size to 0.
add(AccessPoint) - Method in class backend.domainObjects.AccessPointList
This method adds an AccessPoint-type object to the array, boosting the capacity if need be.
add(APGroup) - Method in class backend.domainObjects.APGroupList
This adds an APGroup-type object to the APGroupList object on which this method is called.
add(Message) - Method in class backend.domainObjects.MessageList
This method adds a Message-type object to the MessageList.
addFav(String) - Method in class screens.FavScreen
 
APDetailScreen - Class in screens
This class was not implemented in the final project.
APDetailScreen(String) - Constructor for class screens.APDetailScreen
 
APGroup - Class in backend.domainObjects
 
APGroup() - Constructor for class backend.domainObjects.APGroup
 
APGroupList - Class in backend.domainObjects
This class contains multiple APGroup-type objects, and this XML-parsing class corresponds to the <groups> tag-groups in the XML code.
APGroupList() - Constructor for class backend.domainObjects.APGroupList
The default constructore sets the capacity of the APGroupList to 5, and allocates memory for the array.
aplist - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
APLIST - Static variable in class screens.ScreenInfo
Access Point List screen.
APListScreen - Class in screens
This class was not implemented in the final project.
APListScreen(String, int, BadCoffeeFinal) - Constructor for class screens.APListScreen
 
at(int) - Method in class backend.domainObjects.AccessPointList
This method returns the AccessPoint in the AccessPointList's array at the given index.
at(int) - Method in class backend.domainObjects.APGroupList
This accessor method returns the APGroup in the array at the given index.
at(int) - Method in class backend.domainObjects.MessageList
This accessor method returns the Message-type object in the array at the given index.
authenticate() - Method in class backend.User
Authenticates the user.

B

backend - package backend
 
backend.domainObjects - package backend.domainObjects
 
BadCoffeeFinal - package BadCoffeeFinal
 
BadCoffeeFinal - Class in BadCoffeeFinal
This is the main class for BadCoffee.
BadCoffeeFinal() - Constructor for class BadCoffeeFinal.BadCoffeeFinal
 

C

commandAction(Command, Item) - Method in class screens.APDetailScreen
 
commandAction(Command, Displayable) - Method in class screens.APListScreen
 
commandAction(Command, Item) - Method in class screens.FavScreen
 
commandAction(Command, Item) - Method in class screens.GroupScreen
 
commandAction(Command, Displayable) - Method in class screens.MessageListScreen
 
commandAction(Command, Item) - Method in class screens.MessageScreen
 
commandAction(Command, Displayable) - Method in class screens.PostMessageScreen
 
commandAction(Command, Displayable) - Method in class screens.SearchResultsScreen
 
commandAction(Command, Item) - Method in class screens.SearchScreen
 
commandAction(Command, Item) - Method in class screens.StartScreen
 
commandAction(Command, Item) - Method in class screens.TestScreen
 

D

destroyApp(boolean) - Method in class BadCoffeeFinal.BadCoffeeFinal
 

F

fav - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
FAV - Static variable in class screens.ScreenInfo
Favorites screen.
FavScreen - Class in screens
This is the favorite groups screen.
FavScreen(String, BadCoffeeFinal) - Constructor for class screens.FavScreen
Constructor for the screen.
form - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
fromXML(KXmlParser) - Method in class backend.domainObjects.AccessPoint
This method, like most other fromXML methods, assumes that the KXmlParser you give it has just found an <accesspoint> tag.
fromXML(KXmlParser) - Method in class backend.domainObjects.AccessPointList
Like almost all the other XML-parsing methods, this one assumes that a <accesspoints> tag has just been found in the XML code by the parser.
fromXML(KXmlParser) - Method in class backend.domainObjects.APGroup
Like other parsing methods, this one assumes that a <groups> tag has already been found by the KXmlParser you pass to it.
fromXML(KXmlParser) - Method in class backend.domainObjects.APGroupList
This is the XML-parsing method for the APGroupList class.
fromXML(KXmlParser) - Method in class backend.domainObjects.Message
This method, like most other fromXML methods in the domainObjects package, assumes that the KXmlParser you give it has just found a <message> tag.
fromXML(KXmlParser) - Method in class backend.domainObjects.MessageList
The parsing method for this class, like most other classes in domainObjects, assumes that the KXmlParser you give it has just found a <messages> tag.
fromXML(KXmlParser) - Method in class backend.domainObjects.Result
This is the master XML-parsing method.

G

getAddress() - Method in class backend.domainObjects.AccessPoint
returns the street address of the access point
getAPList() - Method in class backend.domainObjects.APGroup
 
getAPListScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the APListScreen.
getBody() - Method in class backend.domainObjects.Message
returns the body of the message
getChannel() - Method in class backend.domainObjects.AccessPoint
returns the channel
getCity() - Method in class backend.domainObjects.AccessPoint
returns the city the access point is in
getCurrentGroupID() - Method in class screens.GroupScreen
 
getDatarate() - Method in class backend.domainObjects.AccessPoint
returns the data rate
getEncryption() - Method in class backend.domainObjects.AccessPoint
returns the encryption
getErrorMessage() - Method in class backend.domainObjects.Result
If the result is an error message, this will return the error message received.
getFavScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the favorites screen.
getFirstSeen() - Method in class backend.domainObjects.AccessPoint
returns the time when the access point was first added to the database
getForm() - Method in class BadCoffeeFinal.BadCoffeeFinal
 
getGroupScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the GroupScreen.
getID() - Method in class backend.domainObjects.AccessPoint
returns the ID
getID() - Method in class backend.domainObjects.APGroup
 
getID() - Method in class backend.domainObjects.Message
returns the ID
getLastSeen() - Method in class backend.domainObjects.AccessPoint
returns the time when the access point's stats were last altered for our database
getList() - Method in class backend.domainObjects.Result
This returns the list of access point groups, and it's the only way to get at the data that a Result-type object parses from XML
getMAC() - Method in class backend.domainObjects.AccessPoint
returns the MAC address
getMessageList() - Method in class backend.domainObjects.APGroup
 
getMessageListScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the MessageListScreen.
getMessageScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the MessageScreen.
getName() - Method in class backend.domainObjects.AccessPoint
returns the name
getName() - Method in class backend.domainObjects.APGroup
 
getParent() - Method in class backend.domainObjects.APGroup
 
getParent() - Method in class backend.domainObjects.Message
returns the parent message's ID
getPass() - Method in class backend.User
Returns the user's password.
getPoster() - Method in class backend.domainObjects.Message
returns the poster
getPostMessageScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the PostMessageScreen.
getRating() - Method in class backend.domainObjects.AccessPoint
returns the rating
getResult() - Method in class BadCoffeeFinal.BadCoffeeFinal
This returns the result object.
getSearchResultsScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the SearchResultsScreen.
getSearchScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
Returns the Search Screen
getStartScreen() - Method in class BadCoffeeFinal.BadCoffeeFinal
 
getState() - Method in class backend.domainObjects.AccessPoint
returns the state the access point is in
getTitle() - Method in class backend.domainObjects.Message
returns the subject
getType() - Method in class backend.domainObjects.AccessPoint
returns the type
getUser() - Method in class backend.User
Returns the username.
getUserXML() - Method in class BadCoffeeFinal.BadCoffeeFinal
This retrieves the XML for the user's credentials from the user object.
getXML() - Method in class backend.User
Returns the user's credentials as well formed XML.
getZIP() - Method in class backend.domainObjects.AccessPoint
returns the ZIP code the access point is in
group - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
GROUP - Static variable in class screens.ScreenInfo
Group screen.
groupLoad(String) - Method in class screens.FavScreen
Function to load groups directly instead of going through the search screen.
GroupScreen - Class in screens
Screen to list information about a group.
GroupScreen(String, BadCoffeeFinal) - Constructor for class screens.GroupScreen
Constructor for the screen.

I

inFav(String) - Method in class screens.FavScreen
Check whether or not a group name is in the favorites list.
isAuthed() - Method in class backend.User
Checks if the user has been authenticated.
isError() - Method in class backend.domainObjects.Result
Returns a boolean that tells whether the result picked up an error or not.

M

main(String[]) - Static method in class backend.domainObjects.ResultParserDriver
 
Message - Class in backend.domainObjects
This class corresponds to the <message> tag in XML code.
Message() - Constructor for class backend.domainObjects.Message
 
message - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
MESSAGE - Static variable in class screens.ScreenInfo
Message screen.
MessageList - Class in backend.domainObjects
This class contains multiple Message-type objects.
MessageList() - Constructor for class backend.domainObjects.MessageList
This constructor sets the size to 0, the capacity to 5, and allocates memory for an array for 5 Message-type objects.
messagelist - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
MESSAGELIST - Static variable in class screens.ScreenInfo
Message List screen.
MessageListScreen - Class in screens
This screen lists all the messages provided form a group.
MessageListScreen(String, int, BadCoffeeFinal) - Constructor for class screens.MessageListScreen
MessageListConstructor
MessageScreen - Class in screens
This screen displays a single message.
MessageScreen(String, BadCoffeeFinal) - Constructor for class screens.MessageScreen
Screen constructor.
moveParserToNextTag(KXmlParser) - Static method in class backend.domainObjects.StaticParserMover
This method, as the name implies, moves the parser to the next tag in the XML that the parser is parsing.

P

pauseApp() - Method in class BadCoffeeFinal.BadCoffeeFinal
 
postmessage - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
POSTMESSAGE - Static variable in class screens.ScreenInfo
Post Message screen.
PostMessageScreen - Class in screens
Screen which allows users to post new messages to the system.
PostMessageScreen(String, String, int, int, BadCoffeeFinal) - Constructor for class screens.PostMessageScreen
Screen constructor.

Q

queryServer(String) - Method in class backend.ServerConnector
This method is a wrapper method for sendQueryPost.

R

Result - Class in backend.domainObjects
This class assumes that there is one and only one <groups> thingy in the whole <result> thingy.
Result() - Constructor for class backend.domainObjects.Result
 
ResultParserDriver - Class in backend.domainObjects
This class tests the Result class and all the child-objects of it.
ResultParserDriver() - Constructor for class backend.domainObjects.ResultParserDriver
 

S

ScreenInfo - Class in screens
Holds basic ID information about screens.
ScreenInfo() - Constructor for class screens.ScreenInfo
 
screens - package screens
 
search - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
SEARCH - Static variable in class screens.ScreenInfo
Search screen.
searchresults - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
SEARCHRESULTS - Static variable in class screens.ScreenInfo
Search Results screen.
SearchResultsScreen - Class in screens
Displays the results of a search.
SearchResultsScreen(String, int, BadCoffeeFinal) - Constructor for class screens.SearchResultsScreen
Constructor for the screen.
SearchScreen - Class in screens
Screen used to search for access point groups.
SearchScreen(String, BadCoffeeFinal) - Constructor for class screens.SearchScreen
Constructor to build the screen.
sendQueryPost(String, String) - Method in class backend.ServerConnector
Sends a query to the server.
ServerConnector - Class in backend
 
ServerConnector() - Constructor for class backend.ServerConnector
 
setAPGroup(APGroup) - Method in class screens.GroupScreen
Sets the APGroup object.
setGroupID(int) - Method in class screens.PostMessageScreen
Sets the group ID number.
setGroupList(APGroupList) - Method in class screens.SearchResultsScreen
Sets the group list object.
setMessage(Message) - Method in class screens.MessageScreen
Sets the message object.
setMessages(MessageList) - Method in class screens.MessageListScreen
Sets the MessageList object.
setMsgBody(String) - Method in class screens.PostMessageScreen
Sets the body of the message.
setMsgTitle(String) - Method in class screens.PostMessageScreen
Sets the title of the message.
setPass(String) - Method in class backend.User
Sets the password.
setResult(Result) - Method in class BadCoffeeFinal.BadCoffeeFinal
This sets the result object.
setScreen(int) - Method in class BadCoffeeFinal.BadCoffeeFinal
Sets the current screen.
setText(String) - Method in class screens.SearchScreen
Preset the search text.
setupList(AccessPointList) - Method in class screens.APListScreen
 
setupList() - Method in class screens.MessageListScreen
Sets up the screen/list for display.
setupList() - Method in class screens.SearchResultsScreen
Setup the list/screen for viewing.
setupLogin() - Method in class screens.StartScreen
Sets up the screen for a login.
setupScreen() - Method in class screens.FavScreen
Sets up the screen for display.
setupScreen() - Method in class screens.GroupScreen
Sets the screen up for display.
setupScreen() - Method in class screens.MessageScreen
Sets up the screen for display.
setupScreen() - Method in class screens.SearchScreen
Setup the screen.
setupScreen() - Method in class screens.StartScreen
Sets up the home screen once the user has been authenticated.
setupScreen() - Method in class screens.TestScreen
Prepare the screen for display.
setupTextBox() - Method in class screens.PostMessageScreen
Sets up the screen/text box.
setUser(String) - Method in class backend.User
Sets the username.
simpleQuery(String) - Method in class backend.ServerConnector
This is a simplified version of the other query functions in this class which serves to make the query process easier.
size() - Method in class backend.domainObjects.AccessPointList
This method returns the size of the AccessPointList---i.e.
size() - Method in class backend.domainObjects.APGroupList
This method returns the size of the APGroupList.
size() - Method in class backend.domainObjects.MessageList
returns the size---i.e.
start - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
START - Static variable in class screens.ScreenInfo
Start/Home screen.
startApp() - Method in class BadCoffeeFinal.BadCoffeeFinal
 
StartScreen - Class in screens
The initial screen used for BadCoffee.
StartScreen(String, BadCoffeeFinal, User) - Constructor for class screens.StartScreen
Constructor.
StaticParserMover - Class in backend.domainObjects
This class is what Professor Frens would call evil by definition, since it uses a static method.
StaticParserMover() - Constructor for class backend.domainObjects.StaticParserMover
 

T

test - Variable in class BadCoffeeFinal.BadCoffeeFinal
 
TEST - Static variable in class screens.ScreenInfo
Test screen.
TestScreen - Class in screens
The TestScreen class is used primarily as a debugging tool.
TestScreen(String, BadCoffeeFinal) - Constructor for class screens.TestScreen
 
throwParseError() - Method in class backend.domainObjects.APGroup
This method simply throws an XmlPullParserException.
toString() - Method in class backend.domainObjects.AccessPoint
This object returns a string containing all the fields of the AccessPoint class, formatted nicely.
toString() - Method in class backend.domainObjects.Message
returns the fields of the message formatted nicely.
trim() - Method in class backend.domainObjects.AccessPointList
In case we need to save memory, this method will copy everything from the current array into a new array that has a length equal to the size field of the AccessPointList---i.e.
trim() - Method in class backend.domainObjects.APGroupList
Just in case we need to do things to conserve memory, this method will copy all the contents of the original array into a new array that has its length fixed at the size of the APGroupList.

U

User - Class in backend
Holds the user credentials.
User(BadCoffeeFinal) - Constructor for class backend.User
 

A B C D F G I M P Q R S T U