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.setDimensionLineAttributes(DimensionLine dimensionLine,
java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the attributes of the given dimension line.
|
protected void |
HomeXMLExporter.writeDimensionLine(XMLWriter writer,
DimensionLine dimensionLine)
Writes in XML the
dimensionLine object with the given writer . |
Constructor and Description |
---|
DimensionLine3D(DimensionLine dimensionLine,
Home home,
UserPreferences preferences,
java.lang.Object context,
boolean waitForLoading)
Creates the 3D object matching the given dimension line.
|
Modifier and Type | Method and Description |
---|---|
DimensionLine |
DimensionLine.clone()
Returns a clone of this dimension line.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<DimensionLine> |
Home.getDimensionLines()
Returns an unmodifiable collection of the dimension lines of this home.
|
static java.util.List<DimensionLine> |
Home.getDimensionLinesSubList(java.util.List<? extends Selectable> items)
Returns a sub list of
items that contains only dimension lines. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addDimensionLine(DimensionLine dimensionLine)
Adds the given dimension line to the set of dimension lines of this home.
|
void |
Home.deleteDimensionLine(DimensionLine dimensionLine)
Removes the given dimension line from the set of dimension lines of this home.
|
Modifier and Type | Method and Description |
---|---|
void |
Home.addDimensionLinesListener(CollectionListener<DimensionLine> listener)
Adds the dimension line
listener in parameter to this home. |
void |
Home.removeDimensionLinesListener(CollectionListener<DimensionLine> listener)
Removes the dimension line
listener in parameter from this home. |
Modifier and Type | Method and Description |
---|---|
void |
PlanComponent.setDimensionLinesFeedback(java.util.List<DimensionLine> dimensionLines)
Sets the given dimension lines to be drawn as feedback.
|
void |
MultipleLevelsPlanPanel.setDimensionLinesFeedback(java.util.List<DimensionLine> dimensionLines)
Sets the given dimension lines to be drawn as feedback.
|
Modifier and Type | Method and Description |
---|---|
protected DimensionLine |
PlanController.createDimensionLine(float xStart,
float yStart,
float xEnd,
float yEnd,
float offset)
Returns a new dimension instance joining (
xStart ,
yStart ) and (xEnd , yEnd ) points. |
protected DimensionLine |
DimensionLineController.createDimensionLine(float xStart,
float yStart,
float elevationStart,
float xEnd,
float yEnd,
float elevationEnd,
float offset)
Returns a new dimension line instance added to home.
|
Modifier and Type | Method and Description |
---|---|
void |
PlanController.addDimensionLines(java.util.List<DimensionLine> dimensionLines)
Add
dimensionLines to home and post an undoable new dimension line operation. |
void |
PlanView.setDimensionLinesFeedback(java.util.List<DimensionLine> dimensionLines)
Sets the given dimension lines to be drawn as feedback.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License