コード例 #1
0
 /** @since Available in iOS 4.0 and later. */
 public String getDefaultFontName() {
   if (has(Keys.DefaultFontName())) {
     CFString val = get(Keys.DefaultFontName(), CFString.class);
     return val.toString();
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setDefaultFontName(String defaultFontName) {
   set(Keys.DefaultFontName(), new CFString(defaultFontName));
   return this;
 }