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 |
HomeXMLExporter.writeTextStyle(XMLWriter writer,
TextStyle textStyle,
java.lang.String attributeName)
Writes in XML the
textStyle object with the given writer . |
Modifier and Type | Method and Description |
---|---|
TextStyle |
TextStyle.deriveBoldStyle(boolean bold)
Returns a derived style of this text style with a given bold style.
|
TextStyle |
TextStyle.deriveItalicStyle(boolean italic)
Returns a derived style of this text style with a given italic style.
|
TextStyle |
TextStyle.deriveStyle(float fontSize)
Returns a derived style of this text style with a given font size.
|
TextStyle |
TextStyle.deriveStyle(java.lang.String fontName)
Returns a derived style of this text style with a given font name.
|
TextStyle |
TextStyle.deriveStyle(TextStyle.Alignment alignment)
Returns a derived style of this text style with a given alignment.
|
TextStyle |
Room.getAreaStyle()
Returns the text style used to display room area.
|
TextStyle |
UserPreferences.getDefaultTextStyle(java.lang.Class<? extends Selectable> selectableClass)
Returns the default text style of a class of selectable item.
|
TextStyle |
DimensionLine.getLengthStyle()
Returns the text style used to display dimension line length.
|
TextStyle |
HomePieceOfFurniture.getNameStyle()
Returns the text style used to display piece name.
|
TextStyle |
Room.getNameStyle()
Returns the text style used to display room name.
|
TextStyle |
Label.getStyle()
Returns the style used to display the text of this label.
|
Modifier and Type | Method and Description |
---|---|
void |
Room.setAreaStyle(TextStyle areaStyle)
Sets the text style used to display room area.
|
void |
DimensionLine.setLengthStyle(TextStyle lengthStyle)
Sets the text style used to display dimension line length.
|
void |
HomePieceOfFurniture.setNameStyle(TextStyle nameStyle)
Sets the text style used to display piece name.
|
void |
Room.setNameStyle(TextStyle nameStyle)
Sets the text style used to display room name.
|
void |
Label.setStyle(TextStyle style)
Sets the style used to display the text of this label.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.Font |
PlanComponent.getFont(java.awt.Font defaultFont,
TextStyle textStyle)
Returns the AWT font matching a given text style.
|
protected java.awt.FontMetrics |
PlanComponent.getFontMetrics(java.awt.Font defaultFont,
TextStyle textStyle)
Returns the font metrics matching a given text style.
|
float[][] |
PlanComponent.getTextBounds(java.lang.String text,
TextStyle style,
float x,
float y,
float angle)
Returns the coordinates of the bounding rectangle of the
text centered at
the point (x ,y ). |
float[][] |
MultipleLevelsPlanPanel.getTextBounds(java.lang.String text,
TextStyle style,
float x,
float y,
float angle)
Returns the coordinates of the bounding rectangle of the
text displayed at
the point (x ,y ). |
Modifier and Type | Method and Description |
---|---|
float[][] |
PlanView.getTextBounds(java.lang.String text,
TextStyle style,
float x,
float y,
float angle)
Returns the coordinates of the bounding rectangle of the
text displayed at
the point (x ,y ). |
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License