-
bounds: newBounds [bounds accessing]
super bounds: newBounds.
[| viewWidth imageWidth columnSize |
self model isEmpty ifTrue: [^nil].
viewWidth := self bounds width.
imageWidth := self model elements first image width.
columnSize := (viewWidth / imageWidth) floor.
self model arrange: columnSize]
yourself
-
defaultControllerClass [controller accessing]
^ChemoJunMoleculeCatalogueController
-
displayOn: graphicsContext [displaying]
self model displayOn: graphicsContext
-
preferredBounds [display box accessing]
self model isNil
ifTrue: [^Screen default bounds]
ifFalse: [^self model boundingBox]
-
scrollOffset [private]
^scrollOffset value
-
update: aSymbol [updating]
self isOpen ifFalse: [^self].
(#(#redisplay #clearAndRedisplay) includes: aSymbol)
ifTrue:
[aSymbol = #redisplay ifTrue: [self displayOn: self graphicsContext].
aSymbol = #clearAndRedisplay
ifTrue:
[self clearInside.
self displayOn: self graphicsContext]]
ifFalse: [super update: aSymbol].
self fixScrollingOffset