コード例 #1
0
 /**
  * @see <a
  *     href="http://developer.apple.com/library/ios/documentation/uikit/reference/UIKit_Framework/../UINavigationItem_Class/Reference/UINavigationItem.html#//apple_ref/occ/instm/UINavigationItem/setRightBarButtonItem:animated:">-
  *     (void)setRightBarButtonItem:(UIBarButtonItem *)item animated:(BOOL)animated</a>
  * @since Available in iOS 2.0 and later.
  */
 public void setRightBarButtonItem(UIBarButtonItem item, boolean animated) {
   if (customClass) {
     objc_setRightBarButtonItemSuper(getSuper(), setRightBarButtonItem$animated$, item, animated);
   } else {
     objc_setRightBarButtonItem(this, setRightBarButtonItem$animated$, item, animated);
   }
 }
コード例 #2
0
 /**
  * @see <a
  *     href="http://developer.apple.com/library/ios/documentation/uikit/reference/UIKit_Framework/../UINavigationItem_Class/Reference/UINavigationItem.html#//apple_ref/occ/instp/UINavigationItem/rightBarButtonItem">@property(nonatomic,
  *     retain) UIBarButtonItem *rightBarButtonItem</a>
  * @since Available in iOS 2.0 and later.
  */
 public void setRightBarButtonItem(UIBarButtonItem rightBarButtonItem) {
   if (customClass) {
     objc_setRightBarButtonItemSuper(getSuper(), setRightBarButtonItem$, rightBarButtonItem);
   } else {
     objc_setRightBarButtonItem(this, setRightBarButtonItem$, rightBarButtonItem);
   }
 }