|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectccs.cpc.CpCmdr
ccs.cpc.impl.CpcImpl
public class CpcImpl
Implementation of CPC. Undocumented.
| Field Summary | |
|---|---|
(package private) ArchLogic |
al
|
(package private) DoLogic |
dl
|
(package private) CpcDispatcher |
ds
|
(package private) Gui |
gui
|
(package private) HurlLogic |
hl
|
(package private) Model |
m
|
(package private) MainLogic |
ml
|
(package private) ProfileLogic |
pl
|
(package private) BaseStrain |
strain
|
| Fields inherited from class ccs.cpc.CpCmdr |
|---|
VERSION |
| Constructor Summary | |
|---|---|
CpcImpl(java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
ccs.utils.SwappingBuffer |
chromeFor(java.lang.String path)
Returns the chrome corresponding to a given file. |
ccs.utils.SwappingBuffer |
docsFor(java.lang.String path)
Returns a given file from the documentation. |
VDevice |
getDeviceForID(java.lang.String deviceID)
Given a device ID, returns the device it belongs to, ie. for any VDevice vd, vd === getDeviceForID(vd.getID()). |
ImageLoader |
getImageLoader()
|
ImageManager |
getImageManager()
|
ccs.mime.MimeRegistry |
getMimeReg()
Returns the MIME Registry currently in use. |
java.lang.String |
getStrainTitle()
Checkpoint Commander exists in two "strains" (biological sense): Checkpoint Commander Standard and Checkpoint Commander Plus. |
ProfileModelElement |
readProfileElement(java.lang.String classname,
java.lang.String key)
Read a Profile Element. |
(package private) void |
setStatusDefault()
|
void |
status(java.lang.String msg)
Set the message in the main status box. |
java.lang.String |
toMem(long n)
Converts the supplied quantity, which should be a file length, quantity of memory or similar, into a human-readable form. |
void |
writeProfileElement(ProfileModelElement element)
Write a Profile Element. |
| Methods inherited from class ccs.cpc.CpCmdr |
|---|
main, out |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
CpcDispatcher ds
BaseStrain strain
Model m
HurlLogic hl
Gui gui
MainLogic ml
ProfileLogic pl
ArchLogic al
DoLogic dl
| Constructor Detail |
|---|
public CpcImpl(java.lang.String[] args)
| Method Detail |
|---|
public ccs.utils.SwappingBuffer chromeFor(java.lang.String path)
throws java.io.IOException
chromeFor in class CpCmdrjava.io.IOException
public ccs.utils.SwappingBuffer docsFor(java.lang.String path)
throws java.io.IOException
docsFor in class CpCmdrjava.io.IOExceptionpublic void writeProfileElement(ProfileModelElement element)
CpCmdr
writeProfileElement in class CpCmdrelement - The Profile Element to write.readProfileElement
public ProfileModelElement readProfileElement(java.lang.String classname,
java.lang.String key)
CpCmdr
readProfileElement in class CpCmdrclassname - The name of the class used. Must implement
ProfileModelElement.key - An additional distinguishing key, if required. This allows two
elements of the same class to be added. This can be useful if, for example,
two different but related viewers use the same class for storage. Often this
isn't required, in which case it should be the empty string.
writeProfileElement). Note that the returned instance is shared
between all instances of the viewer in question. However, it's often the
case that each viewer instance needs its own working copy, which won't be
affected by changes made by other viewer instances. If so, you should act
accordingly. Typically you proceed by having your
ProfileModelElement implement Cloneable, and cloning
it off.public void status(java.lang.String msg)
msg - The status message.void setStatusDefault()
public ccs.mime.MimeRegistry getMimeReg()
CpCmdrjava.net.FilenameMap) since it is user-extensible, and
when last checked had more up-to-date and more complete defaults.
getMimeReg in class CpCmdrpublic VDevice getDeviceForID(java.lang.String deviceID)
CpCmdrVDevice vd, vd === getDeviceForID(vd.getID()).
getDeviceForID in class CpCmdrpublic java.lang.String getStrainTitle()
CpCmdr
getStrainTitle in class CpCmdrpublic ImageManager getImageManager()
getImageManager in class CpCmdrpublic ImageLoader getImageLoader()
public java.lang.String toMem(long n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||