public class Baseboard extends Object implements Serializable
Constructor and Description |
---|
Baseboard(float thickness,
float height,
Integer color,
HomeTexture texture)
Creates a baseboard.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Returns
true if this baseboard is equal to object . |
Integer |
getColor()
Returns the color of this baseboard.
|
float |
getHeight()
Returns the height of this baseboard.
|
static Baseboard |
getInstance(float thickness,
float height,
Integer color,
HomeTexture texture)
Returns an instance of this class matching the given parameters.
|
HomeTexture |
getTexture()
Returns the texture of this baseboard.
|
float |
getThickness()
Returns the thickness of this baseboard.
|
int |
hashCode()
Returns a hash code for this baseboard.
|
public Baseboard(float thickness, float height, Integer color, HomeTexture texture)
public static Baseboard getInstance(float thickness, float height, Integer color, HomeTexture texture)
public float getThickness()
public float getHeight()
public Integer getColor()
public HomeTexture getTexture()
public boolean equals(Object object)
true
if this baseboard is equal to object
.
© Copyrights 2006-2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License