Package org.robovm.apple.watchkit
Class WKInterfaceSwitch
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.watchkit.WKInterfaceObject
-
- org.robovm.apple.watchkit.WKInterfaceSwitch
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class WKInterfaceSwitch extends WKInterfaceObject
- Since:
- Available in iOS 8.2 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WKInterfaceSwitch.WKInterfaceSwitchPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.watchkit.WKInterfaceObject
WKInterfaceObject.WKInterfaceObjectPtr
-
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 protected
WKInterfaceSwitch()
protected
WKInterfaceSwitch(NSObject.Handle h, long handle)
protected
WKInterfaceSwitch(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAttributedTitle(NSAttributedString attributedTitle)
void
setColor(UIColor color)
void
setEnabled(boolean enabled)
void
setOn(boolean on)
void
setTitle(java.lang.String title)
-
Methods inherited from class org.robovm.apple.watchkit.WKInterfaceObject
getInterfaceProperty, setAccessibilityHint, setAccessibilityIdentifier, setAccessibilityImageRegions, setAccessibilityLabel, setAccessibilityTraits, setAccessibilityValue, setAlpha, setHeight, setHidden, setIsAccessibilityElement, setWidth
-
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
-
WKInterfaceSwitch
protected WKInterfaceSwitch()
-
WKInterfaceSwitch
protected WKInterfaceSwitch(NSObject.Handle h, long handle)
-
WKInterfaceSwitch
protected WKInterfaceSwitch(NSObject.SkipInit skipInit)
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String title)
-
setAttributedTitle
public void setAttributedTitle(NSAttributedString attributedTitle)
-
setEnabled
public void setEnabled(boolean enabled)
-
setOn
public void setOn(boolean on)
-
setColor
public void setColor(UIColor color)
-
-