Package | Description |
---|---|
com.eteks.sweethome3d.io |
Implements how to read and write
homes and
user preferences created in
model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.j3d |
Contains various tool 3D classes and 3D home objects useful in
Swing package.
|
com.eteks.sweethome3d.model |
Describes model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.swing |
Implements views created by Sweet Home 3D controllers
with Swing components.
|
com.eteks.sweethome3d.tools |
Contains various tool classes useful in
View/Controller packages and
IO packages.
|
com.eteks.sweethome3d.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
List<Content> |
DamagedHomeIOException.getInvalidContent()
Returns the invalid content in the damaged home.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ContentDigestManager.equals(Content content1,
Content content2)
Returns
true if the contents in parameter contains the same data,
comparing their digest. |
byte[] |
ContentDigestManager.getContentDigest(Content content)
Returns the SHA-1 digest of the given
content , computing it
if it wasn't set. |
boolean |
ContentDigestManager.isContentDigestEqual(Content content,
byte[] digest)
Returns
true if the digest of the given content
is equal to digest . |
void |
ContentDigestManager.setContentDigest(Content content,
byte[] digest)
Sets the SHA-1 digest of the given
content . |
Constructor and Description |
---|
DamagedHomeIOException(Home damagedHome,
List<Content> invalidContent)
Creates an exception for the given damaged home with the invalid content it may contains.
|
Modifier and Type | Method and Description |
---|---|
BranchGroup |
ModelManager.loadModel(Content content)
Returns the node loaded synchronously from
content with supported loaders. |
void |
ModelManager.loadModel(Content content,
boolean synchronous,
ModelManager.ModelObserver modelObserver)
Reads a 3D node from
content with supported loaders
and notifies the loaded model to the given modelObserver once available. |
void |
ModelManager.loadModel(Content content,
ModelManager.ModelObserver modelObserver)
Reads asynchronously a 3D node from
content with supported loaders
and notifies the loaded model to the given modelObserver once available. |
Texture |
TextureManager.loadTexture(Content content)
Returns a texture created from the image from
content . |
void |
TextureManager.loadTexture(Content content,
boolean synchronous,
TextureManager.TextureObserver textureObserver)
Reads a texture image from
content notified to textureObserver . |
void |
TextureManager.loadTexture(Content content,
float angle,
boolean synchronous,
TextureManager.TextureObserver textureObserver)
Reads a texture image from
content notified to textureObserver . |
void |
TextureManager.loadTexture(Content content,
TextureManager.TextureObserver textureObserver)
Reads a texture image from
content notified to textureObserver
If the texture isn't loaded in cache yet, a one pixel white image texture will be notified
immediately to the given textureObserver , then a second notification will
be given in Event Dispatch Thread once the image texture is loaded. |
Modifier and Type | Method and Description |
---|---|
Content |
CatalogItem.getIcon()
Returns the icon of this catalog item.
|
Content |
CatalogPieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
CatalogTexture.getIcon()
Returns the icon of this texture.
|
Content |
PieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
HomePieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
HomeFurnitureGroup.getIcon()
Returns
null . |
Content |
CatalogTexture.getImage()
Returns the content of the image used for this texture.
|
Content |
TextureImage.getImage()
Returns the content of the image used for this texture.
|
Content |
HomeTexture.getImage()
Returns the content of the image used for this texture.
|
Content |
BackgroundImage.getImage()
Returns the image content of this background image.
|
Content |
CatalogPieceOfFurniture.getModel()
Returns the 3D model of this piece of furniture.
|
Content |
PieceOfFurniture.getModel()
Returns the 3D model of this piece of furniture.
|
Content |
HomePieceOfFurniture.getModel()
Returns the 3D model of this piece of furniture.
|
Content |
HomeFurnitureGroup.getModel()
Returns
null . |
Content |
CatalogPieceOfFurniture.getPlanIcon()
Returns the icon of this piece of furniture displayed in plan or
null . |
Content |
PieceOfFurniture.getPlanIcon()
Returns the icon of this piece of furniture displayed in plan or
null . |
Content |
HomePieceOfFurniture.getPlanIcon()
Returns the icon of this piece of furniture displayed in plan or
null . |
Content |
HomeFurnitureGroup.getPlanIcon()
Returns
null . |
Modifier and Type | Method and Description |
---|---|
List<Content> |
DamagedHomeRecorderException.getInvalidContent()
Returns the invalid content in the damaged home.
|
Constructor and Description |
---|
BackgroundImage(Content image,
float scaleDistance,
float scaleDistanceXStart,
float scaleDistanceYStart,
float scaleDistanceXEnd,
float scaleDistanceYEnd,
float xOrigin,
float yOrigin)
Creates a visible background image.
|
BackgroundImage(Content image,
float scaleDistance,
float scaleDistanceXStart,
float scaleDistanceYStart,
float scaleDistanceXEnd,
float scaleDistanceYEnd,
float xOrigin,
float yOrigin,
boolean visible)
Creates a background image.
|
CatalogDoorOrWindow(String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogLight(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
String staircaseCutOutShape,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(String id,
String name,
String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
String staircaseCutOutShape,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
String staircaseCutOutShape,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogPieceOfFurniture(String name,
Content icon,
Content model,
float width,
float depth,
float height,
boolean movable,
boolean doorOrWindow)
Deprecated.
As of version 1.7, use constructor without
doorOrWindow
parameter since a catalog door and window is supposed to be an instance
of CatalogDoorOrWindow |
CatalogPieceOfFurniture(String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
boolean doorOrWindow,
Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Deprecated.
As of version 1.7, use constructor without
doorOrWindow
parameter since a catalog door and window is supposed to be an instance
of CatalogDoorOrWindow |
CatalogPieceOfFurniture(String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog piece of furniture with all its values.
|
CatalogPieceOfFurniture(String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
String staircaseCutOutShape,
Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog piece of furniture with all its values.
|
CatalogPieceOfFurniture(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
String staircaseCutOutShape,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(String id,
String name,
String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
boolean doorOrWindow,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Deprecated.
As of version 1.7, use constructor without
doorOrWindow
parameter since a catalog door and window is supposed to be an instance
of CatalogDoorOrWindow |
CatalogPieceOfFurniture(String id,
String name,
String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
String staircaseCutOutShape,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
String staircaseCutOutShape,
float[][] modelRotation,
String creator,
boolean resizable,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogTexture(String name,
Content image,
float width,
float height)
Creates an unmodifiable catalog texture.
|
CatalogTexture(String name,
Content image,
float width,
float height,
boolean modifiable)
Creates a catalog texture.
|
CatalogTexture(String id,
String name,
Content image,
float width,
float height,
String creator)
Creates a catalog texture.
|
CatalogTexture(String id,
String name,
Content image,
float width,
float height,
String creator,
boolean modifiable) |
Constructor and Description |
---|
DamagedHomeRecorderException(Home damagedHome,
List<Content> invalidContent)
Creates an exception for the given damaged home with the invalid content it may contains.
|
DamagedHomeRecorderException(Home damagedHome,
List<Content> invalidContent,
String message)
Creates an exception for the given damaged home with the invalid content it may contains.
|
Modifier and Type | Method and Description |
---|---|
Content |
FileContentManager.getContent(String contentPath)
Returns a
URL content object that references
the given file path. |
Content |
ImportedFurnitureWizardStepsPanel.getIcon()
Returns the icon content of the chosen piece.
|
Content |
ModelPreviewComponent.getIcon(int maxWaitingDelay)
Returns a temporary content of the icon matching the displayed view.
|
Content |
ModelPreviewComponent.getModel()
Returns the 3D model content displayed by this component.
|
Modifier and Type | Method and Description |
---|---|
Icon |
IconManager.getIcon(Content content,
Component waitingComponent)
Returns an icon read from
content . |
Icon |
IconManager.getIcon(Content content,
int height,
Component waitingComponent)
Returns an icon read from
content and rescaled at a given height . |
void |
ModelPreviewComponent.setModel(Content model)
Sets the 3D model content displayed by this component.
|
Modifier and Type | Method and Description |
---|---|
HomeView.OpenDamagedHomeAnswer |
HomePane.confirmOpenDamagedHome(String homeName,
Home damagedHome,
List<Content> invalidContent)
Displays a dialog that lets user choose what he wants to do with a damaged home he tries to open it.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceURLContent
URL content read from a class resource.
|
class |
TemporaryURLContent
URL content for files, images...
|
class |
URLContent
URL content for files, images...
|
Modifier and Type | Method and Description |
---|---|
static TemporaryURLContent |
TemporaryURLContent.copyToTemporaryURLContent(Content content)
Returns a
URL content object that references a temporary copy of
a given content . |
Modifier and Type | Method and Description |
---|---|
Content |
ContentManager.getContent(String contentLocation)
Returns a
content object that references a given content location. |
Content |
HomeFurnitureController.getIcon()
Returns the edited icon.
|
Content |
ImportedFurnitureWizardStepsView.getIcon()
Returns the icon content of the chosen piece.
|
Content |
ImportedTextureWizardController.getImage()
Returns the image content of the imported texture.
|
Content |
BackgroundImageWizardController.getImage()
Returns the image content of the background image.
|
Content |
ModelMaterialsController.getModel()
Returns the 3D model which materials are displayed by the view.
|
Content |
ImportedFurnitureWizardController.getModel()
Returns the model content of the imported piece.
|
Modifier and Type | Method and Description |
---|---|
void |
ImportedTextureWizardController.setImage(Content image)
Sets the image content of the imported texture.
|
void |
BackgroundImageWizardController.setImage(Content image)
Sets the image content of the background image.
|
void |
ModelMaterialsController.setModel(Content model)
Sets the 3D model which materials are displayed by the view
and fires a
PropertyChangeEvent . |
void |
ImportedFurnitureWizardController.setModel(Content model)
Sets the model content of the imported piece.
|
Modifier and Type | Method and Description |
---|---|
HomeView.OpenDamagedHomeAnswer |
HomeView.confirmOpenDamagedHome(String homeName,
Home damagedHome,
List<Content> invalidContent)
Displays a dialog that lets user choose what he wants
to do with a damaged home he tries to open it.
|
© Copyrights 2006-2015 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License