public class UIControl extends UIView implements UIContextMenuInteractionDelegate
| Modifier and Type | Class and Description |
|---|---|
static interface |
UIControl.Block_enumerateEventHandlers |
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UIControl(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
UIControl |
_appearance()
To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.
|
UIControl |
_appearanceForTraitCollection(UITraitCollection trait) |
UIControl |
_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UIControl |
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
UIControl |
_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
UIControl |
_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
accessInstanceVariablesDirectly() |
NSArray<java.lang.String> |
actionsForTargetForControlEvent(java.lang.Object target,
long controlEvent)
single event.
|
void |
addActionForControlEvents(UIAction action,
long controlEvents)
Adds the UIAction to a given event.
|
static void |
addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations) |
<T> void |
addTargetActionForControlEvents(ITargetAction<T> targetAction,
long controlEvents)
Abstract:
|
void |
addTargetActionForControlEvents(java.lang.Object target,
org.moe.natj.objc.SEL action,
long controlEvents)
add target/action for particular event.
|
long |
allControlEvents()
list of all events that have at least one action
|
static UIControl |
alloc() |
static UIControl |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSSet<?> |
allTargets()
set may include NSNull to indicate at least one nil target
|
static void |
animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion) |
static void |
animateWithDurationAnimations(double duration,
UIView.Block_animateWithDurationAnimations animations) |
static void |
animateWithDurationAnimationsCompletion(double duration,
UIView.Block_animateWithDurationAnimationsCompletion_1 animations,
UIView.Block_animateWithDurationAnimationsCompletion_2 completion) |
static void |
animateWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion) |
static void |
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration,
double delay,
double dampingRatio,
double velocity,
long options,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion) |
static UIControl |
appearance() |
static UIControl |
appearanceForTraitCollection(UITraitCollection trait) |
static UIControl |
appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait,
UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UIControl |
appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait,
NSArray<?> containerTypes) |
static UIControl |
appearanceWhenContainedIn(UIAppearanceContainer ContainerClass,
java.lang.Object... varargs)
Deprecated.
|
static UIControl |
appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes) |
static boolean |
areAnimationsEnabled() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context) |
boolean |
beginTrackingWithTouchWithEvent(UITouch touch,
UIEvent event) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
void |
cancelTrackingWithEvent(UIEvent event)
event may be nil if cancelled for non-event reasons, e.g.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
static void |
commitAnimations() |
long |
contentHorizontalAlignment()
how to position content horizontally inside control.
|
long |
contentVerticalAlignment()
how to position content vertically inside control.
|
UIContextMenuInteraction |
contextMenuInteraction()
Returns a UIContextMenuInteraction with this control set as its delegate.
|
UIContextMenuConfiguration |
contextMenuInteractionConfigurationForMenuAtLocation(UIContextMenuInteraction interaction,
CGPoint location)
Called when the interaction begins.
|
UITargetedPreview |
contextMenuInteractionPreviewForDismissingMenuWithConfiguration(UIContextMenuInteraction interaction,
UIContextMenuConfiguration configuration)
Called when the interaction is about to dismiss.
|
UITargetedPreview |
contextMenuInteractionPreviewForHighlightingMenuWithConfiguration(UIContextMenuInteraction interaction,
UIContextMenuConfiguration configuration)
Called when the interaction begins.
|
void |
contextMenuInteractionWillDisplayMenuForConfigurationAnimator(UIContextMenuInteraction interaction,
UIContextMenuConfiguration configuration,
UIContextMenuInteractionAnimating animator)
Called when the interaction is about to display a menu.
|
void |
contextMenuInteractionWillEndForConfigurationAnimator(UIContextMenuInteraction interaction,
UIContextMenuConfiguration configuration,
UIContextMenuInteractionAnimating animator)
Called when the interaction is about to end.
|
void |
contextMenuInteractionWillPerformPreviewActionForMenuWithConfigurationAnimator(UIContextMenuInteraction interaction,
UIContextMenuConfiguration configuration,
UIContextMenuInteractionCommitAnimating animator)
Called when the interaction is about to "commit" in response to the user tapping the preview.
|
boolean |
continueTrackingWithTouchWithEvent(UITouch touch,
UIEvent event) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
long |
effectiveContentHorizontalAlignment()
how to position content horizontally inside control, guaranteed to return 'left' or 'right' for any 'leading' or 'trailing'
|
void |
endTrackingWithTouchWithEvent(UITouch touch,
UIEvent event)
touch is sometimes nil if cancelTracking calls through to this.
|
void |
enumerateEventHandlers(UIControl.Block_enumerateEventHandlers iterator)
Iterate over the event handlers installed on this control at the time this method is called.
|
static long |
hash_static() |
static double |
inheritedAnimationDuration() |
UIControl |
init() |
UIControl |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
UIControl |
initWithFrame(CGRect frame) |
UIControl |
initWithFramePrimaryAction(CGRect frame,
UIAction primaryAction)
Initializes the control and adds primaryAction for the UIControlEventPrimaryActionTriggered control event.
|
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 |
isContextMenuInteractionEnabled()
Specifies if the context menu interaction is enabled.
|
boolean |
isEnabled()
default is YES.
|
boolean |
isHighlighted()
default is NO.
|
boolean |
isSelected()
default is NO may be used by some subclasses or by application
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isTouchInside()
valid during tracking only
|
boolean |
isTracking() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static org.moe.natj.objc.Class |
layerClass() |
CGPoint |
menuAttachmentPointForConfiguration(UIContextMenuConfiguration configuration)
Return a point in this control's coordinate space to which to attach the given configuration's menu.
|
static void |
modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations) |
static UIControl |
new_objc() |
static void |
performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation,
NSArray<? extends UIView> views,
long options,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion) |
static void |
performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation) |
void |
removeActionForControlEvents(UIAction action,
long controlEvents)
Removes the action from the set of passed control events.
|
void |
removeActionForIdentifierForControlEvents(java.lang.String actionIdentifier,
long controlEvents)
Removes the action with the provided identifier from the set of passed control events.
|
void |
removeTargetActionForControlEvents(ITargetAction<?> targetAction,
long controlEvents)
Abstract:
|
void |
removeTargetActionForControlEvents(java.lang.Object target,
org.moe.natj.objc.SEL action,
long controlEvents)
remove the target/action for a set of events.
|
static boolean |
requiresConstraintBasedLayout() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
sendAction(UIAction action)
Like -sendAction:to:forEvent:, this method is called by -sendActionsForControlEvents:.
|
void |
sendActionsForControlEvents(long controlEvents)
send all actions associated with the given control events
|
void |
sendActionToForEvent(org.moe.natj.objc.SEL action,
java.lang.Object target,
UIEvent event)
Dispatch the target-action pair.
|
static void |
setAnimationBeginsFromCurrentState(boolean fromCurrentState) |
static void |
setAnimationCurve(long curve) |
static void |
setAnimationDelay(double delay) |
static void |
setAnimationDelegate(java.lang.Object delegate) |
static void |
setAnimationDidStopSelector(org.moe.natj.objc.SEL selector) |
static void |
setAnimationDuration_static(double duration) |
static void |
setAnimationRepeatAutoreverses(boolean repeatAutoreverses) |
static void |
setAnimationRepeatCount_static(float repeatCount) |
static void |
setAnimationsEnabled(boolean enabled) |
static void |
setAnimationStartDate(NSDate startDate) |
static void |
setAnimationTransitionForViewCache(long transition,
UIView view,
boolean cache) |
static void |
setAnimationWillStartSelector(org.moe.natj.objc.SEL selector) |
void |
setContentHorizontalAlignment(long value)
how to position content horizontally inside control.
|
void |
setContentVerticalAlignment(long value)
how to position content vertically inside control.
|
void |
setContextMenuInteractionEnabled(boolean value)
Specifies if the context menu interaction is enabled.
|
void |
setEnabled(boolean value)
default is YES.
|
void |
setHighlighted(boolean value)
default is NO.
|
void |
setSelected(boolean value)
default is NO may be used by some subclasses or by application
|
void |
setShowsMenuAsPrimaryAction(boolean value)
If the contextMenuInteraction is the primary action of the control, invoked on touch-down.
|
void |
setToolTip(java.lang.String value)
Assigning a value to this property causes the tool tip to be displayed for the view.
|
static void |
setVersion_static(long aVersion) |
boolean |
showsMenuAsPrimaryAction()
If the contextMenuInteraction is the primary action of the control, invoked on touch-down.
|
long |
state()
could be more than one state (e.g.
|
static org.moe.natj.objc.Class |
superclass_static() |
java.lang.String |
toolTip()
Assigning a value to this property causes the tool tip to be displayed for the view.
|
UIToolTipInteraction |
toolTipInteraction()
Returns the control's default UIToolTipInteraction.
|
static void |
transitionFromViewToViewDurationOptionsCompletion(UIView fromView,
UIView toView,
double duration,
long options,
UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion) |
static void |
transitionWithViewDurationOptionsAnimationsCompletion(UIView view,
double duration,
long options,
UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations,
UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute) |
static long |
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection) |
static long |
version_static() |
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, appliedContentSizeCategoryLimitsDescription, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, coordinateSpace, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, encodeWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, focusItemsInRect, frame, frameForAlignmentRect, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isTransparentFocusItem, isUserInteractionEnabled, keyboardLayoutGuide, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, maximumContentSizeCategory, minimumContentSizeCategory, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, windowactivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, 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 void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime,
double frameDuration,
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
public static UIControl alloc()
public static UIControl allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
public static void animateWithDurationAnimations(double duration,
UIView.Block_animateWithDurationAnimations animations)
public static void animateWithDurationAnimationsCompletion(double duration,
UIView.Block_animateWithDurationAnimationsCompletion_1 animations,
UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration,
double delay,
double dampingRatio,
double velocity,
long options,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations,
UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
public static UIControl appearance()
public static UIControl appearanceForTraitCollection(UITraitCollection trait)
@Deprecated public static UIControl appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UIControl appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
@Deprecated public static UIControl appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
public static UIControl appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
public static boolean areAnimationsEnabled()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void beginAnimationsContext(java.lang.String animationID,
org.moe.natj.general.ptr.VoidPtr context)
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 void clearTextInputContextIdentifier(java.lang.String identifier)
public static void commitAnimations()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static double inheritedAnimationDuration()
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 org.moe.natj.objc.Class layerClass()
public static UIControl new_objc()
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation,
NSArray<? extends UIView> views,
long options,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations,
UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
public static void performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)
public static boolean requiresConstraintBasedLayout()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
public static void setAnimationCurve(long curve)
public static void setAnimationDelay(double delay)
public static void setAnimationDelegate(java.lang.Object delegate)
public static void setAnimationDidStopSelector(org.moe.natj.objc.SEL selector)
public static void setAnimationDuration_static(double duration)
public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
public static void setAnimationRepeatCount_static(float repeatCount)
public static void setAnimationStartDate(NSDate startDate)
public static void setAnimationTransitionForViewCache(long transition,
UIView view,
boolean cache)
public static void setAnimationWillStartSelector(org.moe.natj.objc.SEL selector)
public static void setAnimationsEnabled(boolean enabled)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static void transitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
public static void transitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute,
long layoutDirection)
public static long version_static()
public NSArray<java.lang.String> actionsForTargetForControlEvent(java.lang.Object target, long controlEvent)
public void addTargetActionForControlEvents(java.lang.Object target,
org.moe.natj.objc.SEL action,
long controlEvents)
public long allControlEvents()
public NSSet<?> allTargets()
public UIControl _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 UIViewpublic UIControl _appearanceForTraitCollection(UITraitCollection trait)
_appearanceForTraitCollection in interface UIAppearance_appearanceForTraitCollection in class UIView@Deprecated public UIControl _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
_appearanceForTraitCollectionWhenContainedIn in interface UIAppearance_appearanceForTraitCollectionWhenContainedIn in class UIViewpublic UIControl _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceForTraitCollectionWhenContainedInInstancesOfClasses in class UIView@Deprecated public UIControl _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 UIViewpublic UIControl _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
_appearanceWhenContainedInInstancesOfClasses in interface UIAppearance_appearanceWhenContainedInInstancesOfClasses in class UIViewpublic boolean beginTrackingWithTouchWithEvent(UITouch touch, UIEvent event)
public void cancelTrackingWithEvent(UIEvent event)
public long contentHorizontalAlignment()
public long contentVerticalAlignment()
public boolean continueTrackingWithTouchWithEvent(UITouch touch, UIEvent event)
public void endTrackingWithTouchWithEvent(UITouch touch, UIEvent event)
public UIControl initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class UIViewpublic UIControl initWithFrame(CGRect frame)
initWithFrame in class UIViewpublic boolean isEnabled()
public void setEnabled(boolean value)
public boolean isHighlighted()
public void setHighlighted(boolean value)
public boolean isSelected()
public void setSelected(boolean value)
public boolean isTouchInside()
public boolean isTracking()
public void removeTargetActionForControlEvents(java.lang.Object target,
org.moe.natj.objc.SEL action,
long controlEvents)
public void sendActionToForEvent(org.moe.natj.objc.SEL action,
java.lang.Object target,
UIEvent event)
public void sendActionsForControlEvents(long controlEvents)
public void setContentHorizontalAlignment(long value)
public void setContentVerticalAlignment(long value)
public long state()
public <T> void addTargetActionForControlEvents(ITargetAction<T> targetAction, long controlEvents)
Adds a action for a particular event (or events) to an internal dispatch table.
targetAction - The targetAction object—that is, the object to which the action message is sent.
controlEvents - A bitmask specifying the control events for which the action message is sent. See “Control Events” for bitmask constants.
ITargetActionpublic void removeTargetActionForControlEvents(ITargetAction<?> targetAction, long controlEvents)
Removes a targetAction for a particular event (or events) from an internal dispatch table.
targetAction - The targetAction object—that is, the object to which the action message is sent.
controlEvents - A bitmask specifying the control events associated with target and action. See “Control Events” for bitmask constants.
ITargetActionpublic long effectiveContentHorizontalAlignment()
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count,
boolean autoreverses,
UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
public void addActionForControlEvents(UIAction action, long controlEvents)
public UIContextMenuInteraction contextMenuInteraction()
public UIContextMenuConfiguration contextMenuInteractionConfigurationForMenuAtLocation(UIContextMenuInteraction interaction, CGPoint location)
UIContextMenuInteractionDelegatecontextMenuInteractionConfigurationForMenuAtLocation in interface UIContextMenuInteractionDelegateinteraction - The UIContextMenuInteraction.location - The location of the interaction in its view.public UITargetedPreview contextMenuInteractionPreviewForDismissingMenuWithConfiguration(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration)
UIContextMenuInteractionDelegatecontextMenuInteractionPreviewForDismissingMenuWithConfiguration in interface UIContextMenuInteractionDelegateinteraction - The UIContextMenuInteraction requesting a dismissal preview.configuration - The configuration of the menu displayed by this interaction.public UITargetedPreview contextMenuInteractionPreviewForHighlightingMenuWithConfiguration(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration)
UIContextMenuInteractionDelegatecontextMenuInteractionPreviewForHighlightingMenuWithConfiguration in interface UIContextMenuInteractionDelegateinteraction - The UIContextMenuInteraction requesting a highlighting preview.configuration - The configuration of the menu about to be displayed by this interaction.public void contextMenuInteractionWillDisplayMenuForConfigurationAnimator(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
UIContextMenuInteractionDelegatecontextMenuInteractionWillDisplayMenuForConfigurationAnimator in interface UIContextMenuInteractionDelegateinteraction - The UIContextMenuInteraction.configuration - The configuration of the menu about to be displayed by this interaction.animator - Appearance animator. Add animations to run them alongside the appearance transition.public void contextMenuInteractionWillEndForConfigurationAnimator(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)
UIContextMenuInteractionDelegatecontextMenuInteractionWillEndForConfigurationAnimator in interface UIContextMenuInteractionDelegateinteraction - The UIContextMenuInteraction.configuration - Ending configuration.animator - Disappearance animator. Add animations to run them alongside the disappearance transition.public void contextMenuInteractionWillPerformPreviewActionForMenuWithConfigurationAnimator(UIContextMenuInteraction interaction, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)
UIContextMenuInteractionDelegatecontextMenuInteractionWillPerformPreviewActionForMenuWithConfigurationAnimator in interface UIContextMenuInteractionDelegateinteraction - The UIContextMenuInteraction.configuration - Configuration of the currently displayed menu.animator - Commit animator. Add animations to this object to run them alongside the commit transition.public void enumerateEventHandlers(UIControl.Block_enumerateEventHandlers iterator)
public UIControl initWithFramePrimaryAction(CGRect frame, UIAction primaryAction)
public boolean isContextMenuInteractionEnabled()
public CGPoint menuAttachmentPointForConfiguration(UIContextMenuConfiguration configuration)
public void removeActionForControlEvents(UIAction action, long controlEvents)
public void removeActionForIdentifierForControlEvents(java.lang.String actionIdentifier,
long controlEvents)
public void sendAction(UIAction action)
public void setContextMenuInteractionEnabled(boolean value)
public void setShowsMenuAsPrimaryAction(boolean value)
public boolean showsMenuAsPrimaryAction()
public void setToolTip(java.lang.String value)
public java.lang.String toolTip()
public UIToolTipInteraction toolTipInteraction()