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.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HomeXMLHandler.setPolylineAttributes(Polyline polyline,
java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the attributes of the given
polyline . |
protected void |
HomeXMLExporter.writePolyline(XMLWriter writer,
Polyline polyline)
Writes in XML the
polyline object with the given writer . |
Constructor and Description |
---|
Polyline3D(Polyline polyline,
Home home)
Creates the 3D object matching the given
polyline . |
Polyline3D(Polyline polyline,
Home home,
UserPreferences preferences,
java.lang.Object context)
Creates the 3D object matching the given
polyline . |
Modifier and Type | Method and Description |
---|---|
Polyline |
Polyline.clone()
Returns a clone of this polyline.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Polyline> |
Home.getPolylines()
Returns an unmodifiable collection of the polylines of this home.
|
static java.util.List<Polyline> |
Home.getPolylinesSubList(java.util.List<? extends Selectable> items)
Returns a sub list of
items that contains only labels. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addPolyline(Polyline polyline)
Adds a given
polyline at the end of the polylines list of this home. |
void |
Home.addPolyline(Polyline polyline,
int index)
Adds a
polyline at a given index of the set of polylines of this home. |
void |
Home.deletePolyline(Polyline polyline)
Removes a given
polyline from the set of polylines of this home. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addPolylinesListener(CollectionListener<Polyline> listener)
Adds the polyline
listener in parameter to this home. |
void |
Home.removePolylinesListener(CollectionListener<Polyline> listener)
Removes the polyline
listener in parameter from this home. |
Modifier and Type | Method and Description |
---|---|
protected Polyline |
PlanController.createPolyline(float[][] polylinePoints)
Returns a new polyline instance with the given points.
|
Modifier and Type | Method and Description |
---|---|
void |
PlanController.addPolylines(java.util.List<Polyline> polylines)
Adds
polylines to home and posts an undoable new polyline line operation. |
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License