|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.primitives.Primitive
algoanim.primitives.MatrixPrimitive
public abstract class MatrixPrimitive
Base class for all concrete arrays.
| Field Summary | |
|---|---|
protected int |
nrCols
|
protected int |
nrRows
|
| Fields inherited from class algoanim.primitives.Primitive |
|---|
gen |
| Constructor Summary | |
|---|---|
MatrixPrimitive(GeneratorInterface g,
DisplayOptions display)
|
|
| Method Summary | |
|---|---|
int |
getNrCols()
Returns the number of columns in row row of the internal matrix. |
int |
getNrRows()
Returns the number of rows of the internal matrix. |
| Methods inherited from class algoanim.primitives.Primitive |
|---|
changeColor, exchange, getDisplayOptions, getName, hide, hide, moveBy, moveTo, moveVia, rotate, rotate, setName, show, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int nrRows
protected int nrCols
| Constructor Detail |
|---|
public MatrixPrimitive(GeneratorInterface g,
DisplayOptions display)
g - the appropriate code Generator.display - [optional] the DisplayOptions of this
ArrayPrimitive.| Method Detail |
|---|
public int getNrRows()
public int getNrCols()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||