Package | Description |
---|---|
com.eteks.sweethome3d.applet |
Instantiates the required classes to run Sweet Home 3D as an
applet.
|
com.eteks.sweethome3d.swing |
Implements views created by Sweet Home 3D controllers
with Swing components.
|
com.eteks.sweethome3d.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
AppletContentManager.getPresentationName(java.lang.String contentName,
ContentManager.ContentType contentType)
Returns the name of the content in parameter.
|
boolean |
AppletContentManager.isAcceptable(java.lang.String contentName,
ContentManager.ContentType contentType)
Returns
true if the content name in parameter is accepted
for contentType . |
java.lang.String |
AppletContentManager.showOpenDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType)
Returns the name chosen by user with an open dialog.
|
java.lang.String |
AppletContentManager.showSaveDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType,
java.lang.String name)
Returns the name chosen by user with a save dialog.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
FileContentManager.getDefaultFileExtension(ContentManager.ContentType contentType)
Returns the default file extension of a given content type.
|
protected java.lang.String[] |
FileContentManager.getFileExtensions(ContentManager.ContentType contentType)
Returns the supported file extensions for a given content type.
|
protected javax.swing.filechooser.FileFilter[] |
FileContentManager.getFileFilter(ContentManager.ContentType contentType)
Returns the file filters available for a given content type.
|
protected java.io.File |
FileContentManager.getLastDirectory(ContentManager.ContentType contentType)
Returns the last directory used for the given content type.
|
java.lang.String |
FileContentManager.getPresentationName(java.lang.String contentPath,
ContentManager.ContentType contentType)
Returns the file name of the file path in parameter.
|
boolean |
FileContentManager.isAcceptable(java.lang.String contentPath,
ContentManager.ContentType contentType)
Returns
true if the file path in parameter is accepted
for contentType . |
protected boolean |
FileContentManager.isDirectory(ContentManager.ContentType contentType)
Returns
true if the given content type is for directories. |
protected void |
FileContentManager.setLastDirectory(ContentManager.ContentType contentType,
java.io.File directory)
Stores the last directory for the given content type.
|
java.lang.String |
FileContentManager.showOpenDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType)
Returns the file path chosen by user with an open file dialog.
|
java.lang.String |
FileContentManager.showSaveDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType,
java.lang.String path)
Returns the file path chosen by user with a save file dialog.
|
Modifier and Type | Method and Description |
---|---|
static ContentManager.ContentType |
ContentManager.ContentType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentManager.ContentType[] |
ContentManager.ContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ContentManager.getPresentationName(java.lang.String contentLocation,
ContentManager.ContentType contentType)
Returns a human readable string for a given content location.
|
boolean |
ContentManager.isAcceptable(java.lang.String contentLocation,
ContentManager.ContentType contentType)
Returns
true if the content location in parameter is accepted
for contentType . |
java.lang.String |
ContentManager.showOpenDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType)
Returns the content location chosen by user with an open content dialog.
|
java.lang.String |
ContentManager.showSaveDialog(View parentView,
java.lang.String dialogTitle,
ContentManager.ContentType contentType,
java.lang.String location)
Returns the content location chosen by user with a save content dialog.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License