Lynkeos  1.2
Instance Methods | Class Methods | Protected Attributes | List of all members
MyImageListItem Class Reference

Common class for all image list items. More...

#import <MyImageListItem.h>

Inheritance diagram for MyImageListItem:
Inheritance graph
[legend]

Instance Methods

(id) - initWithURL:
 
(NSURL *) - getURL
 
(int) - getSelectionState
 
(NSString *) - getName
 
(bool- hasSearchSquare
 
(MyIntegerPoint- searchSquareOrigin
 
(bool- isAligned
 
(NSPoint) - alignOffset
 
(double) - getQuality
 
(NSNumber *) - getIndex
 
(NSImage *) - getImage
 
(NSSize) - imageSize
 
(void) - setSelected:
 
(void) - invalidateSearchSquare
 
(void) - setSearchSquareOrigin:
 
(void) - invalidateAlignment
 
(void) - setAlignOffset:
 
(void) - setQuality:
 

Class Methods

(id) + imageListItemWithURL:
 

Protected Attributes

NSURL * _itemURL
 
NSString * _itemName
 
int _selection_state
 
bool _hasSearchSquare
 
MyIntegerPoint _searchSquareOrigin
 
bool _aligned
 
NSPoint _alignOffset
 
double _quality
 

Detailed Description

Common class for all image list items.

It provides a unique interface to the outline view, and the common data and methods for the image list items.

Method Documentation

◆ alignOffset()

- (NSPoint) alignOffset

◆ getImage()

- (NSImage *) getImage

◆ getIndex()

- (NSNumber *) getIndex

◆ getName()

- (NSString *) getName

References _itemName.

◆ getQuality()

- (double) getQuality

◆ getSelectionState()

- (int) getSelectionState

◆ getURL()

- (NSURL *) getURL

References _itemURL.

◆ hasSearchSquare()

- (bool) hasSearchSquare

References _hasSearchSquare.

◆ imageListItemWithURL:()

+ (id) imageListItemWithURL: (NSURL*)  url

◆ imageSize()

- (NSSize) imageSize

◆ initWithURL:()

- (id) initWithURL: (NSURL*)  url

References _itemName, and _itemURL.

◆ invalidateAlignment()

- (void) invalidateAlignment

References _aligned.

◆ invalidateSearchSquare()

- (void) invalidateSearchSquare

References _hasSearchSquare.

◆ isAligned()

- (bool) isAligned

References _aligned.

◆ searchSquareOrigin()

- (MyIntegerPoint) searchSquareOrigin

◆ setAlignOffset:()

- (void) setAlignOffset: (NSPoint)  offset

References _aligned, and _alignOffset.

Referenced by MyDocument::addEntry:.

◆ setQuality:()

- (void) setQuality: (double)  quality

References _quality, and quality().

◆ setSearchSquareOrigin:()

- (void) setSearchSquareOrigin: (MyIntegerPoint origin

◆ setSelected:()

- (void) setSelected: (bool value

Member Data Documentation

◆ _aligned

- (bool) _aligned
protected

◆ _alignOffset

- (NSPoint) _alignOffset
protected

Referenced by alignOffset, and setAlignOffset:.

◆ _hasSearchSquare

- (bool) _hasSearchSquare
protected

◆ _itemName

- (NSString*) _itemName
protected

Referenced by getName, and initWithURL:.

◆ _itemURL

- (NSURL*) _itemURL
protected

Referenced by getURL, and initWithURL:.

◆ _quality

- (double) _quality
protected

Referenced by getQuality, and setQuality:.

◆ _searchSquareOrigin

- (MyIntegerPoint) _searchSquareOrigin
protected

◆ _selection_state

- (int) _selection_state
protected

Referenced by getSelectionState, and setSelected:.


The documentation for this class was generated from the following files: