Class WKInterfaceSwitch

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class WKInterfaceSwitch
    extends WKInterfaceObject
    Since:
    Available in iOS 8.2 and later.
    • Constructor Detail

      • WKInterfaceSwitch

        protected WKInterfaceSwitch()
      • WKInterfaceSwitch

        protected WKInterfaceSwitch​(NSObject.Handle h,
                                    long handle)
    • 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)