Package org.robovm.apple.uikit
Class UIBarItem
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIBarItem
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,UIAppearanceContainer
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
UIBarButtonItem
,UITabBarItem
public class UIBarItem extends NSObject implements NSCoding, UIAppearanceContainer
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIBarItem.UIBarItemPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UIBarItem()
UIBarItem(NSCoder decoder)
protected
UIBarItem(NSObject.Handle h, long handle)
protected
UIBarItem(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UIBarItem
public UIBarItem()
-
UIBarItem
protected UIBarItem(NSObject.Handle h, long handle)
-
UIBarItem
protected UIBarItem(NSObject.SkipInit skipInit)
-
UIBarItem
public UIBarItem(NSCoder decoder)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean v)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String v)
-
getImage
public UIImage getImage()
-
setImage
public void setImage(UIImage v)
-
getLandscapeImagePhone
public UIImage getLandscapeImagePhone()
- Since:
- Available in iOS 5.0 and later.
-
setLandscapeImagePhone
public void setLandscapeImagePhone(UIImage v)
- Since:
- Available in iOS 5.0 and later.
-
getLargeContentSizeImage
public UIImage getLargeContentSizeImage()
- Since:
- Available in iOS 11.0 and later.
-
setLargeContentSizeImage
public void setLargeContentSizeImage(UIImage v)
- Since:
- Available in iOS 11.0 and later.
-
getImageInsets
public UIEdgeInsets getImageInsets()
-
setImageInsets
public void setImageInsets(UIEdgeInsets v)
-
getLandscapeImagePhoneInsets
public UIEdgeInsets getLandscapeImagePhoneInsets()
- Since:
- Available in iOS 5.0 and later.
-
setLandscapeImagePhoneInsets
public void setLandscapeImagePhoneInsets(UIEdgeInsets v)
- Since:
- Available in iOS 5.0 and later.
-
getLargeContentSizeImageInsets
public UIEdgeInsets getLargeContentSizeImageInsets()
- Since:
- Available in iOS 11.0 and later.
-
setLargeContentSizeImageInsets
public void setLargeContentSizeImageInsets(UIEdgeInsets v)
- Since:
- Available in iOS 11.0 and later.
-
getTag
public long getTag()
-
setTag
public void setTag(long v)
-
setTitleTextAttributes
public void setTitleTextAttributes(NSAttributedStringAttributes attributes, UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
setTitleTextMarkupAttributes
public void setTitleTextMarkupAttributes(CMTextMarkupAttributes attributes, UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
setTitleCoreTextAttributes
public void setTitleCoreTextAttributes(CTAttributedStringAttributes attributes, UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
getTitleTextAttributes
public NSAttributedStringAttributes getTitleTextAttributes(UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
getTitleTextMarkupAttributes
public CMTextMarkupAttributes getTitleTextMarkupAttributes(UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
getTitleCoreTextAttributes
public CTAttributedStringAttributes getTitleCoreTextAttributes(UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
init
protected long init(NSCoder decoder)
-
setTitleTextAttributesDictionary
public void setTitleTextAttributesDictionary(NSDictionary<NSString,?> attributes, UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
getTitleTextAttributesDictionary
public NSDictionary<NSString,?> getTitleTextAttributesDictionary(UIControlState state)
- Since:
- Available in iOS 5.0 and later.
-
-