wtanaka.praya.obj
Class ProtoObj
java.lang.Object
|
+--wtanaka.praya.obj.Obj
|
+--wtanaka.praya.obj.NormalFolder
|
+--wtanaka.praya.obj.SystemFolder
|
+--wtanaka.praya.obj.ReadOnlySystemFolder
|
+--wtanaka.praya.obj.ProtoObj
- All Implemented Interfaces:
- java.io.Externalizable, Fillable, java.io.Serializable
- public abstract class ProtoObj
- extends ReadOnlySystemFolder
- implements java.io.Serializable
Represents an instance of a protocol in the UI. Has subitems containing
things related to the protocol (users, channels, config items, etc.)
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/10/03 07:17:28 $
- Author:
- $Author: wtanaka $
- See Also:
- Serialized Form
| Fields inherited from class wtanaka.praya.obj.Obj |
CONTENTS, date, DATE, FROM, privThread, REVCONTENTS, REVDATE, REVFROM, REVSCORE, REVSUBJECT, SCORE, secretObject, SUBJECT |
| Methods inherited from class wtanaka.praya.obj.NormalFolder |
addFolderListener, elements, fireAdded, fireRemoved, getContents, getParent, indexOf, isTrashCanUsed, mergeSort, readExternal, remove, removeFolderListener, selectSort, sort, toString, writeExternal |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
myProtocol
protected Protocol myProtocol
myFrame
protected java.awt.Frame myFrame
ProtoObj
public ProtoObj(NormalFolder containing,
Protocol parent)
throws java.lang.SecurityException
- Constructs a new ProtoObj
- Parameters:
containing - the folder outside this objparent - the associated protocol
getNumChildren
public abstract int getNumChildren()
- Overrides:
getNumChildren in class NormalFolder
getChildAt
public abstract Obj getChildAt(int index)
- Description copied from class:
NormalFolder
- Gets a child of this folder.
- Overrides:
getChildAt in class NormalFolder
- Following copied from class:
wtanaka.praya.obj.NormalFolder
- Returns:
- the indexth child of this folder.
- Throws:
ArrayIndexOutOfBoundsException - if the given child does not
exist.
setFrame
public void setFrame(java.awt.Frame f)
getProtocol
public Protocol getProtocol()
cleanUp
public void cleanUp()
- Cleans up the protocol for removal. (disconnect and whatnot)
update
public abstract void update(Obj instance)
- informs the protocol obj that one of its configuration options has
changed through the ui.
- Parameters:
instance - the option that changed.
getName
public java.lang.String getName()
- Overrides:
getName in class NormalFolder