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.setLabelAttributes(Label label,
java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Sets the attributes of the given
label . |
protected void |
HomeXMLExporter.writeLabel(XMLWriter writer,
Label label)
Writes in XML the
label object with the given writer . |
Constructor and Description |
---|
Label3D(Label label,
Home home,
boolean waitForLoading)
Creates the 3D object matching the given
label . |
Label3D(Label label,
Home home,
UserPreferences preferences,
java.lang.Object context,
boolean waitForLoading)
Creates the 3D object matching the given
label . |
Modifier and Type | Method and Description |
---|---|
Label |
Label.clone()
Returns a clone of this label.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Label> |
Home.getLabels()
Returns an unmodifiable collection of the labels of this home.
|
static java.util.List<Label> |
Home.getLabelsSubList(java.util.List<? extends Selectable> items)
Returns a sub list of
items that contains only labels. |
Modifier and Type | Method and Description |
---|---|
void |
Home.addLabel(Label label)
Adds the given label to the set of labels of this home.
|
void |
Home.deleteLabel(Label label)
Removes the given label from the set of labels of this home.
|
Modifier and Type | Method and Description |
---|---|
void |
Home.addLabelsListener(CollectionListener<Label> listener)
Adds the label
listener in parameter to this home. |
void |
Home.removeLabelsListener(CollectionListener<Label> listener)
Removes the label
listener in parameter from this home. |
Modifier and Type | Method and Description |
---|---|
protected Label |
LabelController.createLabel(java.lang.String text,
float x,
float y)
Returns a new label instance placed at the given coordinates and added to home.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
LabelController.isLabelPartOfBasePlan(Label label)
Returns
true . |
Modifier and Type | Method and Description |
---|---|
void |
PlanController.addLabels(java.util.List<Label> labels)
Add
labels to home and post an undoable new label operation. |
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License