eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ImageInspectorView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ImageInspectorView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--InspectorView
               |
               +--ImageInspectorView

Package:
stx:libtool
Category:
Interface-Inspector
Version:
rev: 1.42 date: 2018/05/28 12:21:33
user: cg
file: ImageInspectorView.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


this class allows better inspection of images,
by adding another subView, which displays the image.


Class protocol:

defaults
o  defaultTopViewExtent

o  rememberLastExtent: anExtent

menu specs
o  imageMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:ImageInspectorView andSelector:#imageMenu
     (Menu new fromLiteralArrayEncoding:(ImageInspectorView imageMenu)) startUp


Instance protocol:

accessing
o  inspect: anObject
set the object to be inspected

usage example(s):

     ImageInspectorView inspect:(Image fromScreen:(0@0 corner:800@800))

initialization
o  destroy

o  initialize
wrap my existing subview into the new
variable panel

menu
o  imageMenu

o  menuEdit

o  menuFileBrowser

o  menuMagnification
ask for and change the magnification (with optional smoothing)

o  menuSetBackgroundColor: colorNameSymbol

queries
o  filenameOfImageKnown

o  hasImage
do we inspect an image and not a Form?

o  labelFor: anObject
(comment from inherited method)
return the windowLabel to use in my topView, when inspecting anObject.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 00:16:25 GMT