edu.brook.ascape.view
Class FillCellFeature
java.lang.Object
|
+--edu.brook.ascape.view.DrawFeature
|
+--edu.brook.ascape.view.DrawColorFeature
|
+--edu.brook.ascape.view.FillCellFeature
- public class FillCellFeature
- extends DrawColorFeature
A Draw feature that fills a cell with the color defined by the color feature.
- Since:
- 1.0
- Version:
- 1.0
|
Constructor Summary |
FillCellFeature(java.lang.String name)
Constructs the feature with the supplied name. |
FillCellFeature(java.lang.String name,
ColorFeature colorFeature)
Constructs the feature with a name and color feature. |
|
Method Summary |
void |
draw(java.awt.Graphics g,
java.lang.Object object,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
FillCellFeature
public FillCellFeature(java.lang.String name)
- Constructs the feature with the supplied name.
- Parameters:
the - name of this draw featurenestedFeature - the feature to nest within this feature
FillCellFeature
public FillCellFeature(java.lang.String name,
ColorFeature colorFeature)
- Constructs the feature with a name and color feature.
- Parameters:
the - name of this draw featurenestedFeature - the feature to nest within this feature
draw
public void draw(java.awt.Graphics g,
java.lang.Object object,
int width,
int height)
- Overrides:
- draw in class DrawColorFeature