Package org.robovm.apple.uikit
Class UIFocusEnvironmentAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIFocusEnvironmentAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,UIFocusEnvironment
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
UIFocusItemAdapter
public class UIFocusEnvironmentAdapter extends NSObject implements UIFocusEnvironment
-
-
Nested Class Summary
-
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 Constructor Description UIFocusEnvironmentAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
didUpdateFocus(UIFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)
UIFocusItemContainer
getFocusItemContainer()
UIFocusEnvironment
getParentFocusEnvironment()
UIView
getPreferredFocusedView()
Deprecated.Deprecated in iOS 10.0.java.util.List<UIFocusEnvironment>
getPreferredFocusEnvironments()
void
setNeedsFocusUpdate()
boolean
shouldUpdateFocus(UIFocusUpdateContext context)
void
updateFocusIfNeeded()
-
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
-
-
-
-
Method Detail
-
getPreferredFocusEnvironments
public java.util.List<UIFocusEnvironment> getPreferredFocusEnvironments()
- Specified by:
getPreferredFocusEnvironments
in interfaceUIFocusEnvironment
-
getParentFocusEnvironment
public UIFocusEnvironment getParentFocusEnvironment()
- Specified by:
getParentFocusEnvironment
in interfaceUIFocusEnvironment
- Since:
- Available in iOS 12.0 and later.
-
getFocusItemContainer
public UIFocusItemContainer getFocusItemContainer()
- Specified by:
getFocusItemContainer
in interfaceUIFocusEnvironment
- Since:
- Available in iOS 12.0 and later.
-
getPreferredFocusedView
@Deprecated public UIView getPreferredFocusedView()
Deprecated.Deprecated in iOS 10.0. Use -preferredFocusEnvironments instead.- Specified by:
getPreferredFocusedView
in interfaceUIFocusEnvironment
- Since:
- Available in iOS 9.0 and later.
-
setNeedsFocusUpdate
public void setNeedsFocusUpdate()
- Specified by:
setNeedsFocusUpdate
in interfaceUIFocusEnvironment
-
updateFocusIfNeeded
public void updateFocusIfNeeded()
- Specified by:
updateFocusIfNeeded
in interfaceUIFocusEnvironment
-
shouldUpdateFocus
public boolean shouldUpdateFocus(UIFocusUpdateContext context)
- Specified by:
shouldUpdateFocus
in interfaceUIFocusEnvironment
-
didUpdateFocus
public void didUpdateFocus(UIFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)
- Specified by:
didUpdateFocus
in interfaceUIFocusEnvironment
-
-