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.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 CatalogPieceOfFurniture |
FileUserPreferences.readModifiablePieceOfFurniture(java.util.prefs.Preferences preferences,
int index,
java.io.File preferencesFolder)
Returns the modifiable piece of furniture read from
preferences at the given index . |
protected CatalogPieceOfFurniture |
DefaultFurnitureCatalog.readPieceOfFurniture(java.util.ResourceBundle resource,
int index,
java.net.URL furnitureCatalogUrl,
java.net.URL furnitureResourcesUrlBase)
Returns the piece of furniture at the given
index of a
localized resource bundle. |
Modifier and Type | Class and Description |
---|---|
class |
CatalogDoorOrWindow
A door or a window of the catalog.
|
class |
CatalogLight
A light of the catalog.
|
class |
CatalogShelfUnit
A catalog piece of furniture.
|
Modifier and Type | Method and Description |
---|---|
CatalogPieceOfFurniture |
CatalogPieceOfFurniture.clone()
Returns a clone of this piece.
|
CatalogPieceOfFurniture |
FurnitureCategory.getPieceOfFurniture(int index)
Returns the piece of furniture at a given
index . |
CatalogPieceOfFurniture |
FurnitureCatalog.getPieceOfFurnitureWithId(java.lang.String id)
Returns the piece of furniture with the given
id if it exists. |
Modifier and Type | Method and Description |
---|---|
java.util.List<CatalogPieceOfFurniture> |
FurnitureCategory.getFurniture()
Returns the furniture list of this category sorted by name.
|
Modifier and Type | Method and Description |
---|---|
void |
FurnitureCatalog.add(FurnitureCategory category,
CatalogPieceOfFurniture piece)
Adds
piece of a given category to this catalog. |
int |
CatalogPieceOfFurniture.compareTo(CatalogPieceOfFurniture piece)
Compares the names of this piece and the one in parameter.
|
void |
FurnitureCatalog.delete(CatalogPieceOfFurniture piece)
Deletes the
piece from this catalog. |
int |
FurnitureCategory.getIndexOfPieceOfFurniture(CatalogPieceOfFurniture piece)
Returns the index of the given
piece of furniture. |
Modifier and Type | Method and Description |
---|---|
void |
FurnitureCatalog.addFurnitureListener(CollectionListener<CatalogPieceOfFurniture> listener)
Adds the furniture
listener in parameter to this catalog. |
void |
FurnitureCatalog.removeFurnitureListener(CollectionListener<CatalogPieceOfFurniture> listener)
Removes the furniture
listener in parameter from this catalog. |
Modifier and Type | Method and Description |
---|---|
ImportedFurnitureWizardStepsView |
SwingViewFactory.createImportedFurnitureWizardStepsView(CatalogPieceOfFurniture piece,
java.lang.String modelName,
boolean importHomePiece,
UserPreferences preferences,
ImportedFurnitureWizardController importedFurnitureWizardController)
Returns a new view that displays the different steps that helps user to import furniture.
|
Constructor and Description |
---|
ImportedFurnitureWizardStepsPanel(CatalogPieceOfFurniture piece,
java.lang.String modelName,
boolean importHomePiece,
UserPreferences preferences,
ImportedFurnitureWizardController controller)
Creates a view for furniture import.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CatalogPieceOfFurniture> |
FurnitureCatalogController.getSelectedFurniture()
Returns an unmodifiable list of the selected furniture in catalog.
|
Modifier and Type | Method and Description |
---|---|
ImportedFurnitureWizardStepsView |
ViewFactoryAdapter.createImportedFurnitureWizardStepsView(CatalogPieceOfFurniture piece,
java.lang.String modelName,
boolean importHomePiece,
UserPreferences preferences,
ImportedFurnitureWizardController importedFurnitureWizardController) |
ImportedFurnitureWizardStepsView |
ViewFactory.createImportedFurnitureWizardStepsView(CatalogPieceOfFurniture piece,
java.lang.String modelName,
boolean importHomePiece,
UserPreferences preferences,
ImportedFurnitureWizardController importedFurnitureWizardController)
Returns a new view that displays the different steps that helps the user to import furniture.
|
Modifier and Type | Method and Description |
---|---|
void |
FurnitureCatalogController.setSelectedFurniture(java.util.List<CatalogPieceOfFurniture> selectedFurniture)
Updates the selected furniture in catalog and notifies listeners selection change.
|
Constructor and Description |
---|
ImportedFurnitureWizardController(CatalogPieceOfFurniture piece,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager)
Creates a controller that edits
piece values. |
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License