//
//  MCBGButton.h
//  ButtonGridTest
//
//  Created by Ali Lalani on 6/18/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface MCBGButton : NSView {
	NSString *title;
	NSImage  *image;
	NSString *identifier;
	id representedObject;
	
	BOOL isPressed;
	BOOL isOn;

	BOOL displaysText;

	BOOL allowsDragSwitching;
	
	NSArray *dragTypes;

	NSTimer *dragTimer;

	int flashCount;
}
#pragma mark Dragging


#pragma mark Accessors
- (NSString *)title;
- (void)setTitle:(NSString *)aTitle;
- (NSImage *)image;
- (void)setImage:(NSImage *)anImage;
- (NSString *)identifier;
- (void)setIdentifier:(NSString *)anIdentifier;
- (BOOL)isOn;
- (void)setOn:(BOOL)flag;
- (BOOL)displaysText;
- (void)setDisplaysText:(BOOL)flag;
- (id)representedObject;
- (void)setRepresentedObject:(id)aRepresentedObject;
- (NSArray *)dragTypes;
- (void)setDragTypes:(NSArray *)aDragTypes;
- (BOOL)allowsDragSwitching;
- (void)setAllowsDragSwitching:(BOOL)flag;
@end
