#import "DWTableColumn.h"
#import "NSObjectExtensions.h"
        

@implementation DWTableColumn

/* Initialization */
    
    - (void) dealloc; {
        [image release];
        [super dealloc];
    }


#pragma mark -
/* Control Tint */
        
    - (void) shouldResetCachedImage: (id) sender; {
        [image release];
        image = nil;
    }


#pragma mark -
/* set... */

    - (void) setFlags: (unsigned) theValue; {
        flags = theValue;
    }
    
    - (void) setMenuTitle: (id) theValue; {
        menuTitle = [theValue retain];
    }

    - (void) setSelector: (SEL) theSelector; {
        sel = theSelector;
    }

    - (void) setSortSelector: (SEL) theSelector; {
        sortSel = theSelector;
    }

    - (void) setComparator: (void*) theComparator; {
        comparator = theComparator;
    }

    - (void) setPrimary: (SEL) theSelector; {
        primary = theSelector;
    }

    - (void) setSecondary: (SEL) theSelector; {
        secondary = theSelector;
    }


#pragma mark -
/* Get */

    - (id) menuTitle; {
        return menuTitle;
    }

@end