Package | Description |
---|---|
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 |
---|---|
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,
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 |
HomeFurnitureGroup.getIcon()
Returns
null . |
Content |
CatalogPieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
PieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
HomePieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
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 |
CatalogTexture.getImage()
Returns the content of the image used for this texture.
|
Content |
BackgroundImage.getImage()
Returns the image content of this background image.
|
Content |
HomeFurnitureGroup.getModel()
Returns
null . |
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.getPlanIcon()
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 . |
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(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
java.lang.Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.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,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.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,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.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,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.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,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogPieceOfFurniture(java.lang.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(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
boolean doorOrWindow,
java.lang.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(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog piece of furniture with all its values.
|
CatalogPieceOfFurniture(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.String staircaseCutOutShape,
java.lang.Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog piece of furniture with all its values.
|
CatalogPieceOfFurniture(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
boolean doorOrWindow,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.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(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogPieceOfFurniture(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogTexture(java.lang.String name,
Content image,
float width,
float height)
Creates an unmodifiable catalog texture.
|
CatalogTexture(java.lang.String name,
Content image,
float width,
float height,
boolean modifiable)
Creates a catalog texture.
|
CatalogTexture(java.lang.String id,
java.lang.String name,
Content image,
float width,
float height,
java.lang.String creator)
Creates a catalog texture.
|
CatalogTexture(java.lang.String id,
java.lang.String name,
Content image,
float width,
float height,
java.lang.String creator,
boolean modifiable) |
Modifier and Type | Method and Description |
---|---|
Content |
FileContentManager.getContent(java.lang.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 |
---|---|
javax.swing.Icon |
IconManager.getIcon(Content content,
java.awt.Component waitingComponent)
Returns an icon read from
content . |
javax.swing.Icon |
IconManager.getIcon(Content content,
int height,
java.awt.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 | 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(java.lang.String contentLocation)
Returns a
content object that references a given content location. |
Content |
ImportedFurnitureWizardStepsView.getIcon()
Returns the icon content of the chosen piece.
|
Content |
HomeFurnitureController.getIcon()
Returns the edited icon.
|
Content |
BackgroundImageWizardController.getImage()
Returns the image content of the background image.
|
Content |
ImportedTextureWizardController.getImage()
Returns the image content of the imported texture.
|
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 |
BackgroundImageWizardController.setImage(Content image)
Sets the image content of the background image.
|
void |
ImportedTextureWizardController.setImage(Content image)
Sets the image content of the imported texture.
|
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.
|
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License