Package org.robovm.apple.uikit
Class UIMenuController
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIMenuController
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class UIMenuController extends NSObject
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIMenuController.Notifications
static class
UIMenuController.UIMenuControllerPtr
-
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 UIMenuController()
protected
UIMenuController(NSObject.Handle h, long handle)
protected
UIMenuController(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NSString
DidHideMenuNotification()
static NSString
DidShowMenuNotification()
UIMenuControllerArrowDirection
getArrowDirection()
CGRect
getMenuFrame()
NSArray<UIMenuItem>
getMenuItems()
static UIMenuController
getSharedMenuController()
boolean
isMenuVisible()
static NSString
MenuFrameDidChangeNotification()
void
setArrowDirection(UIMenuControllerArrowDirection v)
void
setMenuItems(NSArray<UIMenuItem> items)
void
setMenuVisible(boolean v)
void
setMenuVisible(boolean menuVisible, boolean animated)
void
setTargetRect(CGRect targetRect, UIView targetView)
void
update()
static NSString
WillHideMenuNotification()
static NSString
WillShowMenuNotification()
-
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
-
UIMenuController
public UIMenuController()
-
UIMenuController
protected UIMenuController(NSObject.Handle h, long handle)
-
UIMenuController
protected UIMenuController(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getSharedMenuController
public static UIMenuController getSharedMenuController()
-
isMenuVisible
public boolean isMenuVisible()
-
setMenuVisible
public void setMenuVisible(boolean v)
-
getArrowDirection
public UIMenuControllerArrowDirection getArrowDirection()
- Since:
- Available in iOS 3.2 and later.
-
setArrowDirection
public void setArrowDirection(UIMenuControllerArrowDirection v)
- Since:
- Available in iOS 3.2 and later.
-
getMenuFrame
public CGRect getMenuFrame()
-
getMenuItems
public NSArray<UIMenuItem> getMenuItems()
-
setMenuItems
public void setMenuItems(NSArray<UIMenuItem> items)
-
WillShowMenuNotification
public static NSString WillShowMenuNotification()
-
DidShowMenuNotification
public static NSString DidShowMenuNotification()
-
WillHideMenuNotification
public static NSString WillHideMenuNotification()
-
DidHideMenuNotification
public static NSString DidHideMenuNotification()
-
MenuFrameDidChangeNotification
public static NSString MenuFrameDidChangeNotification()
-
setMenuVisible
public void setMenuVisible(boolean menuVisible, boolean animated)
-
update
public void update()
-
-