Class Modifiers


  • public class Modifiers
    extends Object
    Utility class, grouping standard BehaviorModifiers, which should cover most of the normal application needs.

    Graphic documentation examples show behavior for English, i.e left-to-right, top-to-bottom directions.

    Author:
    michaelbar-sinai
    • Field Detail

      • L_END

        public static final BehaviorModifier L_END
          +------------------+
          |        ///comp///|
          +------------------+
         
      • L_START

        public static final BehaviorModifier L_START
          +------------------+
          |///comp///        |
          +------------------+
         
      • L_CENTER

        public static final BehaviorModifier L_CENTER
          +------------------+
          |    ///comp///    |
          +------------------+
         
      • P_HEAD

        public static final BehaviorModifier P_HEAD
          +------------------+
          |    ///comp///    |
          |                  |
          +------------------+
         
      • P_FEET

        public static final BehaviorModifier P_FEET
          +------------------+
          |                  |
          |    ///comp///    |
          +------------------+
         
      • P_MIDDLE

        public static final BehaviorModifier P_MIDDLE
          +------------------+
          |                  |
          |    ///comp///    |
          |                  |
          +------------------+
         
      • NO_STRETCH

        public static final BehaviorModifier NO_STRETCH
        The component should stay in its preferred size, no matter how much space is available for it.
      • GROW

        public static final BehaviorModifier GROW
        The component should get more space on the page axis.
      • GROW_MORE

        public static final BehaviorModifier GROW_MORE
        The component should get more space on the page axis, even more than components who got modified by GROW.
      • GROW_LESS

        public static final BehaviorModifier GROW_LESS
        The component should get some space on the page axis, less than components who got modified by GROW.
      • DIALOG_BUTTON_CONTAINER

        public static final BehaviorModifier DIALOG_BUTTON_CONTAINER
        Where the buttons of a dialog box would go, when you do not want the other components to take up extra space.

        This is also an example of combining modifiers.

          +------------------+
          |                  |
          |        ///comp///|
          +------------------+
         
    • Constructor Detail

      • Modifiers

        public Modifiers()