|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectccs.cpc.impl.BrowserLogic
public class BrowserLogic
| Field Summary | |
|---|---|
(package private) static int |
ACTION
|
(package private) BrowserGui |
bg
|
(package private) BrowserModel |
bm
|
(package private) CpcImpl |
cpc
|
(package private) Model |
m
|
(package private) BrowserRefreshThread |
refresher
|
(package private) static int |
SELECT
|
(package private) static int |
TRAVERSE
|
| Fields inherited from interface ccs.cpc.PluginCallback |
|---|
FIRST, LAST, NEXT, PREVIOUS |
| Constructor Summary | |
|---|---|
BrowserLogic(CpcImpl cpc)
|
|
| Method Summary | |
|---|---|
(package private) void |
dispatch(int code,
int i)
|
(package private) void |
finish()
|
BrowserModel |
getBrowserModel()
|
CpCmdr |
getCPC()
Return the CPC object. |
java.awt.Frame |
getFrame()
|
(package private) MimeBinding |
getMimeBinding(VFile vf)
|
java.lang.String |
getMIMETypeFor(VFile vf)
Obtain the MIME type for a given VFile |
VFile |
getVFileRelativeTo(VFile base,
PluginRuntime viewer,
int offset,
java.util.Set<java.lang.String> excludeMimes)
Returns a VFile given a "base" VFile. |
java.util.Comparator<VFile> |
getVFileSorter()
Return the current sort order. |
(package private) void |
gotoDeviceList()
|
(package private) void |
gotoRootOf(VDevice vd)
|
void |
hurl(java.lang.Throwable e)
Stuff Happened. |
(package private) void |
initPreview(boolean state)
|
(package private) boolean |
isFinished()
|
(package private) void |
launchDefaultViewer(VFile vf)
|
(package private) void |
launchViewer(VFile vf,
java.lang.String viewerID)
|
(package private) void |
launchViewer(VFile vf,
Viewer v)
|
(package private) void |
selectViewer(VFile vf)
|
(package private) void |
setPreview(boolean state)
|
(package private) void |
showVFileProps(VFile vf)
|
void |
teleportTo(VFile slipgate)
Cause CPC to teleport to the supplied VFile. |
(package private) void |
updatePwdSelectionModel()
|
boolean |
viewerBoundTo(Viewer v,
VFile vf)
Returns whether the viewer is bound to the supplied VFile. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
BrowserModel bm
BrowserGui bg
CpcImpl cpc
Model m
BrowserRefreshThread refresher
static final int ACTION
static final int SELECT
static final int TRAVERSE
| Constructor Detail |
|---|
BrowserLogic(CpcImpl cpc)
| Method Detail |
|---|
public BrowserModel getBrowserModel()
public java.awt.Frame getFrame()
void dispatch(int code,
int i)
void initPreview(boolean state)
void setPreview(boolean state)
void finish()
boolean isFinished()
void gotoRootOf(VDevice vd)
throws java.io.IOException
java.io.IOExceptionvoid gotoDeviceList()
public CpCmdr getCPC()
PluginCallback
getCPC in interface PluginCallbackpublic void hurl(java.lang.Throwable e)
ccs.utils.Hurlable
hurl in interface ccs.utils.Hurlablee - That which happened.public void teleportTo(VFile slipgate)
PluginCallback
teleportTo in interface PluginCallback
public VFile getVFileRelativeTo(VFile base,
PluginRuntime viewer,
int offset,
java.util.Set<java.lang.String> excludeMimes)
PluginCallbackisAcceptable method.
offset parameter.
getVFileRelativeTo in interface PluginCallbackbase - The base, as described above.viewer - Yourself.offset - The navigation relationship; one of the four constants above.excludeMimes - An optional set of MIME types for which you may be
registered, but nevertheless don't want to get back under the circumstances.
May be null.public java.lang.String getMIMETypeFor(VFile vf)
PluginCallback
getMIMETypeFor in interface PluginCallbackvf - The VFile to test
public boolean viewerBoundTo(Viewer v,
VFile vf)
PluginCallback
viewerBoundTo in interface PluginCallbackpublic java.util.Comparator<VFile> getVFileSorter()
PluginCallback
getVFileSorter in interface PluginCallbackMimeBinding getMimeBinding(VFile vf)
void launchDefaultViewer(VFile vf)
throws java.io.IOException
java.io.IOException
void launchViewer(VFile vf,
java.lang.String viewerID)
throws java.io.IOException
java.io.IOException
void launchViewer(VFile vf,
Viewer v)
throws java.io.IOException
java.io.IOException
void selectViewer(VFile vf)
throws java.io.IOException
java.io.IOException
void showVFileProps(VFile vf)
throws java.io.IOException
java.io.IOExceptionvoid updatePwdSelectionModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||