コード例 #1
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionColor getBackgroundColor() {
   if (has(Keys.BackgroundColor())) {
     CFDictionary val = get(Keys.BackgroundColor(), CFDictionary.class);
     return new CMTextFormatDescriptionColor(val);
   }
   return null;
 }
コード例 #2
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;
 }
コード例 #3
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setBackgroundColor(
     CMTextFormatDescriptionColor backgroundColor) {
   set(Keys.BackgroundColor(), backgroundColor.getDictionary());
   return this;
 }
コード例 #4
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;
 }