ca.gc.aafc.demos.furnituremodel
Class Top
java.lang.Object
ca.gc.aafc.demos.furnituremodel.Top
- public class Top
- extends java.lang.Object
This represents the top of a Table
- Version:
- 0.1
- Author:
- Chad S. Matsalla
|
Field Summary |
protected java.lang.String |
colour
|
protected java.lang.Float |
length
|
protected java.lang.Float |
thickness
|
protected java.lang.Float |
width
|
|
Constructor Summary |
Top()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
width
protected java.lang.Float width
length
protected java.lang.Float length
colour
protected java.lang.String colour
thickness
protected java.lang.Float thickness
Top
public Top()
getWidth
public java.lang.Float getWidth()
setWidth
public void setWidth(java.lang.Float newwidth)
getLength
public java.lang.Float getLength()
setLength
public void setLength(java.lang.Float newlength)
getColour
public java.lang.String getColour()
setColour
public void setColour(java.lang.String newcolour)
getThickness
public java.lang.Float getThickness()
setThickness
public void setThickness(java.lang.Float newthickness)
cut
public void cut(java.lang.Float new_width,
java.lang.Float new_length)
throws NotImplementedException
- Throws:
NotImplementedException