public class AppletContentManager extends FileContentManager
ContentManager.ContentType| Constructor and Description |
|---|
AppletContentManager(HomeRecorder recorder,
UserPreferences preferences) |
AppletContentManager(HomeRecorder recorder,
UserPreferences preferences,
ViewFactory viewFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPresentationName(java.lang.String contentName,
ContentManager.ContentType contentType)
Returns the name of the content in parameter.
|
boolean |
isAcceptable(java.lang.String contentName,
ContentManager.ContentType contentType)
Returns
true if the content name in parameter is accepted
for contentType. |
java.lang.String |
showOpenDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType)
Returns the name chosen by user with an open dialog.
|
java.lang.String |
showSaveDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType,
java.lang.String name)
Returns the name chosen by user with a save dialog.
|
confirmOverwrite, getContent, getDefaultFileExtension, getFileDialogTitle, getFileExtensions, getFileFilter, getLastDirectory, isDirectory, setLastDirectorypublic AppletContentManager(HomeRecorder recorder, UserPreferences preferences, ViewFactory viewFactory)
public AppletContentManager(HomeRecorder recorder, UserPreferences preferences)
public java.lang.String getPresentationName(java.lang.String contentName,
ContentManager.ContentType contentType)
getPresentationName in interface ContentManagergetPresentationName in class FileContentManagerpublic boolean isAcceptable(java.lang.String contentName,
ContentManager.ContentType contentType)
true if the content name in parameter is accepted
for contentType.isAcceptable in interface ContentManagerisAcceptable in class FileContentManagerpublic java.lang.String showOpenDialog(View parentView, java.lang.String dialogTitle, ContentManager.ContentType contentType)
showOpenDialog in interface ContentManagershowOpenDialog in class FileContentManagernull if user canceled its choice.public java.lang.String showSaveDialog(View parentView, java.lang.String dialogTitle, ContentManager.ContentType contentType, java.lang.String name)
showSaveDialog in interface ContentManagershowSaveDialog in class FileContentManagernull if user canceled its choice.

© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License