Class ScrollLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager

    public class ScrollLayout
    extends java.lang.Object
    implements java.awt.LayoutManager
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BOTTOM  
      static java.lang.String CENTER  
      static java.lang.String RIGHT  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScrollLayout​(@NotNull java.awt.Container textArea)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLayoutComponent​(@NotNull java.lang.String name, @NotNull java.awt.Component comp)  
      void layoutContainer​(@NotNull java.awt.Container parent)  
      @NotNull java.awt.Dimension minimumLayoutSize​(@NotNull java.awt.Container parent)  
      @NotNull java.awt.Dimension preferredLayoutSize​(@NotNull java.awt.Container parent)  
      void removeLayoutComponent​(@NotNull java.awt.Component comp)  
      • Methods inherited from class java.lang.Object

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

      • ScrollLayout

        public ScrollLayout​(@NotNull
                            @NotNull java.awt.Container textArea)
    • Method Detail

      • addLayoutComponent

        public void addLayoutComponent​(@NotNull
                                       @NotNull java.lang.String name,
                                       @NotNull
                                       @NotNull java.awt.Component comp)
        Specified by:
        addLayoutComponent in interface java.awt.LayoutManager
      • removeLayoutComponent

        public void removeLayoutComponent​(@NotNull
                                          @NotNull java.awt.Component comp)
        Specified by:
        removeLayoutComponent in interface java.awt.LayoutManager
      • preferredLayoutSize

        @NotNull
        public @NotNull java.awt.Dimension preferredLayoutSize​(@NotNull
                                                               @NotNull java.awt.Container parent)
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
      • minimumLayoutSize

        @NotNull
        public @NotNull java.awt.Dimension minimumLayoutSize​(@NotNull
                                                             @NotNull java.awt.Container parent)
        Specified by:
        minimumLayoutSize in interface java.awt.LayoutManager
      • layoutContainer

        public void layoutContainer​(@NotNull
                                    @NotNull java.awt.Container parent)
        Specified by:
        layoutContainer in interface java.awt.LayoutManager