|
Class: SubCanvas
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--ScrollableView
|
+--SubCanvas
- Package:
- stx:libwidg2
- Category:
- Views-Basic
- Version:
- rev:
1.74
date: 2018/09/18 09:46:07
- user: stefan
- file: SubCanvas.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
- Author:
- Claus Atzkern
a view for a subApplication.
Made to be VW compatible as much as possible (try opening a RefactoringBrowser ...).
However, the default setup is not very useful to embed arbitrary applications
which are meant to be separate stand-alone applications.
Use the settings:
keepClientView (default: true)
useApplicationSubView (default: false)
useOwnBuilder (default: false)
defaults
-
defaultHorizontalScrollable
-
-
defaultVerticalScrollable
-
accessing
-
builder
-
-
builder: aBuilder
-
-
client
-
-
client: anApplication spec: aWindowSpecOrSpecSymbol builder: aBuilder
-
release existing components and generate new components from
the given windowSpec, using the given builder.
-
clientView
-
-
clientViewIsScrolled
-
-
horizontalMini: aBoolean
-
-
isScrollWrapper
-
-
makeClientViewScrollable: shouldBeScrollable
-
-
setClient: anApplicationModel
-
set the client - do NOT rebuild
-
spec
-
-
spec: something
-
-
verticalMini: aBoolean
-
-
widget
-
ST80 compatibility.
I am my own widget
accessing-canvasView handling
-
keepClientView: aBoolean
-
-
useApplicationSubView: aBoolean
-
-
useOwnBuilder: aBoolean
-
accessing-channels
-
clientHolder
-
-
clientHolder: aValueHolder
-
-
clientView: aView
-
-
specHolder
-
-
specHolder: aValueHolder
-
-
specHolder: newSpecHolder clientHolder: newClientHolder
-
building
-
container: aView
-
my builder can only build the components, when I have a container
-
rebuild
-
rebuild my GUI from the spec.
-
releaseAllComponents
-
change & update
-
update: something with: aParameter from: changedObject
-
-
updateFromChannels
-
some of our channels (clientHolder, specHolder) changed
delegation
-
viewBackground: aColor
-
convenient method: forward this to the scrolledView
initialization
-
initialize
-
these defaults make subCanvas compatible with VW;
-
release
-
(comment from inherited method)
remove all dependencies from the receiver
layout
-
usedScrolledViewHMarginWhenHasV: hasV andHasH: hasH
-
return the horizontal margin around (outer margin).
Redefined to avoid margin when no scrollers are present
-
usedScrolledViewVMarginWhenHasV: hasV andHasH: hasH
-
return the horizontal margin around (outer margin).
Redefined to avoid margin when no scrollers are present
queries
-
application
-
return the application, under which this view was opened
|