MoreBtnModel.h 848 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // MoreBtnModel.h
  3. // OneCable
  4. //
  5. // Created by KaRam Kim on 2017. 3. 15..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef enum {
  10. MasterTransfer = 90001,
  11. ReOrder,
  12. AddMember,
  13. Add,
  14. Del,
  15. Refresh
  16. } MoreBtnType;
  17. @interface MoreBtnModel : NSObject
  18. @property (copy, nonatomic) UIImage *imgNormal;
  19. @property (copy, nonatomic) UIImage *imgHighlight;
  20. @property (copy, nonatomic) UIImage *imgDisabled;
  21. @property (assign, nonatomic) BOOL enable;
  22. @property (assign, nonatomic) MoreBtnType btnType;
  23. -(id)init;
  24. -(id)initWithTyep:(MoreBtnType)type isEnable:(BOOL)isEnabel;
  25. -(void)setBtnType:(MoreBtnType)type isEnable:(BOOL)isEnabel;
  26. //-(void)setBtnImage:(UIControlState)state imgName:(NSString *)name;
  27. - (UIImage *)getBtnImg:(UIControlState)state;
  28. - (BOOL)isEnable;
  29. @end