wtanaka.praya.obj
Class ReadOnlyFolder

java.lang.Object
  |
  +--wtanaka.praya.obj.Obj
        |
        +--wtanaka.praya.obj.NormalFolder
              |
              +--wtanaka.praya.obj.ReadOnlyFolder
All Implemented Interfaces:
java.io.Externalizable, Fillable, java.io.Serializable

public class ReadOnlyFolder
extends NormalFolder
implements java.io.Serializable

Read Only Folder cannot be modified, except by a privileged thread.

Return to Sourceforge 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.NormalFolder
folderListeners, m_storage, MAGIC_NUMBER, name, parent, serialVersionUID, sortKey
 
Fields inherited from class wtanaka.praya.obj.Obj
CONTENTS, date, DATE, FROM, privThread, REVCONTENTS, REVDATE, REVFROM, REVSCORE, REVSUBJECT, SCORE, secretObject, SUBJECT
 
Constructor Summary
ReadOnlyFolder(NormalFolder parent)
           
 
Method Summary
 void add(Obj a)
          Adds the given object to the end of this folder.
 void remove(int i)
          Removes the object at the given index from the folder.
 void remove(Obj a)
          Removes the given object from the folder.
 void setName(java.lang.String name)
           
 
Methods inherited from class wtanaka.praya.obj.NormalFolder
addFolderListener, elements, fireAdded, fireRemoved, getChildAt, getContents, getName, getNumChildren, getParent, indexOf, isTrashCanUsed, mergeSort, readExternal, remove, removeFolderListener, selectSort, sort, toString, writeExternal
 
Methods inherited from class wtanaka.praya.obj.Obj
getFrom, getSubject, getTimeStamp, isPrivileged, lessThan, setPrivilegedThread, setSecretObject, setTimeStamp
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

ReadOnlyFolder

public ReadOnlyFolder(NormalFolder parent)
Method Detail

add

public void add(Obj a)
Description copied from class: NormalFolder
Adds the given object to the end of this folder.
Overrides:
add in class NormalFolder
Following copied from class: wtanaka.praya.obj.NormalFolder
Parameters:
a - the object to add to the folder. It cannot be null.

remove

public void remove(Obj a)
Description copied from class: NormalFolder
Removes the given object from the folder.
Overrides:
remove in class NormalFolder
Following copied from class: wtanaka.praya.obj.NormalFolder
Parameters:
a - the object to remove from the folder.

remove

public void remove(int i)
Description copied from class: NormalFolder
Removes the object at the given index from the folder.
Overrides:
remove in class NormalFolder
Following copied from class: wtanaka.praya.obj.NormalFolder
Parameters:
the - index of the object to remove from the folder.

setName

public void setName(java.lang.String name)
Overrides:
setName in class NormalFolder