00001
00002
00003
00004
00005
00006
00007 #import "UIView.h"
00008
00009 @class ABCardNameControl, ABPersonImageView, NSArray, NSMutableArray, NSMutableDictionary, NSString, UIPreferencesTableCell;
00010
00011 @interface ABCardItemEditorLayer : UIView
00012 {
00013 int _property;
00014 NSArray *_fieldEditableKeys;
00015 NSMutableDictionary *_entryFields;
00016 UIPreferencesTableCell *_labelPicker;
00017 NSString *_label;
00018 NSArray *_knownLabels;
00019 ABPersonImageView *_personImageView;
00020 ABCardNameControl *_personNameView;
00021 NSMutableArray *_bubbles;
00022 struct {
00023 unsigned int valueIsEditable:1;
00024 unsigned int useFullHeight:1;
00025 unsigned int reallyNeedsLayout:1;
00026 unsigned int hasTextBefore:1;
00027 unsigned int unused:28;
00028 } _itemEditorLayerFlags;
00029 id _delegate;
00030 UIPreferencesTableCell *_countryCodeButton;
00031 NSString *_countryCode;
00032 NSString *_localizedCountryName;
00033 id _previousValue;
00034 id _currentValue;
00035 int _groupingOutline;
00036 }
00037
00038 + (struct CGSize)defaultSizeForProperty:(int)fp8 displayingPerson:(BOOL)fp12;
00039 + (id)formattedFieldEditableKeysForPropertyByLine:(int)fp8 forCountryCode:(id)fp12;
00040 - (id)initWithProperty:(int)fp8 value:(id)fp12 selectedLabel:(id)fp16 labels:(id)fp20 valueEditable:(BOOL)fp24 displayedPerson:(struct CPRecord *)fp28 showCardHeader:(BOOL)fp32;
00041 - (void)dealloc;
00042 - (void)setFrame:(struct CGRect)fp8;
00043 - (BOOL)useFullHeight;
00044 - (void)setUseFullHeight:(BOOL)fp8;
00045 - (void)setGroupingOutline:(int)fp8;
00046 - (void)fieldEndedEditing:(id)fp8;
00047 - (CDAnonymousStruct3)suggestionsForString:(id)fp8 inputIndex:(unsigned int)fp12;
00048 - (id)keyboardInputOverlayContainer:(id)fp8;
00049 - (BOOL)endEditing:(BOOL)fp8;
00050 - (id)entryFieldForKey:(id)fp8 localizedPlaceholder:(id)fp12 stringValue:(id)fp16 keyboardSettings:(id)fp20 useLargeFont:(BOOL)fp24 multiLine:(BOOL)fp28;
00051 - (void)setSelectedLabel:(id)fp8;
00052 - (id)createBubbleWithFrame:(struct CGRect)fp8 action:(SEL)fp24;
00053 - (id)bubbleAtIndex:(unsigned int)fp8 withFrame:(struct CGRect)fp12 action:(SEL)fp28;
00054 - (id)labelPickerWithSelectedLabel:(id)fp8;
00055 - (void)setLocalizedCountryName:(id)fp8;
00056 - (id)copyLocalizedCountryNameForCountryCode:(id)fp8;
00057 - (void)_updateCountryCodeButtonText;
00058 - (void)countryCodeButtonClicked:(id)fp8;
00059 - (void)labelPickerDisclosureButtonClicked:(id)fp8;
00060 - (id)countryCodeValueButton;
00061 - (void)setupAddressEntryFieldWithKey:(id)fp8 lineItemInfo:(id)fp12 value:(id)fp16 origin:(struct CGPoint *)fp20 itemSpace:(float)fp24 container:(id)fp28;
00062 - (void)setupAddressSublayersWithValue:(id)fp8 selectedLabel:(id)fp12 origin:(struct CGPoint *)fp16;
00063 - (void)setupInstantMessageSublayersWithValue:(id)fp8 selectedLabel:(id)fp12 origin:(struct CGPoint *)fp16;
00064 - (void)setupMultiLineStringPropertySublayersWithValue:(id)fp8 selectedLabel:(id)fp12 origin:(struct CGPoint *)fp16;
00065 - (void)setupStringPropertySublayersWithValue:(id)fp8 selectedLabel:(id)fp12 origin:(struct CGPoint *)fp16;
00066 - (void)setupDateTimePropertySublayersWithValue:(id)fp8 selectedLabel:(id)fp12 origin:(struct CGPoint *)fp16;
00067 - (void)setupSublayersWithValue:(id)fp8 selectedLabel:(id)fp12 createUI:(BOOL)fp16;
00068 - (void)refreshUIWithChangedCountryCode:(id)fp8;
00069 - (void)refreshUIWithChangedValue:(id)fp8 forProperty:(id)fp12;
00070 - (void)refreshUI;
00071 - (int)editorInputType;
00072 - (void)setNeedsLayout;
00073 - (void)layoutSubviews;
00074 - (void)refreshUIWithChangedLabel:(id)fp8;
00075 - (id)value;
00076 - (BOOL)atleastOneFieldHasData;
00077 - (BOOL)allFieldsHaveData;
00078 - (id)selectedLabel;
00079 - (unsigned int)becomeFirstResponder;
00080 - (void)setDelegate:(id)fp8;
00081 - (void)notifyDelegateEditorHasText:(id)fp8;
00082 - (BOOL)textView:(id)fp8 shouldInsertText:(id)fp12;
00083 - (void)_textValueChanged:(id)fp8;
00084 - (void)datePickerChanged:(id)fp8;
00085
00086 @end
00087