Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw
Class CVWNote  view CVWNote download CVWNote.java

java.lang.Object
  extended byjava.util.Observable
      extended byorg.mitre.cvw.CVWObject
          extended byorg.mitre.cvw.CVWNote
All Implemented Interfaces:
ObjectValues, java.io.Serializable

public class CVWNote
extends CVWObject

This represents Notes on the CVW server, it is part of the CVWObject hierarchy.

Version:
1.0

Field Summary
(package private)  java.lang.String noteText
           
 
Fields inherited from class org.mitre.cvw.CVWObject
ACCESS, ACL, cached, createdOn, desc, GETINFO, icon, jcvw, lastModifiedBy, lastModifiedOn, location, MEMBERS, metaDataType, name, ObjectTypes, objNum, owner, owners, sessile, type, typeValue
 
Fields inherited from class java.util.Observable
 
Fields inherited from interface org.mitre.cvw.ObjectValues
BALLOT, CHECKEDOUTDOC, CHECKOUT, CURRONLINEUSER, CURRUSER, DISCONNECTED, DOC, DOC_SC, DOCBUSY, DOCCHECKIN, DOCCOPY, DOCCREATE, DOCCREATEBACKGROUND, DOCCREATEDATE, DOCCREATOR, DOCCREATORONLY, DOCDELETE, DOCDESC, DOCEDITORS, DOCEXPORT, DOCINFO, DOCMIMETYPE, DOCOPEN, DOCSETDESC, DOCSTATUS, DOCTYPE, DOCUMENT, DROP, FLOOR, FOLDER, FOLDER_SC, FORM, FORMFOLDER, GETALLTYPES, GETCHECKEDDOCS, GETDOCTEXTS, GETDOCTEXTSCO, GETEXTDESC, GROUP, IMAGEMENU, NOTCHECKEDOUTDOC, NOTE, NOTE_SC, ONLINEUSER, PROXY, PROXYWIN, RECORDER, REMOTE, REMOTEUSER, REVERT, REVISION, ROOM, ROOMKEY, SETDOCATTRS, SETDOCNAME, STANDARD, TAKE, UNKNOWN, URL, URL_SC, USER, USERSTAT, WB, WHITEBOARD, WHITEBOARD_SC
 
Constructor Summary
(package private) CVWNote()
          Constructor
(package private) CVWNote(int type)
          Constructor
 
Method Summary
 void autoOpenObject()
          Upon creating an object, open it for the user automatically
 void export(java.lang.String text)
          Saves the text to a file external to CVW that the user chooses.
 void frameDismissed(java.awt.Frame f)
          Process the closing of the NotePad, if the user pushed Save, send the new text to the CVW server
MCP send cvw-modify-text
 boolean isShortcut()
          Returns whether this object is a shortcut
 void open(java.lang.String text, java.lang.String perms)
          Opens up the Note for the user to view/edit.
 void startExport()
          Requests the text of this note from CVW server to save to an external file.
 
Methods inherited from class org.mitre.cvw.CVWObject
buildObjNumStrVector, changed, checkQuota, confirmDelete, convertBooleanToIntString, create, deleteResultError, displayError, doDropTake, get3rdPanel, getBaseName, getBaseType, getCreatedDateForDisplay, getDateForDetailDisplay, getDateForDisplay, getDetailName, getFederatedName, getIcon, getImage, getInfo, getMetaDataType, getModifiedBy, getModifiedByName, getModifiedDateForDisplay, getName, getObjectCreateMCP, getObjectFrame, getObjectModifyMCP, getObjectPanel, getObjectPanel, getObjectTypes, getObjectTypeStrings, getObjNum, getObjNumStr, getOwnerName, getOwners, getRawDetailName, getStringFromType, getStringFromType, getTopLocation, getType, getTypeFromString, handleShortcutError, has3rdPanel, initObjectTypes, isCached, moveObject, moveObject, moveResult, newCommand, newObjNumString, objectCopy, objectCopyResult, objectCreate, objectCreate, objectCreateError, objectCreateResult, objectModify, objectModify, paramString, prepTextForServer, setCached, setMetaDataType, setName, setOwners, setRawDetailName, setValues, setValues, showDeleteDialog, startDeleteDialog, startInfoDialog, startInfoDialog, startOpen, toString, updateACLResult, updateDetailInfo, updateOwners, updateOwnersResult
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

noteText

java.lang.String noteText
Constructor Detail

CVWNote

CVWNote()
Constructor


CVWNote

CVWNote(int type)
Constructor

Method Detail

isShortcut

public boolean isShortcut()
Returns whether this object is a shortcut

Overrides:
isShortcut in class CVWObject

open

public void open(java.lang.String text,
                 java.lang.String perms)
Opens up the Note for the user to view/edit.


frameDismissed

public void frameDismissed(java.awt.Frame f)
Process the closing of the NotePad, if the user pushed Save, send the new text to the CVW server
MCP send cvw-modify-text


autoOpenObject

public void autoOpenObject()
Upon creating an object, open it for the user automatically

Overrides:
autoOpenObject in class CVWObject

startExport

public void startExport()
Requests the text of this note from CVW server to save to an external file.
MCP send cvw-object-export


export

public void export(java.lang.String text)
Saves the text to a file external to CVW that the user chooses.