This method should not be called for instances of this class.
new: parentCanvas
Answer a new instance of the receiver, displayed into the given
parentCanvas.
1.7.2 BLOX.BCanvasObject: accessing
blox
Answer the parent canvas of the receiver
boundingBox
Answer a Rectangle enclosing all of the receiver
color
Answer the color to be used to fill this item's area.
color: color
Set the color to be used to fill this item's area.
copyInto: newCanvas
Answer a new BCanvasObject identical to this but displayed
into another canvas, newCanvas. The new instance is not
created at the time it is returned.
copyObject
Answer a new BCanvasObject identical to this. Unlike #copy,
which merely creates a new Smalltalk object with the same data
and referring to the same canvas item, the object created
with #copyObject is physically distinct from the original.
The new instance is not created at the time it is returned.
createCopy
Answer a new BCanvasObject identical to this. Unlike #copy,
which merely creates a new Smalltalk object with the same data
and referring to the same canvas item, the object created
with #copyObject is physically distinct from the original.
The new instance has already been created at the time it is
returned.
createCopyInto: newCanvas
Answer a new BCanvasObject identical to this but displayed
into another canvas, newCanvas. The new instance has already
been created at the time it is returned.
deepCopy
It does not make sense to make a copy, because it would
make data inconsistent across different objects; so answer
the receiver
grayOut
Apply a 50% gray stippling pattern to the object
shallowCopy
It does not make sense to make a copy, because it would
make data inconsistent across different objects; so answer
the receiver
1.7.3 BLOX.BCanvasObject: widget protocol
create
If the object has not been created yet and has been initialized
correctly, insert it for real in the parent canvas
created
Answer whether the object is just a placeholder or has already
been inserted for real in the parent canvas
lower
Move the item to the lowest position in the display list.
Child widgets always obscure other item types, and the stacking
order of window items is determined by sending methods to the
widget object directly.
raise
Move the item to the highest position in the display list.
Child widgets always obscure other item types, and the stacking
order of window items is determined by sending methods to the
widget object directly.
redraw
Force the object to be displayed in the parent canvas, creating
it if it has not been inserted for real in the parent, and refresh
its position if it has changed.
remove
Remove the object from the canvas
show
Ensure that the object is visible in the center of the canvas,
scrolling it if necessary.
This document was generated
on July, 23 2009
using texi2html