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 |
---|---|
protected Content |
HomeXMLHandler.parseContent(java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes,
java.lang.String attributeName)
Returns the content object matching the attribute named
attributeName in the given element. |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,Content> |
DefaultFurnitureCatalog.getAdditionalContents(java.util.ResourceBundle resource,
int index,
java.net.URL furnitureCatalogUrl,
java.net.URL furnitureResourcesUrlBase)
Returns the contents of the piece at the given
index
different from default properties. |
java.util.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. |
java.lang.Long |
ContentDigestManager.getContentSize(Content content)
Returns the size of the given
content . |
protected java.lang.String |
HomeXMLExporter.getExportedContentName(java.lang.Object owner,
Content content)
Returns the saved name of the given
content owned by an object. |
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 . |
protected void |
HomeXMLExporter.writeMaterial(XMLWriter writer,
HomeMaterial material,
Content model)
Writes in XML the
material object with the given writer . |
Constructor and Description |
---|
DamagedHomeIOException(Home damagedHome,
java.util.List<Content> invalidContent)
Creates an exception for the given damaged home with the invalid content it may contains.
|
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.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. |
javax.media.j3d.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 |
HomeDescriptor.getContent()
Returns the content to read this home.
|
Content |
PieceOfFurniture.getContentProperty(java.lang.String name)
Returns the value of an additional content
name associated to this piece. |
Content |
CatalogPieceOfFurniture.getContentProperty(java.lang.String name)
Returns the value of an additional content
name associated to this piece. |
Content |
HomeObject.getContentProperty(java.lang.String name)
Returns the value of the content
name associated to this object. |
Content |
CatalogItem.getIcon()
Returns the icon of this catalog item.
|
Content |
PieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
HomeFurnitureGroup.getIcon()
Returns
null . |
Content |
CatalogPieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
HomePieceOfFurniture.getIcon()
Returns the icon of this piece of furniture.
|
Content |
HomeDescriptor.getIcon()
Returns the icon of this home.
|
Content |
CatalogTexture.getIcon()
Returns the icon of this texture.
|
Content |
TextureImage.getImage()
Returns the content of the image used for this texture.
|
Content |
BackgroundImage.getImage()
Returns the image content of this background image.
|
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 |
PieceOfFurniture.getModel()
Returns the 3D model of this piece of furniture.
|
Content |
HomeFurnitureGroup.getModel()
Returns
null . |
Content |
CatalogPieceOfFurniture.getModel()
Returns the 3D model of this piece of furniture.
|
Content |
HomePieceOfFurniture.getModel()
Returns the 3D model of this piece of furniture.
|
Content |
PieceOfFurniture.getPlanIcon()
Returns the icon of this piece of furniture displayed in plan or
null . |
Content |
HomeFurnitureGroup.getPlanIcon()
Returns
null . |
Content |
CatalogPieceOfFurniture.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 . |
Modifier and Type | Method and Description |
---|---|
java.util.List<Content> |
DamagedHomeRecorderException.getInvalidContent()
Returns the invalid content in the damaged home.
|
Modifier and Type | Method and Description |
---|---|
void |
HomeFurnitureGroup.setIcon(Content icon) |
void |
HomePieceOfFurniture.setIcon(Content icon)
Sets the icon of this piece of furniture.
|
void |
HomeFurnitureGroup.setModel(Content model) |
void |
HomePieceOfFurniture.setModel(Content model)
Sets the 3D model of this piece of furniture.
|
void |
HomeFurnitureGroup.setPlanIcon(Content planIcon) |
void |
HomePieceOfFurniture.setPlanIcon(Content planIcon)
Sets the plan icon of this piece of furniture.
|
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 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,
java.lang.Long modelSize,
java.lang.String creator,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
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,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
float iconYaw,
float iconPitch,
float iconScale,
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.
|
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,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
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,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
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,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
boolean backFaceShown,
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,
float dropOnTopElevation,
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.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
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.
|
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,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String[] lightSourceMaterialNames,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
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,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
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,
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,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
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,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
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,
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,
float dropOnTopElevation,
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,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String[] lightSourceMaterialNames,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
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 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,
java.lang.Long modelSize,
java.lang.String creator,
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,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
float iconYaw,
float iconPitch,
float iconScale,
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.
|
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,
float dropOnTopElevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
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,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
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,
float dropOnTopElevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
boolean backFaceShown,
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,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
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,
float dropOnTopElevation,
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,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogShelfUnit(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
float[] shelfElevations,
BoxBounds[] shelfBoxes,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog shelf unit 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)
Creates a catalog texture.
|
HomeDescriptor(java.lang.String name,
Content content,
Content icon)
Creates a home descriptor.
|
Constructor and Description |
---|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogLight(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
boolean movable,
LightSource[] lightSources,
java.lang.String[] lightSourceMaterialNames,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogPieceOfFurniture(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog piece of furniture of the default catalog.
|
CatalogShelfUnit(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
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,
float dropOnTopElevation,
float[] shelfElevations,
BoxBounds[] shelfBoxes,
boolean movable,
java.lang.String staircaseCutOutShape,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
boolean horizontallyRotatable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog shelf unit of the default catalog.
|
DamagedHomeRecorderException(Home damagedHome,
java.util.List<Content> invalidContent)
Creates an exception for the given damaged home with the invalid content it may contains.
|
DamagedHomeRecorderException(Home damagedHome,
java.util.List<Content> invalidContent,
java.lang.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(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 . |
static java.awt.Dimension |
SwingTools.getImageSizeInPixels(Content image)
Returns
image size in pixels. |
void |
ModelPreviewComponent.setModel(Content model)
Sets the 3D model content displayed by this component.
|
Modifier and Type | Method and Description |
---|---|
HomeView.OpenDamagedHomeAnswer |
HomePane.confirmOpenDamagedHome(java.lang.String homeName,
Home damagedHome,
java.util.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 or a SH3F file.
|
class |
SimpleURLContent
Content read from a URL with no dependency on other content when this URL is a JAR entry.
|
class |
TemporaryURLContent
URL content for files, images stored in temporary files.
|
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 |
HomeFurnitureController.getIcon()
Returns the edited icon.
|
Content |
ImportedFurnitureWizardStepsView.getIcon()
Returns the icon content of the chosen piece.
|
Content |
BackgroundImageWizardController.getImage()
Returns the image content of the background image.
|
Content |
ImportedTextureWizardController.getImage()
Returns the image content of the imported texture.
|
Content |
ImportedFurnitureWizardController.getModel()
Returns the model content of the imported piece.
|
Content |
ModelMaterialsController.getModel()
Returns the 3D model which materials are displayed by the view.
|
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 |
ImportedFurnitureWizardController.setModel(Content model)
Sets the model content of the imported piece.
|
void |
ModelMaterialsController.setModel(Content model)
Sets the 3D model which materials are displayed by the view
and fires a
PropertyChangeEvent . |
Modifier and Type | Method and Description |
---|---|
HomeView.OpenDamagedHomeAnswer |
HomeView.confirmOpenDamagedHome(java.lang.String homeName,
Home damagedHome,
java.util.List<Content> invalidContent)
Displays a dialog that lets user choose what he wants
to do with a damaged home he tries to open it.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License