public class UIAttachmentBehavior extends UIDynamicBehavior
UIDynamicBehavior.Block_action_ret, UIDynamicBehavior.Block_setActionNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
UIAttachmentBehavior(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static UIAttachmentBehavior |
alloc() |
static UIAttachmentBehavior |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
CGPoint |
anchorPoint() |
long |
attachedBehaviorType() |
UIFloatRange |
attachmentRange()
default is UIFloatRangeInfinite
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
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() |
double |
damping()
1: critical damping
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static UIAttachmentBehavior |
fixedAttachmentWithItemAttachedToItemAttachmentAnchor(UIDynamicItem item1,
UIDynamicItem item2,
CGPoint point)
A fixed attachment fuses two dynamic items together at a reference point.
|
double |
frequency()
in Hertz
|
double |
frictionTorque()
default is 0.0
|
static long |
hash_static() |
UIAttachmentBehavior |
init() |
UIAttachmentBehavior |
initWithItemAttachedToAnchor(UIDynamicItem item,
CGPoint point) |
UIAttachmentBehavior |
initWithItemAttachedToItem(UIDynamicItem item1,
UIDynamicItem item2) |
UIAttachmentBehavior |
initWithItemOffsetFromCenterAttachedToAnchor(UIDynamicItem item,
UIOffset offset,
CGPoint point) |
UIAttachmentBehavior |
initWithItemOffsetFromCenterAttachedToItemOffsetFromCenter(UIDynamicItem item1,
UIOffset offset1,
UIDynamicItem item2,
UIOffset offset2) |
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) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
NSArray<?> |
items() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
double |
length() |
static UIAttachmentBehavior |
limitAttachmentWithItemOffsetFromCenterAttachedToItemOffsetFromCenter(UIDynamicItem item1,
UIOffset offset1,
UIDynamicItem item2,
UIOffset offset2)
A limit attachment imposes a maximum distance between two dynamic items, as if they were connected by a rope.
|
static UIAttachmentBehavior |
new_objc() |
static UIAttachmentBehavior |
pinAttachmentWithItemAttachedToItemAttachmentAnchor(UIDynamicItem item1,
UIDynamicItem item2,
CGPoint point)
A pin attachment allows two dynamic items to independently rotate around the anchor point as if pinned together.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAnchorPoint(CGPoint value) |
void |
setAttachmentRange(UIFloatRange value)
default is UIFloatRangeInfinite
|
void |
setDamping(double value)
1: critical damping
|
void |
setFrequency(double value)
in Hertz
|
void |
setFrictionTorque(double value)
default is 0.0
|
void |
setLength(double value) |
static void |
setVersion_static(long aVersion) |
static UIAttachmentBehavior |
slidingAttachmentWithItemAttachedToItemAttachmentAnchorAxisOfTranslation(UIDynamicItem item1,
UIDynamicItem item2,
CGPoint point,
CGVector axis)
A sliding attachment allows for relative translation of two items along a specified axis with respect to the anchor point.
|
static UIAttachmentBehavior |
slidingAttachmentWithItemAttachmentAnchorAxisOfTranslation(UIDynamicItem item,
CGPoint point,
CGVector axis)
A sliding attachment allows for translation of the item along a specified axis with respect to the anchor point.
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
action, addChildBehavior, childBehaviors, dynamicAnimator, removeChildBehavior, setAction, willMoveToAnimatoraccessibilityActivate, 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, willChangeValuesAtIndexesForKeyprotected UIAttachmentBehavior(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UIAttachmentBehavior alloc()
public static UIAttachmentBehavior allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
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 UIAttachmentBehavior fixedAttachmentWithItemAttachedToItemAttachmentAnchor(UIDynamicItem item1, UIDynamicItem item2, CGPoint point)
item1 - The first of two dynamic items connected by the attachment behavior.item2 - The second of two dynamic items connected by the attachment behavior.point - The point for which each item will be attached. The anchor point will be converted to each items local coordinate system.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 UIAttachmentBehavior limitAttachmentWithItemOffsetFromCenterAttachedToItemOffsetFromCenter(UIDynamicItem item1, UIOffset offset1, UIDynamicItem item2, UIOffset offset2)
item1 - The first of two dynamic items connected by the attachment behavior.offset1 - The point, within the dynamic item and described as an offset from its center point, for the attachment behavior.item2 - The second of two dynamic items connected by the attachment behavior.offset2 - The point, within the dynamic item and described as an offset from its center point, for the attachment behavior.lengthpublic static UIAttachmentBehavior new_objc()
public static UIAttachmentBehavior pinAttachmentWithItemAttachedToItemAttachmentAnchor(UIDynamicItem item1, UIDynamicItem item2, CGPoint point)
item1 - The first of two dynamic items connected by the attachment behavior.item2 - The second of two dynamic items connected by the attachment behavior.point - The point for which each item will be attached. The anchor point will be converted to each items local coordinate systemfrictionTorque, resistance to rotationpublic 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 UIAttachmentBehavior slidingAttachmentWithItemAttachedToItemAttachmentAnchorAxisOfTranslation(UIDynamicItem item1, UIDynamicItem item2, CGPoint point, CGVector axis)
item1 - The first of two dynamic items connected by the attachment behavior.item2 - The second of two dynamic items connected by the attachment behavior.point - The point for which each item will be attached. The anchor point will be converted to each items local coordinate system.axis - Axis of allowed relative translation between local anchor point. Must be a unit vector.attachmentRange, Represents the slidable range of the attachment with respect to the anchor point along the specified axis, this range must include 0public static UIAttachmentBehavior slidingAttachmentWithItemAttachmentAnchorAxisOfTranslation(UIDynamicItem item, CGPoint point, CGVector axis)
item1 - The dynamic item connected by the attachment behavior.point - The point for the item will be anchored by the attachment.axis - Axis of allowed translation for the item. Must be a unit vector.attachmentRange, Represents the slidable range of the attachment with respect to the anchor point along the specified axis, this range must include 0public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public CGPoint anchorPoint()
public long attachedBehaviorType()
public UIFloatRange attachmentRange()
public double damping()
public double frequency()
public double frictionTorque()
public UIAttachmentBehavior init()
init in class UIDynamicBehaviorpublic UIAttachmentBehavior initWithItemAttachedToAnchor(UIDynamicItem item, CGPoint point)
public UIAttachmentBehavior initWithItemAttachedToItem(UIDynamicItem item1, UIDynamicItem item2)
public UIAttachmentBehavior initWithItemOffsetFromCenterAttachedToAnchor(UIDynamicItem item, UIOffset offset, CGPoint point)
public UIAttachmentBehavior initWithItemOffsetFromCenterAttachedToItemOffsetFromCenter(UIDynamicItem item1, UIOffset offset1, UIDynamicItem item2, UIOffset offset2)
public NSArray<?> items()
public double length()
public void setAnchorPoint(CGPoint value)
public void setAttachmentRange(UIFloatRange value)
public void setDamping(double value)
public void setFrequency(double value)
public void setFrictionTorque(double value)
public void setLength(double value)