|
Class: SubCanvas
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--ScrollableView
|
+--SubCanvas
- Package:
- stx:libwidg2
- Category:
- Views-Basic
- Version:
- rev:
1.80
date: 2022/10/11 14:19:18
- user: cg
- file: SubCanvas.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
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)
copyrightCOPYRIGHT (c) 1998 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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
-
(comment from inherited method)
control the horizontal scrollBar to be either a miniScroller,
or a full scrollBar.
-
isScrollWrapper
-
-
makeClientViewScrollable: shouldBeScrollable
-
-
setClient: anApplicationModel
-
set the client - do NOT rebuild
-
spec
-
-
spec: something
-
-
verticalMini: aBoolean
-
(comment from inherited method)
control the vertical scrollBar to be either a miniScroller,
or a full scrollBar.
-
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
-
(comment from inherited method)
whenever the scrolledView changes its contents, the scroller(s) must
be updated as well
-
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;
-
processEvent: anEvent
-
Return true, if I have eaten the event
-
realize
-
https://expeccoalm.exept.de/D451154
-
release
-
https://expeccoalm.exept.de/D451154
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
|