eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FileApplicationNoteBook::ImageViewApplication':

Home

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

Class: ImageViewApplication (private in FileApplicationNoteBook

This class is only visible from within FileApplicationNoteBook.

Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractFileApplicationNoteBookComponent
            |
            +--FileApplicationNoteBook::ImageViewApplication

Package:
stx:libtool
Category:
Interface-Tools-File
Owner:
FileApplicationNoteBook

Description:


a previewer-plugin for bitmap images (jpg, xpm, tiff, gif, etc.)
Offers edit and adjust-size button functions.


Class protocol:

defaults
o  tabStringFor: aApplicationType
the formatString shown in a tab (language translated)

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

image specs
o  fitSize20x20Icon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self fitSize20x20Icon inspect
     ImageEditor openOnClass:self andSelector:#fitSize20x20Icon

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:FileApplicationNoteBook::ImageViewApplication andSelector:#windowSpec
     FileApplicationNoteBook::ImageViewApplication new openInterface:#windowSpec
     FileApplicationNoteBook::ImageViewApplication open

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

usage example(s):

     MenuEditor new openOnClass:FileApplicationNoteBook::ImageViewApplication andSelector:#menu
     (Menu new fromLiteralArrayEncoding:(FileApplicationNoteBook::ImageViewApplication menu)) startUp

queries
o  canOpenItem: anItem
check if I can open that document;
first check the mimetype (by suffix),
then also ask the corresponding imageReader if the file is actually valid

o  wantNewApplicationAnyway


Instance protocol:

accessing
o  image: something

o  imageView

o  imageView: something

o  updateImageInfo

actions
o  changeItem: anItem

o  editImage
self withWaitCursorDo:[

o  image
autoload image readers and retry

o  showHex

aspects
o  fitSize
return/create the 'fitSize' value holder (automatically generated)

change & update
o  update: something with: aParameter from: changedObject
imageView adjust:#smoothFitBig.

event handling
o  processEvent: anEvent

initialization & release
o  postBuildImageView: aWidget

o  postOpenAsSubcanvasWith: aBuilder
invoked if the application is embedded in some other view

o  postOpenWith: aBuilder
only invoked if the application is not started from a master

o  setupImageView



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 21:22:39 GMT