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.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HomeXMLHandler.setPieceOfFurnitureAttributes(HomePieceOfFurniture piece,
java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the attributes of the given
piece . |
protected void |
HomeXMLExporter.PieceOfFurnitureExporter.writeAttributes(XMLWriter writer,
HomePieceOfFurniture piece) |
protected void |
HomeXMLExporter.PieceOfFurnitureExporter.writeChildren(XMLWriter writer,
HomePieceOfFurniture piece) |
protected void |
HomeXMLExporter.writePieceOfFurniture(XMLWriter writer,
HomePieceOfFurniture piece)
Writes in XML the
piece object with the given writer . |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Area |
ModelManager.getAreaOnFloor(HomePieceOfFurniture staircase)
Returns the area on the floor of the given staircase.
|
Constructor and Description |
---|
HomePieceOfFurniture3D(HomePieceOfFurniture piece,
Home home)
Creates the 3D piece matching the given home
piece . |
HomePieceOfFurniture3D(HomePieceOfFurniture piece,
Home home,
boolean ignoreDrawingMode,
boolean waitModelAndTextureLoadingEnd)
Creates the 3D piece matching the given home
piece . |
HomePieceOfFurniture3D(HomePieceOfFurniture piece,
Home home,
UserPreferences preferences,
java.lang.Object context,
boolean ignoreDrawingMode,
boolean waitModelAndTextureLoadingEnd)
Creates the 3D piece matching the given home
piece . |
Modifier and Type | Class and Description |
---|---|
class |
HomeDoorOrWindow
A door or a window in home.
|
class |
HomeFurnitureGroup
A group of furniture of furniture.
|
class |
HomeLight
A light in home.
|
class |
HomeShelfUnit
A shelf unit in home.
|
Modifier and Type | Method and Description |
---|---|
HomePieceOfFurniture |
HomePieceOfFurniture.clone()
Returns a clone of this piece.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<HomePieceOfFurniture> |
HomeFurnitureGroup.getAllFurniture()
Returns the furniture of this group and of all its subgroups, including the possible child furniture groups.
|
java.util.List<HomePieceOfFurniture> |
HomeFurnitureGroup.getFurniture()
Returns an unmodifiable list of the furniture of this group.
|
java.util.List<HomePieceOfFurniture> |
Home.getFurniture()
Returns an unmodifiable list of the furniture managed by this home.
|
static java.util.Comparator<HomePieceOfFurniture> |
HomePieceOfFurniture.getFurnitureComparator(HomePieceOfFurniture.SortableProperty property)
Returns a comparator which compares furniture on a given
property in ascending order. |
static java.util.List<HomePieceOfFurniture> |
Home.getFurnitureSubList(java.util.List<? extends Selectable> items)
Returns a sub list of
items that contains only home furniture. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addPieceOfFurniture(HomePieceOfFurniture piece)
Adds the
piece in parameter to this home at the end of the furniture list. |
void |
Home.addPieceOfFurniture(HomePieceOfFurniture piece,
int index)
Adds the
piece in parameter at a given index . |
void |
Home.addPieceOfFurnitureToGroup(HomePieceOfFurniture piece,
HomeFurnitureGroup group,
int index)
Adds the
piece in parameter at the index in the given group . |
void |
Home.deletePieceOfFurniture(HomePieceOfFurniture piece)
Deletes the
piece in parameter from this home. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addFurnitureListener(CollectionListener<HomePieceOfFurniture> listener)
Adds the furniture
listener in parameter to this home. |
void |
Home.removeFurnitureListener(CollectionListener<HomePieceOfFurniture> listener)
Removes the furniture
listener in parameter from this home. |
Constructor and Description |
---|
HomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture,
HomePieceOfFurniture leadingPiece,
java.lang.String name)
Creates a group from the given
furniture list. |
Constructor and Description |
---|
Home(java.util.List<HomePieceOfFurniture> furniture)
Creates a home with the given
furniture ,
no walls and a height equal to 250 cm. |
HomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture,
float angle,
boolean modelMirrored,
java.lang.String name)
Creates a group from the given
furniture list. |
HomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture,
HomePieceOfFurniture leadingPiece,
java.lang.String name)
Creates a group from the given
furniture list. |
HomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture,
java.lang.String name)
Creates a group from the given
furniture list. |
HomeFurnitureGroup(java.lang.String id,
java.util.List<HomePieceOfFurniture> furniture,
float angle,
boolean modelMirrored,
java.lang.String name)
Creates a group from the given
furniture list. |
Modifier and Type | Method and Description |
---|---|
float[] |
PlanComponent.getPieceOfFurnitureSizeInPlan(HomePieceOfFurniture piece)
Returns the size of the given piece of furniture in the horizontal plan,
or
null if the view isn't able to compute such a value. |
float[] |
MultipleLevelsPlanPanel.getPieceOfFurnitureSizeInPlan(HomePieceOfFurniture piece)
Returns the size of the given piece of furniture in the horizontal plan.
|
Modifier and Type | Method and Description |
---|---|
HomePieceOfFurniture |
FurnitureController.createHomePieceOfFurniture(PieceOfFurniture piece)
Returns a new home piece of furniture created from an other given
piece of furniture. |
protected HomePieceOfFurniture |
FurnitureController.getHighestSurroundingPieceOfFurniture(HomePieceOfFurniture piece)
Returns the highest piece of furniture that includes the given
piece
with a margin error of 5% of the smallest side length. |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<HomePieceOfFurniture> |
FurnitureController.getFurnitureInSameGroup(HomePieceOfFurniture piece)
Returns the furniture list of the given
piece which belongs to same group
or home furniture if it doesn't belong to home furniture. |
protected java.util.List<HomePieceOfFurniture> |
FurnitureController.getSurroundingFurniture(HomePieceOfFurniture piece)
Returns the shelf units which include the given
piece
with a margin error of 20% of the smallest side length. |
Modifier and Type | Method and Description |
---|---|
void |
FurnitureController.addFurniture(java.util.List<HomePieceOfFurniture> furniture,
HomePieceOfFurniture beforePiece)
Controls new furniture added to home.
|
void |
ImportedFurnitureWizardController.addPieceOfFurniture(HomePieceOfFurniture piece)
Controls new piece added to home.
|
protected void |
PlanController.adjustMagnetizedPieceOfFurniture(HomePieceOfFurniture piece,
float x,
float y)
Attempts to modify
piece location depending of its context. |
protected HomeFurnitureGroup |
FurnitureController.createHomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture,
HomePieceOfFurniture leadingPiece)
Returns a new furniture group for the given furniture list.
|
protected java.util.List<HomePieceOfFurniture> |
FurnitureController.getFurnitureInSameGroup(HomePieceOfFurniture piece)
Returns the furniture list of the given
piece which belongs to same group
or home furniture if it doesn't belong to home furniture. |
protected HomePieceOfFurniture |
FurnitureController.getHighestSurroundingPieceOfFurniture(HomePieceOfFurniture piece)
Returns the highest piece of furniture that includes the given
piece
with a margin error of 5% of the smallest side length. |
float[] |
PlanView.getPieceOfFurnitureSizeInPlan(HomePieceOfFurniture piece)
Returns the size of the given piece of furniture in the horizontal plan.
|
protected java.util.List<HomePieceOfFurniture> |
FurnitureController.getSurroundingFurniture(HomePieceOfFurniture piece)
Returns the shelf units which include the given
piece
with a margin error of 20% of the smallest side length. |
boolean |
FurnitureView.FurnitureFilter.include(Home home,
HomePieceOfFurniture piece)
Returns
true if the given piece should be shown,
otherwise returns false if the piece should be hidden. |
protected boolean |
FurnitureController.isPieceOfFurnitureDeletable(HomePieceOfFurniture piece)
Returns
true if the given piece may be deleted. |
protected boolean |
FurnitureController.isPieceOfFurnitureMovable(HomePieceOfFurniture piece)
Returns
true if the given piece may be moved. |
protected boolean |
FurnitureController.isPieceOfFurniturePartOfBasePlan(HomePieceOfFurniture piece)
Returns
true if the given piece isn't movable. |
protected boolean |
FurnitureController.isPieceOfFurnitureVisibleAtSelectedLevel(HomePieceOfFurniture piece)
Returns
true if the given piece is viewable and
its height and elevation make it viewable at the selected level in home. |
void |
FurnitureController.moveSelectedFurnitureBefore(HomePieceOfFurniture beforePiece)
Reorders the selected furniture in home to place it before the given piece.
|
Modifier and Type | Method and Description |
---|---|
void |
FurnitureController.addFurniture(java.util.List<HomePieceOfFurniture> furniture)
Controls new furniture added to home.
|
void |
PlanController.addFurniture(java.util.List<HomePieceOfFurniture> furniture)
Adds furniture to home and updates door and window flags if they intersect with walls and magnetism is enabled.
|
void |
FurnitureController.addFurniture(java.util.List<HomePieceOfFurniture> furniture,
HomePieceOfFurniture beforePiece)
Controls new furniture added to home.
|
void |
FurnitureController.addFurnitureToGroup(java.util.List<HomePieceOfFurniture> furniture,
HomeFurnitureGroup group)
Controls new furniture added to the given group.
|
protected HomeFurnitureGroup |
FurnitureController.createHomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture)
Returns a new furniture group for the given furniture list.
|
protected HomeFurnitureGroup |
FurnitureController.createHomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture,
HomePieceOfFurniture leadingPiece)
Returns a new furniture group for the given furniture list.
|
void |
FurnitureController.deleteFurniture(java.util.List<HomePieceOfFurniture> deletedFurniture)
Deletes the furniture of
deletedFurniture from home. |
void |
FurnitureController.setSelectedFurniture(java.util.List<HomePieceOfFurniture> selectedFurniture)
Updates the selected furniture in home.
|
void |
FurnitureController.setSelectedFurniture(java.util.List<HomePieceOfFurniture> selectedFurniture,
boolean resetSelection)
Updates the selected furniture in home, unselecting all other kinds of selected objects
when
resetSelection is true . |
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License