< LynkeosWindowController > Protocol Reference

This protocol is provided by the document main window. More...

#import <LynkeosProcessingView.h>

Inheritance diagram for < LynkeosWindowController >:

Inheritance graph
[legend]
Collaboration diagram for < LynkeosWindowController >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(NSDictionary *) - windowSizes
 Get the sizes of the window elements.
(id) - getTextView
 Access to the "list" view.
(id) - getImageView
 Access to the image view.
(MyImageListItem *) - highlightedItem
 Access to the currently hilighted item.
(void) - highlightItem:
 Change the hilighted item.
(void) - setListSelectionAuthorization:
 Authorize (or not) the selection of the working list.
(void) - setDataModeSelectionAuthorization:
 Authorize (or not) the selection of the list/result mode.
(void) - setItemSelectionAuthorization:
 Authorize (or not) the selection of items in the list.
(void) - setItemEditionAuthorization:
 Authorize (or not) the modification of items in the list.
(void) - setProcessing:andIdent:authorization:
 Enable (or not) all the GUI items that launch one process.
(void) - getItemToProcess:andParameter:forView:
 Get the item selected for image processing.
(void) - saveImage:withBlack:white:gamma:
 Saves an image, using the registered writers.
(MyImageBuffer *) - loadImage
 Load an image, using the registered image readers.


Detailed Description

This protocol is provided by the document main window.

Member Function Documentation

- (NSDictionary*) windowSizes  

Get the sizes of the window elements.

Returns:
A dictionary containing the sizes ; usable only by the controller itself

- (id) getTextView  

Access to the "list" view.

Mainly to register for notifications.

- (id) getImageView  

Access to the image view.

Returns:
The main window image view

- (MyImageListItem*) highlightedItem  

Access to the currently hilighted item.

Returns:
The hilighted item

- (void) highlightItem: (MyImageListItem *)  item  

Change the hilighted item.

Parameters:
item The new item to hilight

- (void) setListSelectionAuthorization: (BOOL)  auth  

Authorize (or not) the selection of the working list.

Parameters:
auth Whether to authorize or not

- (void) setDataModeSelectionAuthorization: (BOOL)  auth  

Authorize (or not) the selection of the list/result mode.

Parameters:
auth Whether to authorize or not

- (void) setItemSelectionAuthorization: (BOOL)  auth  

Authorize (or not) the selection of items in the list.

Parameters:
auth Whether to authorize or not

- (void) setItemEditionAuthorization: (BOOL)  auth  

Authorize (or not) the modification of items in the list.

Parameters:
auth Whether to authorize or not

- (void) setProcessing: (Class)  c
andIdent: (NSString *)  ident
authorization: (BOOL)  auth 

Enable (or not) all the GUI items that launch one process.

Parameters:
c The class of the processing
ident Identifier for the processing instance
auth Whether to authorize or not

- (void) getItemToProcess: (id< LynkeosProcessableItem > *)  item
andParameter: (LynkeosImageProcessingParameter **)  param
forView: (id< LynkeosProcessingView >)  sender 

Get the item selected for image processing.

Parameters:
item The item currently selected for processing
param The parameter currently selected for processing (nil if none)

- (void) saveImage: (MyImageBuffer *)  image
withBlack: (double)  black
white: (double)  white
gamma: (double)  gamma 

Saves an image, using the registered writers.

Parameters:
image The image to save
black Black level
white White level
gamma Gamma correction exponent

- (MyImageBuffer*) loadImage  

Load an image, using the registered image readers.

Returns:
The loaded image


The documentation for this protocol was generated from the following file:
Generated on Sat Mar 22 17:44:50 2008 for Lynkeos by  doxygen 1.5.4