Class WKInterfaceButton

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

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

      • WKInterfaceButton

        protected WKInterfaceButton()
      • WKInterfaceButton

        protected WKInterfaceButton​(NSObject.Handle h,
                                    long handle)
    • Method Detail

      • setTitle

        public void setTitle​(java.lang.String title)
      • setAttributedTitle

        public void setAttributedTitle​(NSAttributedString attributedTitle)
      • setBackgroundColor

        public void setBackgroundColor​(UIColor color)
      • setBackgroundImage

        public void setBackgroundImage​(UIImage image)
      • setBackgroundImageData

        public void setBackgroundImageData​(NSData imageData)
      • setBackgroundImageNamed

        public void setBackgroundImageNamed​(java.lang.String imageName)
      • setEnabled

        public void setEnabled​(boolean enabled)