Class Layout


  • public class Layout
    extends java.lang.Object
    The layout of a section
    Author:
    bratseth
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Layout column
      The built in "column" layout
      static Layout row
      The built in "row" layout
    • Constructor Summary

      Constructors 
      Constructor Description
      Layout​(java.lang.String name)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      static Layout fromString​(java.lang.String layout)
      Returns a layout having this string as name, or null if the given string is null or empty
      java.lang.String getName()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • column

        public static final Layout column
        The built in "column" layout
      • row

        public static final Layout row
        The built in "row" layout
    • Constructor Detail

      • Layout

        public Layout​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • fromString

        public static Layout fromString​(java.lang.String layout)
        Returns a layout having this string as name, or null if the given string is null or empty
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object