A B C D E F G I K L M N P R S U

A

actionPerformed(ActionEvent) - Method in class DateChooser
Called when the "Ok" button is pressed.
actionPerformed(ActionEvent) - Method in class Preferences
Called when the user clicks the button or presses Enter in a text field.
addColumn(String) - Method in class CaltellaTableModel
 
addEvent(ArrayList) - Method in class Events
This will an Event to the current CaltellaTableModel and select it.
addPeer(int) - Method in class Peers
 
addRow() - Method in class CaltellaTableModel
 
addRow(ArrayList) - Method in class CaltellaTableModel
 

B

bind(int, String) - Method in class Database
 
bind(int, String) - Method in interface IDataBaseAccess
This binds the peers address to his id in the CNS, now he is marked as online.
bind(int, int) - Method in class SendToCNS
 

C

CNS - class CNS.
 
CNS() - Constructor for class CNS
 
Caltella - class Caltella.
The Caltella Client There are three classes powering the user interaction used by this class.
Caltella(String) - Constructor for class Caltella
 
CaltellaTableModel - class CaltellaTableModel.
The CaltellaTableModel will be used by those classes including a JTable in the JPanel.
CaltellaTableModel(ArrayList) - Constructor for class CaltellaTableModel
 
checkPassword(int, String) - Method in class Database
 
checkPassword(int, String) - Method in interface IDataBaseAccess
This methode is used to check the peers identity.
close() - Method in class Events
 
close() - Method in class Peers
 
connect() - Method in class Database
 
connect() - Method in interface IDataBaseAccess
This methode connects the CNS to his DB.
constructCalendar(ArrayList, File) - Method in interface IvCalendar
Takes an ArrayList of Strings representing those events and exports (constructs) a file to be stored at the given path.
constructEvent(Date, Date, String, String[]) - Method in interface IvCalendar
 
createAddressDisplay() - Method in class Preferences
 
createButtons() - Method in class Preferences
 
createEntryFields() - Method in class Preferences
 

D

Database - class Database.
 
Database() - Constructor for class Database
 
DateButton - class DateButton.
Custom button for entering dates.
DateButton(Date) - Constructor for class DateButton
Constructs a new DateButton object with a given date.
DateButton() - Constructor for class DateButton
Constructs a new DateButton object with the system date as the initial date.
DateChooser - class DateChooser.
Custom dialog box to enter dates.
DateChooser(Dialog, String) - Constructor for class DateChooser
Constructs a new DateChooser with the given title.
DateChooser(Dialog) - Constructor for class DateChooser
Constructs a new DateChooser.
DateChooser(Frame, String) - Constructor for class DateChooser
Constructs a new DateChooser with the given title.
DateChooser(Frame) - Constructor for class DateChooser
Constructs a new DateChooser.
deleteRow(int) - Method in class CaltellaTableModel
 

E

Events - class Events.
In this JPanel the Caltella user can add and manage his Events.
Events(Properties, Hashtable) - Constructor for class Events
 
extractCalendar(File) - Method in interface IvCalendar
Takes a file and imports (extracts) all events and return a ArrayList of Strings representing those events
extractEvent(String) - Method in interface IvCalendar
 

F

fireActionPerformed(ActionEvent) - Method in class DateButton
Called when the button is clicked, in order to fire an ActionEvent.
focusGained(FocusEvent) - Method in class DateChooser
Called when the calendar gains the focus.
focusGained(FocusEvent) - Method in class Preferences
Called when one of the fields gets the focus so that we can select the focused field.
focusLost(FocusEvent) - Method in class DateChooser
Called when the calendar loses the focus.
focusLost(FocusEvent) - Method in class Preferences
 
formatAddress() - Method in class Preferences
 

G

getAddress() - Method in class Peer
 
getAddress(int) - Method in class SendToCNS
 
getColumnCount() - Method in class CaltellaTableModel
 
getColumnName(int) - Method in class CaltellaTableModel
 
getDate() - Method in class DateButton
Gets the value of the date property.
getEmail(int) - Method in class Database
 
getEmail(int) - Method in interface IDataBaseAccess
Returns the email of the peer identified by id.
getEmail(int) - Method in class SendToCNS
 
getFirstName(int) - Method in class Database
 
getFirstName(int) - Method in interface IDataBaseAccess
Returns the first Name of the peer identified by id.
getFirstName(int) - Method in class SendToCNS
 
getImageURL(int) - Method in class Database
 
getImageURL(int) - Method in interface IDataBaseAccess
Returns an URL to an image of the peer identified by id.
getImageURL(int) - Method in class SendToCNS
 
getLastName(int) - Method in class Database
 
getLastName(int) - Method in interface IDataBaseAccess
Returns the Last Name of the peer identified by id.
getLastName(int) - Method in class SendToCNS
 
getNewEvent() - Method in class Events
 
getPossibleValue() - Method in class Peer
 
getRowCount() - Method in class CaltellaTableModel
 
getSearchFields() - Method in class Database
 
getSearchFields() - Method in interface IDataBaseAccess
This methode is used to get a list of searchable colums used for the IDataBaseAccess.search(java.lang.String, java.lang.String) method.
getSearchFields() - Method in class SendToCNS
 
getStateStrings() - Method in class Preferences
 
getStatus(int) - Method in class SendToCNS
 
getTextField(JSpinner) - Method in class Preferences
 
getValueAt(int, int) - Method in class CaltellaTableModel
 

I

IDataBaseAccess - interface IDataBaseAccess.
The class implemting this interface will be used by the Caltella Name Server (CNS).
IvCalendar - interface IvCalendar.
The class implemting this interface will be used by the Caltella Client.
isCellEditable(int, int) - Method in class CaltellaTableModel
 
isOnline(int) - Method in class Database
 
isOnline(int) - Method in interface IDataBaseAccess
Returns true if the peer identified by id is online.
isOnline() - Method in class Peer
 
isOnline(int) - Method in class SendToCNS
 
itemStateChanged(ItemEvent) - Method in class DateChooser
Called when a new month or year is selected.

K

keyPressed(KeyEvent) - Method in class DateChooser
Called when a key is pressed and the calendar has the focus.
keyReleased(KeyEvent) - Method in class DateChooser
 
keyTyped(KeyEvent) - Method in class DateChooser
 

L

lookup(int) - Method in class Database
 
lookup(int) - Method in interface IDataBaseAccess
Before we can send messages we need there address.

M

main(String[]) - Static method in class CNS
 
main(String[]) - Static method in class Caltella
 
makeCompactGrid(Container, int, int, int, int, int, int) - Static method in class SpringUtilities
Aligns the first rows * cols components of parent in a grid.
makeGrid(Container, int, int, int, int, int, int) - Static method in class SpringUtilities
Aligns the first rows * cols components of parent in a grid.
mouseClicked(MouseEvent) - Method in class DateChooser
Called when the mouse is clicked on a day in the calendar.
mouseEntered(MouseEvent) - Method in class DateChooser
 
mouseExited(MouseEvent) - Method in class DateChooser
 
mousePressed(MouseEvent) - Method in class DateChooser
 
mouseReleased(MouseEvent) - Method in class DateChooser
 

N

name() - Method in class Peer
 

P

Peer - class Peer.
The Peer
Peers - class Peers.
In this JPanel the Caltella user can add and manage his peers.
Peers(Properties, SendToCNS, Hashtable) - Constructor for class Peers
 
Preferences - class Preferences.
In this JPanel the Caltella user can register and edit his data as shown in the picture below.
Preferences(Properties, SendToCNS, Hashtable) - Constructor for class Preferences
 
printSizes(Component) - Static method in class SpringUtilities
A debugging utility that prints to stdout the component's minimum, preferred, and maximum sizes.

R

register(String, String, String, String, String, String) - Method in class Database
 
register(String, String, String, String, String, String) - Method in interface IDataBaseAccess
The first time the user starts an Caltella client, we has to register.
register(String, String, String, String, String, String) - Method in class SendToCNS
 
removePeer(int) - Method in class Database
 
removePeer(int) - Method in interface IDataBaseAccess
If ever called, this methode would remove the peer from the DB.

S

SendToCNS - class SendToCNS.
This class is used for Caltella Peers to talk to the Caltella Name Server.
SendToCNS() - Constructor for class SendToCNS
This class creats a Socket and sends a String to a certain host (and port)
SendToPeer - class SendToPeer.
This class is used for Caltella Peers to talk to each other.
SendToPeer() - Constructor for class SendToPeer
 
SpringUtilities - class SpringUtilities.
A 1.4 file that provides utility methods for creating form- or grid-style layouts with SpringLayout.
SpringUtilities() - Constructor for class SpringUtilities
 
search(String, String) - Method in class Database
 
search(String, String) - Method in interface IDataBaseAccess
Search the DB for one or more peers and return there ID's
search(String, String) - Method in class SendToCNS
 
select(Date) - Method in class DateChooser
Selects a date.
select() - Method in class DateChooser
Selects new date.
selectItLater(Component) - Method in class Preferences
 
send(String) - Method in class SendToCNS
 
send(String, String) - Method in class SendToPeer
This methode takes the address and sends the message
setAllAtOnce(int, String, String, String, String, String) - Method in class Database
This is mainly used to decrease network and DB load by sending all data at once.
setAllAtOnce(int, String, String, String, String, String) - Method in interface IDataBaseAccess
This is mainly used to decrease network and DB load by sending all data at once.
setData(int, String, String, String, String, String, String) - Method in class SendToCNS
 
setDate(Date) - Method in class DateButton
Sets the valus of the date property.
setEmail(int, String) - Method in class Database
 
setEmail(int, String) - Method in interface IDataBaseAccess
 
setFirstName(int, String) - Method in class Database
 
setFirstName(int, String) - Method in interface IDataBaseAccess
 
setImageURL(int, String) - Method in class Database
 
setImageURL(int, String) - Method in interface IDataBaseAccess
 
setLastName(int, String) - Method in class Database
 
setLastName(int, String) - Method in interface IDataBaseAccess
 
setPassword(int, String) - Method in class Database
 
setPassword(int, String) - Method in interface IDataBaseAccess
 
setStatus(int, boolean) - Method in class Database
 
setValueAt(Object, int, int) - Method in class CaltellaTableModel
 

U

unbind(int) - Method in class Database
 
unbind(int) - Method in interface IDataBaseAccess
This methode will change the peers status to offline.
unbind(int) - Method in class SendToCNS
 
updateDisplays() - Method in class Preferences
 

A B C D E F G I K L M N P R S U