Class HBox

    • Constructor Detail

      • HBox

        public HBox()
    • Method Detail

      • getSpacing

        public int getSpacing()
        Returns the spacing between components, in pixels. Spacing is applied between components only, not to the top or bottom of the container.
        Returns:
        spacing between components
      • setSpacing

        public void setSpacing​(int spacing)
        Sets the spacing between components. Spacing is applied between components only, not to the top or bottom of the container.
        Parameters:
        spacing - new spacing value
      • getHorizontalAlignment

        public int getHorizontalAlignment()
      • setHorizontalAlignment

        public void setHorizontalAlignment​(int horizontalAlignment)
      • getVerticalAlignment

        public int getVerticalAlignment()
      • setVerticalAlignment

        public void setVerticalAlignment​(int verticalAlignment)
      • getMargin

        public Insets getMargin()
      • setMargin

        public void setMargin​(Insets margin)