Exemplo n.º 1
0
 public NSNetServiceErrorCode getErrorCode() {
   if (has(Keys.ErrorCode())) {
     NSNumber val = (NSNumber) get(Keys.ErrorCode());
     return NSNetServiceErrorCode.valueOf(val.longValue());
   }
   return null;
 }
Exemplo n.º 2
0
 public String getErrorDomain() {
   if (has(Keys.ErrorDomain())) {
     NSString val = (NSString) get(Keys.ErrorDomain());
     return val.toString();
   }
   return null;
 }
Exemplo n.º 3
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIFont getFont() {
   if (has(Keys.Font())) {
     UIFont val = (UIFont) get(Keys.Font());
     return val;
   }
   return null;
 }
Exemplo n.º 4
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getTextColor() {
   if (has(Keys.Color())) {
     UIColor val = (UIColor) get(Keys.Color());
     return val;
   }
   return null;
 }
Exemplo n.º 5
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UIColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     UIColor val = (UIColor) get(Keys.BackgroundColor());
     return val;
   }
   return null;
 }
Exemplo n.º 6
0
 public NSNetServiceErrorUserInfo setErrorDomain(String errorDomain) {
   set(Keys.ErrorDomain(), new NSString(errorDomain));
   return this;
 }
Exemplo n.º 7
0
 public NSNetServiceErrorUserInfo setErrorCode(NSNetServiceErrorCode errorCode) {
   set(Keys.ErrorCode(), NSNumber.valueOf(errorCode.value()));
   return this;
 }
Exemplo n.º 8
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setFont(UIFont font) {
   set(Keys.Font(), font);
   return this;
 }
Exemplo n.º 9
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setTextColor(UIColor textColor) {
   set(Keys.Color(), textColor);
   return this;
 }
Exemplo n.º 10
0
 /**
  * @since Available in iOS 3.2 and later.
  * @deprecated Deprecated in iOS 8.0.
  */
 @Deprecated
 public UITextInputTextStyle setBackgroundColor(UIColor backgroundColor) {
   set(Keys.BackgroundColor(), backgroundColor);
   return this;
 }