Package org.robovm.apple.uikit
Class UITabBarItem
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIBarItem
-
- org.robovm.apple.uikit.UITabBarItem
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,UIAppearanceContainer
,UISpringLoadedInteractionSupporting
,org.robovm.objc.ObjCProtocol
public class UITabBarItem extends UIBarItem implements UISpringLoadedInteractionSupporting
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UITabBarItem.UITabBarItemPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIBarItem
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 UITabBarItem()
UITabBarItem(java.lang.String title, UIImage image, long tag)
UITabBarItem(java.lang.String title, UIImage image, UIImage selectedImage)
UITabBarItem(NSCoder decoder)
protected
UITabBarItem(NSObject.Handle h, long handle)
protected
UITabBarItem(NSObject.SkipInit skipInit)
UITabBarItem(UITabBarSystemItem systemItem, long tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UIColor
getBadgeColor()
NSDictionary<NSString,?>
getBadgeTextAttributes(UIControlState state)
java.lang.String
getBadgeValue()
UIImage
getFinishedSelectedImage()
Deprecated.Deprecated in iOS 7.0.UIImage
getFinishedUnselectedImage()
Deprecated.Deprecated in iOS 7.0.UIImage
getSelectedImage()
UIOffset
getTitlePositionAdjustment()
protected long
init(java.lang.String title, UIImage image, long tag)
protected long
init(java.lang.String title, UIImage image, UIImage selectedImage)
protected long
init(NSCoder decoder)
protected long
init(UITabBarSystemItem systemItem, long tag)
boolean
isSpringLoaded()
void
setBadgeColor(UIColor v)
void
setBadgeTextAttributes(NSDictionary<NSString,?> textAttributes, UIControlState state)
void
setBadgeValue(java.lang.String v)
void
setFinishedImages(UIImage selectedImage, UIImage unselectedImage)
Deprecated.Deprecated in iOS 7.0.void
setSelectedImage(UIImage v)
void
setSpringLoaded(boolean v)
void
setTitlePositionAdjustment(UIOffset v)
-
Methods inherited from class org.robovm.apple.uikit.UIBarItem
encode, getImage, getImageInsets, getLandscapeImagePhone, getLandscapeImagePhoneInsets, getLargeContentSizeImage, getLargeContentSizeImageInsets, getTag, getTitle, getTitleCoreTextAttributes, getTitleTextAttributes, getTitleTextAttributesDictionary, getTitleTextMarkupAttributes, isEnabled, setEnabled, setImage, setImageInsets, setLandscapeImagePhone, setLandscapeImagePhoneInsets, setLargeContentSizeImage, setLargeContentSizeImageInsets, setTag, setTitle, setTitleCoreTextAttributes, setTitleTextAttributes, setTitleTextAttributesDictionary, setTitleTextMarkupAttributes
-
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
-
UITabBarItem
public UITabBarItem()
-
UITabBarItem
protected UITabBarItem(NSObject.Handle h, long handle)
-
UITabBarItem
protected UITabBarItem(NSObject.SkipInit skipInit)
-
UITabBarItem
public UITabBarItem(NSCoder decoder)
-
UITabBarItem
public UITabBarItem(java.lang.String title, UIImage image, long tag)
-
UITabBarItem
public UITabBarItem(java.lang.String title, UIImage image, UIImage selectedImage)
- Since:
- Available in iOS 7.0 and later.
-
UITabBarItem
public UITabBarItem(UITabBarSystemItem systemItem, long tag)
-
-
Method Detail
-
getSelectedImage
public UIImage getSelectedImage()
- Since:
- Available in iOS 7.0 and later.
-
setSelectedImage
public void setSelectedImage(UIImage v)
- Since:
- Available in iOS 7.0 and later.
-
getBadgeValue
public java.lang.String getBadgeValue()
-
setBadgeValue
public void setBadgeValue(java.lang.String v)
-
getTitlePositionAdjustment
public UIOffset getTitlePositionAdjustment()
- Since:
- Available in iOS 5.0 and later.
-
setTitlePositionAdjustment
public void setTitlePositionAdjustment(UIOffset v)
- Since:
- Available in iOS 5.0 and later.
-
getBadgeColor
public UIColor getBadgeColor()
- Since:
- Available in iOS 10.0 and later.
-
setBadgeColor
public void setBadgeColor(UIColor v)
- Since:
- Available in iOS 10.0 and later.
-
isSpringLoaded
public boolean isSpringLoaded()
- Specified by:
isSpringLoaded
in interfaceUISpringLoadedInteractionSupporting
- Since:
- Available in iOS 11.0 and later.
-
setSpringLoaded
public void setSpringLoaded(boolean v)
- Specified by:
setSpringLoaded
in interfaceUISpringLoadedInteractionSupporting
- Since:
- Available in iOS 11.0 and later.
-
init
protected long init(java.lang.String title, UIImage image, long tag)
-
init
protected long init(java.lang.String title, UIImage image, UIImage selectedImage)
- Since:
- Available in iOS 7.0 and later.
-
init
protected long init(UITabBarSystemItem systemItem, long tag)
-
setFinishedImages
@Deprecated public void setFinishedImages(UIImage selectedImage, UIImage unselectedImage)
Deprecated.Deprecated in iOS 7.0. Use initWithTitle:image:selectedImage: or the image and selectedImage properties along with UIImageRenderingModeAlwaysOriginal- Since:
- Available in iOS 5.0 and later.
-
getFinishedSelectedImage
@Deprecated public UIImage getFinishedSelectedImage()
Deprecated.Deprecated in iOS 7.0.- Since:
- Available in iOS 5.0 and later.
-
getFinishedUnselectedImage
@Deprecated public UIImage getFinishedUnselectedImage()
Deprecated.Deprecated in iOS 7.0.- Since:
- Available in iOS 5.0 and later.
-
setBadgeTextAttributes
public void setBadgeTextAttributes(NSDictionary<NSString,?> textAttributes, UIControlState state)
- Since:
- Available in iOS 10.0 and later.
-
getBadgeTextAttributes
public NSDictionary<NSString,?> getBadgeTextAttributes(UIControlState state)
- Since:
- Available in iOS 10.0 and later.
-
-