Samond Classes Library 1.1.6-RELEASE build 132

SCButton.h

Go to the documentation of this file.
00001 //
00002 //  SCButton.h
00003 //  scl
00004 //
00005 //  Created by Viacheslav Smolensky on 22.02.09.
00006 //      Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved.
00007 //
00008 
00017 #import <Cocoa/Cocoa.h>
00018 
00019 #define NSButtonClass @"NSButton" ///< NSButton class name
00020 
00032 @interface NSButton(SCButton)
00033 
00034 #pragma mark -
00035 #pragma mark Class properties
00036 #if (__MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || IOS_TARGET
00037 // Instance class name property
00038 @property (retain, readonly, getter=className) NSString *className;
00039 // Boolean state of button
00040 @property (nonatomic, getter=stateWithBool, setter=setStateWithBool:) BOOL booleanState;
00041 #endif
00042 
00047 - (NSString *)className;
00048 
00053 - (void)setStateWithBool:(BOOL)state;
00054 
00059 - (BOOL)stateWithBool;
00060 
00061 @end
 All Classes Files Functions Typedefs Enumerations Enumerator Defines