Class UIBehavioralStyle


  • public final class UIBehavioralStyle
    extends java.lang.Object
    Behavioral Styles are values that determine how a class — such as a view or control — behaves. This includes how the control is drawn, and what behaviors it supports. For example, handling certain customizations in one style, but not another.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Automatic
      The system will choose the most appropriate style for the targetted platform.
      static long Mac
      A style and set of behaviors best for macOS applications
      static long Pad
      A style and set of behaviors best for iOS/iPadOS applications
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Automatic

        public static final long Automatic
        The system will choose the most appropriate style for the targetted platform.
        See Also:
        Constant Field Values
      • Pad

        public static final long Pad
        A style and set of behaviors best for iOS/iPadOS applications
        See Also:
        Constant Field Values
      • Mac

        public static final long Mac
        A style and set of behaviors best for macOS applications
        See Also:
        Constant Field Values