INTERFACEThe callDotsView ; IMPORT PaintOp, RectsVBT, Sort, SortViewClass; TYPE T <: Public; Public = SortViewClass.T OBJECT METHODS init (op: PaintOp.T): T; setPosition (rects: RectsVBT.T; i : CARDINAL; val : Sort.Key ); END;
v.init(op)
initializes a newly allocated DotsView.
Its rectangles will have color op
.
The call v.setPosition(r, i, val)
is called to position a
rectangle in RectVBT r
to represent element i
when its
value is val
.
END DotsView.