Package org.robovm.apple.carplay
Class CPGridButton
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.carplay.CPGridButton
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class CPGridButton extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 12.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCPGridButton.CPGridButtonPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedCPGridButton()CPGridButton(NSArray<NSString> titleVariants, UIImage image, VoidBlock1<CPGridButton> handler)CPGridButton(NSCoder coder)protectedCPGridButton(NSObject.Handle h, long handle)protectedCPGridButton(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidencode(NSCoder coder)UIImagegetImage()NSArray<NSString>getTitleVariants()protected longinit(NSArray<NSString> titleVariants, UIImage image, VoidBlock1<CPGridButton> handler)protected longinit(NSCoder coder)booleanisEnabled()voidsetEnabled(boolean v)static booleansupportsSecureCoding()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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
CPGridButton
protected CPGridButton() -
CPGridButton
-
CPGridButton
-
CPGridButton
public CPGridButton(NSArray<NSString> titleVariants, UIImage image, VoidBlock1<CPGridButton> handler) -
CPGridButton
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean v) -
getImage
-
getTitleVariants
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
protected long init(NSArray<NSString> titleVariants, UIImage image, VoidBlock1<CPGridButton> handler) -
encode
-
init
-