Package | Description |
---|---|
com.eteks.sweethome3d.swing |
Implements views created by Sweet Home 3D controllers
with Swing components.
|
Modifier and Type | Method and Description |
---|---|
static PlanComponent.PaintMode |
PlanComponent.PaintMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlanComponent.PaintMode[] |
PlanComponent.PaintMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.Color |
PlanComponent.getBackgroundColor(PlanComponent.PaintMode mode)
Returns the background color used to draw content.
|
protected java.awt.Color |
PlanComponent.getForegroundColor(PlanComponent.PaintMode mode)
Returns the foreground color used to draw content.
|
protected void |
PlanComponent.paintHomeItems(java.awt.Graphics g,
float planScale,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor,
PlanComponent.PaintMode paintMode)
Deprecated.
Override
PlanComponent.paintHomeItems(Graphics, Level, float, Color, Color, PaintMode) if you want to print different levels |
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.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License