public class UITabBarItem extends UIBarItem implements UISpringLoadedInteractionSupporting
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
UITabBarItem(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
UITabBarItem |
_appearance()
To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.
|
UITabBarItem |
_appearanceForTraitCollection(UITraitCollection trait) |
UITabBarItem |
_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UITabBarItem |
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
UITabBarItem |
_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UITabBarItem |
_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
accessInstanceVariablesDirectly() |
static UITabBarItem |
alloc() |
static UITabBarItem |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static UITabBarItem |
appearance() |
static UITabBarItem |
appearanceForTraitCollection(UITraitCollection trait) |
static UITabBarItem |
appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UITabBarItem |
appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
static UITabBarItem |
appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UITabBarItem |
appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
UIColor |
badgeColor()
If this item displays a badge, this color will be used for the badge's background.
|
NSDictionary<java.lang.String,?> |
badgeTextAttributesForState(long state)
Returns attributes previously set via -setBadgeTextAttributes:forState:.
|
java.lang.String |
badgeValue()
default is nil
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
UIImage |
finishedSelectedImage()
Deprecated.
|
UIImage |
finishedUnselectedImage()
Deprecated.
|
static long |
hash_static() |
UITabBarItem |
init() |
UITabBarItem |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UITabBarItem |
initWithTabBarSystemItemTag(long systemItem,
long tag) |
UITabBarItem |
initWithTitleImageSelectedImage(java.lang.String title,
UIImage image,
UIImage selectedImage) |
UITabBarItem |
initWithTitleImageTag(java.lang.String title,
UIImage image,
long tag)
The unselected image is autogenerated from the image argument.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isSpringLoaded() |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UITabBarItem |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
UITabBarAppearance |
scrollEdgeAppearance()
When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance.
|
UIImage |
selectedImage() |
void |
setBadgeColor(UIColor value)
If this item displays a badge, this color will be used for the badge's background.
|
void |
setBadgeTextAttributesForState(NSDictionary<java.lang.String,?> textAttributes,
long state)
Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted).
|
void |
setBadgeValue(java.lang.String value)
default is nil
|
void |
setFinishedSelectedImageWithFinishedUnselectedImage(UIImage selectedImage,
UIImage unselectedImage)
Deprecated.
|
void |
setScrollEdgeAppearance(UITabBarAppearance value)
When set and this item is selected, overrides the hosting tab bar's scrollEdgeAppearance.
|
void |
setSelectedImage(UIImage value) |
void |
setSpringLoaded(boolean value) |
void |
setStandardAppearance(UITabBarAppearance value)
When set and this item is selected, overrides the hosting tab bar's standardAppearance.
|
void |
setTitlePositionAdjustment(UIOffset value)
To set item label text attributes use the appearance selectors available on the superclass, UIBarItem.
|
static void |
setVersion_static(long aVersion) |
UITabBarAppearance |
standardAppearance()
When set and this item is selected, overrides the hosting tab bar's standardAppearance.
|
static org.moe.natj.objc.Class |
superclass_static() |
UIOffset |
titlePositionAdjustment()
To set item label text attributes use the appearance selectors available on the superclass, UIBarItem.
|
static long |
version_static() |
accessibilityIdentifier, encodeWithCoder, image, imageInsets, isEnabled, landscapeImagePhone, landscapeImagePhoneInsets, largeContentSizeImage, largeContentSizeImageInsets, setAccessibilityIdentifier, setEnabled, setImage, setImageInsets, setLandscapeImagePhone, setLandscapeImagePhoneInsets, setLargeContentSizeImage, setLargeContentSizeImageInsets, setTag, setTitle, setTitleTextAttributesForState, tag, title, titleTextAttributesForStateaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static UITabBarItem alloc()
public static UITabBarItem allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static UITabBarItem appearance()
public static UITabBarItem appearanceForTraitCollection(UITraitCollection trait)
@Deprecated public static UITabBarItem appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UITabBarItem appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
@Deprecated public static UITabBarItem appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UITabBarItem appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UITabBarItem new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public UITabBarItem _appearance()
UIAppearanceNote for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.
_appearance in interface UIAppearance_appearance in class UIBarItempublic UITabBarItem _appearanceForTraitCollection(UITraitCollection trait)
_appearanceForTraitCollection in interface UIAppearance_appearanceForTraitCollection in class UIBarItem@Deprecated public UITabBarItem _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
_appearanceForTraitCollectionWhenContainedIn in interface UIAppearance_appearanceForTraitCollectionWhenContainedIn in class UIBarItempublic UITabBarItem _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in class UIBarItem@Deprecated public UITabBarItem _appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
UIAppearance[[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor];
In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker.
In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down.
_appearanceWhenContainedIn in interface UIAppearance_appearanceWhenContainedIn in class UIBarItempublic UITabBarItem _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
_appearanceWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceWhenContainedInInstancesOfClasses in class UIBarItempublic UIColor badgeColor()
public NSDictionary<java.lang.String,?> badgeTextAttributesForState(long state)
public java.lang.String badgeValue()
@Deprecated public UIImage finishedSelectedImage()
@Deprecated public UIImage finishedUnselectedImage()
public UITabBarItem init()
public UITabBarItem initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIBarItempublic UITabBarItem initWithTabBarSystemItemTag(long systemItem, long tag)
public UITabBarItem initWithTitleImageSelectedImage(java.lang.String title, UIImage image, UIImage selectedImage)
public UITabBarItem initWithTitleImageTag(java.lang.String title, UIImage image, long tag)
public UIImage selectedImage()
public void setBadgeColor(UIColor value)
public void setBadgeTextAttributesForState(NSDictionary<java.lang.String,?> textAttributes, long state)
public void setBadgeValue(java.lang.String value)
@Deprecated public void setFinishedSelectedImageWithFinishedUnselectedImage(UIImage selectedImage, UIImage unselectedImage)
public void setSelectedImage(UIImage value)
public void setTitlePositionAdjustment(UIOffset value)
Use the following to tweak the relative position of the label within the tab button (for handling visual centering corrections if needed because of custom text attributes)
public UIOffset titlePositionAdjustment()
Use the following to tweak the relative position of the label within the tab button (for handling visual centering corrections if needed because of custom text attributes)
public boolean isSpringLoaded()
isSpringLoaded in interface UISpringLoadedInteractionSupportingpublic void setSpringLoaded(boolean value)
setSpringLoaded in interface UISpringLoadedInteractionSupportingpublic void setStandardAppearance(UITabBarAppearance value)
public UITabBarAppearance standardAppearance()
public UITabBarAppearance scrollEdgeAppearance()
public void setScrollEdgeAppearance(UITabBarAppearance value)