|
Class: VisualPart
Object
|
+--DisplayObject
|
+--VisualComponent
|
+--VisualPart
- Package:
- stx:libview2
- Category:
- Compatibility-ST80-Graphics-Display Objects
- Version:
- rev:
1.28
date: 2018/10/31 11:39:07
- user: cg
- file: VisualPart.st directory: libview2
- module: stx stc-classLibrary: libview2
- Author:
- Claus Gittinger
abstract superclass for all kinds of visual components, which
are containers for some other component.
This class and its subclasses (currently) exist mostly for
ST-80 compatibility - to provide a home for ported PD classes,
which depend on the VisualPart hierarchy.
Notice:
this class was implemented using protocol information
from alpha testers, from reading PD programs and
from the Hopkins/Horan book.
- it may not be complete or compatible to the corresponding ST-80 class.
If you encounter any incompatibilities, please forward a note
describing the incompatibility verbal (i.e. no code) to the ST/X team.
This is still being constructed - not yet finished.
GeometricWrapper
accessing
-
beInvisible
-
-
beVisible
-
-
container
-
return my container
-
container: something
-
set container
-
drawableId
-
return the drawableId of where I am in
-
extentHolder
-
-
extentHolder: something
-
-
graphicsContext
-
return the graphicsContext of where I am in
-
graphicsDevice
-
return the graphicsContext
-
name
-
-
name: something
-
-
originHolder
-
-
originHolder: something
-
-
topComponent
-
return the top component - typically the topView
-
view
-
return my view
-
visibilityHolder
-
-
visibilityHolder: newHolder
-
accessing-channels
-
visibilityChannel
-
self obsoleteMethodWarning.
-
visibilityChannel: something
-
self obsoleteMethodWarning.
accessing-color & font
-
backgroundColor
-
accessing-dimensions
-
bounds: newBounds
-
self assert:(newBounds left isInteger).
-
possiblyInvalidate
-
change & update
-
update: something with: aParameter from: changedObject
-
invalidate is always ok - however, it will redraw bg, fg and line
view protocol mimicri
-
bottomInset
-
-
computeBoundingBox
-
container bounds
-
computeCorner
-
-
computeExtent
-
-
computeOrigin
-
-
containerChangedSize
-
my container changed its size.
The default here is to ignore this, but some wrappers like
to resize when this happens.
-
cornerRule
-
-
create
-
want myself to be created.
-
destroy
-
-
device
-
-
extentRule
-
-
geometryLayout
-
-
geometryLayout: newLayoutOrNil
-
-
invalidate
-
-
isComponentOf: aViewOrComponent
-
return true, if I am a (direct or indirect) component of aViewOrComponent
-
leftInset
-
-
originRelativeTo: aContainer
-
return the origin (in pixels) relative to a superView,
or relative to the rootView (if the aView argument is nil).
If the receiver is nonNil and not a subview of aView, return nil.
-
originRule
-
-
realize
-
my container realized itself.
The default here is to ignore this, but some wrappers like
to do something when this happens.
-
realizeAllSubViews
-
realize all my subviews - but not myself.
-
relativeCorner
-
-
relativeExtent
-
-
relativeOrigin
-
-
rightInset
-
-
shown
-
-
subViewChangedSize
-
-
subViews
-
-
topInset
-
-
topView
-
return the topView - that's the one with no superview
-
windowGroup
-
-
withAllSubViewsDo: aBlock
-
|