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 void |
HomeXMLHandler.setLevelAttributes(Level level,
java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the attributes of the given
level . |
protected void |
HomeXMLExporter.writeLevel(XMLWriter writer,
Level level)
Writes in XML the
level object with the given writer . |
Modifier and Type | Method and Description |
---|---|
Level |
Level.clone()
Returns a clone of this level.
|
Level |
Polyline.getLevel()
Returns the level which this polyline belongs to.
|
Level |
DimensionLine.getLevel()
Returns the level which this dimension line belongs to.
|
Level |
Wall.getLevel()
Returns the level which this wall belongs to.
|
Level |
HomePieceOfFurniture.getLevel()
Returns the level which this piece belongs to.
|
Level |
Elevatable.getLevel()
Returns the level of this object.
|
Level |
Label.getLevel()
Returns the level which this label belongs to.
|
Level |
Room.getLevel()
Returns the level which this room belongs to.
|
Level |
Home.getSelectedLevel()
Returns the selected level in home or
null if home has no level. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Level> |
Home.getLevels()
Returns an unmodifiable collection of the levels of this home.
|
java.util.List<Level> |
HomePrint.getPrintedLevels()
Returns the printed levels or
null if all levels should be printed. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addLevel(Level level)
Adds the given
level to the list of levels of this home. |
void |
Home.deleteLevel(Level level)
Removes the given
level from the set of levels of this home
and all the furniture, walls, rooms, dimension lines and labels that belong to this level. |
boolean |
Polyline.isAtLevel(Level level)
Returns
true if this polyline is at the given level
or at a level with the same elevation and a smaller elevation index. |
boolean |
DimensionLine.isAtLevel(Level level)
Returns
true if this dimension line is at the given level
or at a level with the same elevation and a smaller elevation index
or if the elevation of its highest end is higher than level elevation. |
boolean |
Wall.isAtLevel(Level level)
Returns
true if this wall is at the given level
or at a level with the same elevation and a smaller elevation index
or if the elevation of its highest point is higher than level elevation. |
boolean |
HomePieceOfFurniture.isAtLevel(Level level)
Returns
true if this piece is at the given level
or at a level with the same elevation and a smaller elevation index
or if the elevation of its highest point is higher than level elevation. |
boolean |
Elevatable.isAtLevel(Level level)
Returns
true if this object can be viewed at the given level. |
boolean |
Label.isAtLevel(Level level)
Returns
true if this label is at the given level
or at a level with the same elevation and a smaller elevation index
or if the elevation of this label is higher than level elevation. |
boolean |
Room.isAtLevel(Level level)
Returns
true if this room is at the given level
or at a level with the same elevation and a smaller elevation index. |
void |
Polyline.setLevel(Level level)
Sets the level of this polyline.
|
void |
DimensionLine.setLevel(Level level)
Sets the level of this dimension line.
|
void |
Wall.setLevel(Level level)
Sets the level of this wall.
|
void |
HomeFurnitureGroup.setLevel(Level level)
Set the level of this group and the furniture it contains.
|
void |
HomePieceOfFurniture.setLevel(Level level)
Sets the level of this piece of furniture.
|
void |
Label.setLevel(Level level)
Sets the level of this label.
|
void |
Room.setLevel(Level level)
Sets the level of this room.
|
void |
Home.setSelectedLevel(Level selectedLevel)
Sets the selected level in home and notifies listeners of the change.
|
Modifier and Type | Method and Description |
---|---|
void |
Home.addLevelsListener(CollectionListener<Level> listener)
Adds the level
listener in parameter to this home. |
void |
Home.removeLevelsListener(CollectionListener<Level> listener)
Removes the level
listener in parameter from this home. |
Constructor and Description |
---|
HomePrint(HomePrint.PaperOrientation paperOrientation,
float paperWidth,
float paperHeight,
float paperTopMargin,
float paperLeftMargin,
float paperBottomMargin,
float paperRightMargin,
boolean furniturePrinted,
boolean planPrinted,
java.util.List<Level> printedLevels,
boolean view3DPrinted,
java.lang.Float planScale,
java.lang.String headerFormat,
java.lang.String footerFormat)
Create a print attributes for home from the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PlanComponent.isViewableAtLevel(Elevatable item,
Level level)
Returns
true if the given item can be viewed in the plan at a level. |
protected void |
PlanComponent.paintHomeItems(java.awt.Graphics g,
Level level,
float planScale,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor,
PlanComponent.PaintMode paintMode)
Paints home items at the given scale, and with background and foreground colors.
|
Modifier and Type | Method and Description |
---|---|
protected Level |
PlanController.createLevel(java.lang.String name,
float elevation,
float floorThickness,
float height)
Returns a new level added to home.
|
Level[] |
LevelController.getLevels()
Returns a copy of home levels.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Level> |
PageSetupController.getPrintableLevels()
Returns home printable levels.
|
Modifier and Type | Method and Description |
---|---|
void |
HomeController.drop(java.util.List<? extends Selectable> items,
View destinationView,
Level level,
float dx,
float dy,
java.lang.Float dz)
Adds items to home, moves them of (dx, dy, dz) delta vector
and posts a drop operation to undo support.
|
void |
PlanController.setSelectedLevel(Level level)
Sets the selected level in home.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License