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
does the subapp want separate new app tabs,
or reuse any already open isntance of it?


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
Return true, if I have eaten the event

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:44:49 GMT