JDTractorItem Class Reference

Represents a tractor item used for enumerating tractors in the tractor list. More...

List of all members.

Public Member Functions

(id) - initWithItem:
(void) - setTractorName:
(void) - setImageName:
(NSString *) - getTractorName
(NSString *) - getImageName

Properties

NSString * tractorName
 name of the tractor model
NSString * imageName
 name of the image in the app resources to use

Detailed Description

Represents a tractor item used for enumerating tractors in the tractor list.


Member Function Documentation

- (NSString *) getImageName  

get the name of the image for the tractor

Returns:
string of the image name in the resources of the app
- (NSString *) getTractorName  

get the name of the tractor

Returns:
name of the tractor from xml
- (id) initWithItem: (JDTractorItem *)  oldItem  

Creates a new instance by making a copy of an old one

Parameters:
oldItem the old JDTractorItem to use as base for new
Returns:
a new JDTractorItem
- (void) setImageName: (NSString *)  image  

Set the image to use for this tractor

Parameters:
imageName name of the image (defined in in xml) must be in the apps resources
- (void) setTractorName: (NSString *)  name  

Set the name of the tractor

Parameters:
tractorName name of the tractor (from xml)

The documentation for this class was generated from the following files:
 All Classes Functions Properties

Generated on 27 Apr 2015 for My Project by  doxygen 1.6.1