UIPushButton Klassenreferenz

#import <UIPushButton.h>

Abgeleitet von UIControl.

Basisklasse für AddContactButton, HUDButton, UISliderButton, UITableCellDisclosureView und UIThreePartButton.

Aufstellung aller Elemente


Öffentliche Methoden

(id) - initWithFrame:
(id) - initWithTitle:
(id) - initWithTitle:autosizesToFit:
(id) - initWithImage:
(void) - dealloc
(unsigned int) - state
(void) - setEnabled:
(BOOL) - isPressed
(void) - setSelected:
(BOOL) - isSelected
(void) - setTitle:
(id) - title
(void) - setTitleFont:
(struct __GSFont *) - titleFont
(void) - setAutosizesToFit:
(BOOL) - autosizesToFit
(void) - sizeToFit
(struct CGPoint- pressFeedbackPosition
(void) - setHighlighted:
(void) - setTitlePadding:
(void) - setDrawsShadow:
(void) - setShadowOffset:
(void) - setReverseShadowDirectionWhenHighlighted:
(void) - setStretchBackground:
(void) - setDrawContentsCentered:
(void) - setShowPressFeedback:
(void) - setImage:forState:
(void) - setTitleColor:forState:
(void) - setShadowColor:forState:
(void) - setBackground:forState:
(void) - setDisabledDimsImage:
(id) - imageForState:
(struct CGColor *) - titleColorForState:
(struct CGColor *) - shadowColorForState:
(id) - backgroundForState:
(id) - currentImage
(struct CGColor *) - currentTitleColor
(struct CGColor *) - currentShadowColor
(id) - currentBackground
(void) - setFrame:
(CDAnonymousStruct10- _backgroundSlices:
(void) - _drawBezelPartInRect:
(void) - drawImageAtPoint:fraction:
(void) - drawTitleAtPoint:width:
(void) - _drawImageAndTextPartInRect:
(void) - drawButtonPart:inRect:
(void) - drawRect:
(void) - setNeedsDisplay

Öffentliche, statische Methoden

(struct __GSFont *) + defaultFont

Geschützte Attribute

NSString_title
struct __GSFont * _font
struct CGSize _shadowOffset
struct CGSize _titlePadding
struct __CFDictionary * _info
struct {
   unsigned int   selected:1
   unsigned int   drawShadow:1
   unsigned int   disableAutosizeToFit:1
   unsigned int   drawContentsCentered:1
   unsigned int   reverseShadowDirectionWhenHighlighted:1
   unsigned int   stretchBackground:1
   unsigned int   showPressFeedback:1
   unsigned int   disabledDimsImage:1
   unsigned int   reserved:24
_pushButtonFlags

Ausführliche Beschreibung

Definiert in Zeile 11 der Datei UIPushButton.h.


Dokumentation der Elementfunktionen

+ (struct __GSFont *) defaultFont  

Implementiert in UIPlacardButton und UIThreePartButton.

- (id) initWithFrame: (struct CGRect fp8  

Implementiert UIView.

Implementiert in UIPlacardButton, UIThreePartButton und UIValueButton.

- (id) initWithTitle: (id)  fp8  

Implementiert in UIValueButton.

- (id) initWithTitle: (id)  fp8
autosizesToFit: (BOOL)  fp12 

- (id) initWithImage: (id)  fp8  

Implementiert in HUDButton.

- (void) dealloc  

- (unsigned int) state  

- (void) setEnabled: (BOOL)  fp8  

Implementiert UIView.

Implementiert in CameraButton und TPCallWaitingButton.

- (BOOL) isPressed  

- (void) setSelected: (BOOL)  fp8  

- (BOOL) isSelected  

- (void) setTitle: (id)  fp8  

Implementiert in UIValueButton.

- (id) title  

- (void) setTitleFont: (struct __GSFont *)  fp8  

- (struct __GSFont *) titleFont  

- (void) setAutosizesToFit: (BOOL)  fp8  

- (BOOL) autosizesToFit  

- (void) sizeToFit  

Implementiert in UIValueButton.

- (struct CGPoint) pressFeedbackPosition  

- (void) setHighlighted: (BOOL)  fp8  

Implementiert UIControl.

Implementiert in _UILabeledPushButton.

- (void) setTitlePadding: (struct CGSize fp8  

- (void) setDrawsShadow: (BOOL)  fp8  

- (void) setShadowOffset: (float)  fp8  

- (void) setReverseShadowDirectionWhenHighlighted: (BOOL)  fp8  

- (void) setStretchBackground: (BOOL)  fp8  

- (void) setDrawContentsCentered: (BOOL)  fp8  

- (void) setShowPressFeedback: (BOOL)  fp8  

- (void) setImage: (id)  fp8
forState: (unsigned int)  fp12 

- (void) setTitleColor: (struct CGColor *)  fp8
forState: (unsigned int)  fp12 

- (void) setShadowColor: (struct CGColor *)  fp8
forState: (unsigned int)  fp12 

- (void) setBackground: (id)  fp8
forState: (unsigned int)  fp12 

- (void) setDisabledDimsImage: (BOOL)  fp8  

- (id) imageForState: (unsigned int)  fp8  

- (struct CGColor *) titleColorForState: (unsigned int)  fp8  

- (struct CGColor *) shadowColorForState: (unsigned int)  fp8  

- (id) backgroundForState: (unsigned int)  fp8  

- (id) currentImage  

- (struct CGColor *) currentTitleColor  

- (struct CGColor *) currentShadowColor  

- (id) currentBackground  

- (void) setFrame: (struct CGRect fp8  

- (CDAnonymousStruct10) _backgroundSlices: (struct CGSize fp8  

Implementiert in UIThreePartButton.

- (void) _drawBezelPartInRect: (struct CGRect fp8  

- (void) drawImageAtPoint: (struct CGPoint fp8
fraction: (float)  fp16 

Implementiert in TPPushButton und UINavBarButton.

- (void) drawTitleAtPoint: (struct CGPoint fp8
width: (float)  fp16 

- (void) _drawImageAndTextPartInRect: (struct CGRect fp8  

- (void) drawButtonPart: (int)  fp8
inRect: (struct CGRect fp12 

Implementiert in TPPushButton, UINavBarButton und UIValueButton.

- (void) drawRect: (struct CGRect fp8  

- (void) setNeedsDisplay  


Dokumentation der Datenelemente

- (NSString*) _title [protected]

Definiert in Zeile 13 der Datei UIPushButton.h.

- (struct __GSFont*) _font [read, protected]

Definiert in Zeile 14 der Datei UIPushButton.h.

- (struct CGSize) _shadowOffset [read, protected]

Definiert in Zeile 15 der Datei UIPushButton.h.

- (struct CGSize) _titlePadding [read, protected]

Definiert in Zeile 16 der Datei UIPushButton.h.

- (struct __CFDictionary*) _info [read, protected]

Definiert in Zeile 17 der Datei UIPushButton.h.

- (unsigned int) selected [protected]

Definiert in Zeile 19 der Datei UIPushButton.h.

- (unsigned int) drawShadow [protected]

Definiert in Zeile 20 der Datei UIPushButton.h.

- (unsigned int) disableAutosizeToFit [protected]

Definiert in Zeile 21 der Datei UIPushButton.h.

- (unsigned int) drawContentsCentered [protected]

Definiert in Zeile 22 der Datei UIPushButton.h.

- (unsigned int) reverseShadowDirectionWhenHighlighted [protected]

Definiert in Zeile 23 der Datei UIPushButton.h.

- (unsigned int) stretchBackground [protected]

Definiert in Zeile 24 der Datei UIPushButton.h.

- (unsigned int) showPressFeedback [protected]

Definiert in Zeile 25 der Datei UIPushButton.h.

- (unsigned int) disabledDimsImage [protected]

Definiert in Zeile 26 der Datei UIPushButton.h.

- (unsigned int) reserved [protected]

Implementiert UIControl.

Definiert in Zeile 27 der Datei UIPushButton.h.

struct { ... } UIPushButton::_pushButtonFlags [protected]


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: