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.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
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 . |
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.
|
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.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 that 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. |
void |
Home.addPieceOfFurniture(HomePieceOfFurniture piece,
int index)
Adds the
piece in parameter at a given index . |
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 |
---|
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,
java.lang.String name)
Creates a group from the given
furniture list. |
Modifier and Type | Method and Description |
---|---|
boolean |
FurnitureTable.FurnitureFilter.include(Home home,
HomePieceOfFurniture piece)
Returns
true if the given piece should be shown,
otherwise returns false if the piece should be hidden. |
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. |
Modifier and Type | Method and Description |
---|---|
java.util.List<HomePieceOfFurniture> |
FurnitureController.sortFurniture(com.eteks.sweethome3d.viewcontroller.FurnitureController.AlignedPieceOfFurniture[] furniture,
HomePieceOfFurniture leadPiece,
java.awt.geom.Line2D orthogonalAxis)
Returns a list containing aligned furniture and lead piece sorted in the order of their distribution along
a line orthogonal to the given axis.
|
Modifier and Type | Method and Description |
---|---|
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 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 is movable. |
java.util.List<HomePieceOfFurniture> |
FurnitureController.sortFurniture(com.eteks.sweethome3d.viewcontroller.FurnitureController.AlignedPieceOfFurniture[] furniture,
HomePieceOfFurniture leadPiece,
java.awt.geom.Line2D orthogonalAxis)
Returns a list containing aligned furniture and lead piece sorted in the order of their distribution along
a line orthogonal to the given axis.
|
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 magnestism is enabled.
|
protected HomeFurnitureGroup |
FurnitureController.createHomeFurnitureGroup(java.util.List<HomePieceOfFurniture> furniture)
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.
|
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License