candy.util.whiteboard
Class WhiteboardTable

java.lang.Object
  |
  +--candy.core.candyObject
        |
        +--candy.util.whiteboard.WhiteboardTable
All Implemented Interfaces:
net.jini.core.entry.Entry, java.io.Serializable

public class WhiteboardTable
extends candyObject
implements java.io.Serializable

The Table of WhiteboardMeta's that the client uses to allow for selection of joining a whiteboard

Author:
Jason Corso (jcorso@cs.jhu.edu)
See Also:
Serialized Form

Field Summary
 java.util.Vector table
           
 
Fields inherited from class candy.core.candyObject
description, handle, timestamp
 
Constructor Summary
WhiteboardTable()
           
WhiteboardTable(WhiteboardTable ft)
           
 
Method Summary
 void addElement(WhiteboardMeta m)
           
 WhiteboardMeta elementAt(int row)
           
 java.util.Vector get()
           
 java.util.Iterator iterator()
           
 void makeMeTemplate()
           
 boolean removeElement(WhiteboardMeta m)
          removeElement from the Table.
 void removeElementAt(int row)
           
 int size()
           
 
Methods inherited from class candy.core.candyObject
getDescription, getHandle, setDescription, setHandle
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

public java.util.Vector table
Constructor Detail

WhiteboardTable

public WhiteboardTable()

WhiteboardTable

public WhiteboardTable(WhiteboardTable ft)
Method Detail

addElement

public void addElement(WhiteboardMeta m)

elementAt

public WhiteboardMeta elementAt(int row)

get

public java.util.Vector get()

iterator

public java.util.Iterator iterator()

makeMeTemplate

public void makeMeTemplate()

removeElement

public boolean removeElement(WhiteboardMeta m)
removeElement from the Table. If this is the server object -- we know the server listener will also take the data itself from the space.

removeElementAt

public void removeElementAt(int row)

size

public int size()