|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--context.arch.widget.WidgetHandles
This class maintains a list of widget handles, allows additions, removals and updates to individual handles.
WidgetHandle
, Serialized FormField Summary | |
protected java.util.Hashtable |
hash
|
Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
WidgetHandles()
Basic empty constructor |
Method Summary | |
void |
addWidgetHandle(java.lang.String id,
java.lang.String hostname,
int port)
Adds a widgethandle to the widgethandle list |
void |
addWidgetHandle(WidgetHandle handle)
Adds a widgethandle to the widgethandle list |
void |
addWidgetHandles(WidgetHandles handles)
Adds a set of widgethandles to the widgethandle list |
WidgetHandle |
getWidgetHandleAt(int index)
Returns the WidgetHandle at the given index. |
int |
numWidgetHandles()
Returns the number of widgetHandles in the list |
Methods inherited from class java.util.Vector |
add,
add,
addAll,
addAll,
addElement,
capacity,
clear,
clone,
contains,
containsAll,
copyInto,
elementAt,
elements,
ensureCapacity,
equals,
firstElement,
get,
hashCode,
indexOf,
indexOf,
insertElementAt,
isEmpty,
lastElement,
lastIndexOf,
lastIndexOf,
remove,
remove,
removeAll,
removeAllElements,
removeElement,
removeElementAt,
removeRange,
retainAll,
set,
setElementAt,
setSize,
size,
subList,
toArray,
toArray,
toString,
trimToSize |
Methods inherited from class java.util.AbstractList |
iterator,
listIterator,
listIterator |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.util.Hashtable hash
Constructor Detail |
public WidgetHandles()
Method Detail |
public void addWidgetHandle(java.lang.String id, java.lang.String hostname, int port)
id
- ID of the widget being subscribed tohostname
- Name of the widget's host computerport
- Port number of the widgetpublic void addWidgetHandle(WidgetHandle handle)
handle
- WidgetHandle to addpublic void addWidgetHandles(WidgetHandles handles)
handles
- WidgetHandles to add to the listpublic WidgetHandle getWidgetHandleAt(int index)
index
- index value of the WidgetHandle object to retrievepublic int numWidgetHandles()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |