コード例 #1
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionStyle getDefaultStyle() {
   if (has(Keys.DefaultStyle())) {
     CFDictionary val = get(Keys.DefaultStyle(), CFDictionary.class);
     return new CMTextFormatDescriptionStyle(val);
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setDefaultStyle(
     CMTextFormatDescriptionStyle defaultStyle) {
   set(Keys.DefaultStyle(), defaultStyle.getDictionary());
   return this;
 }