Class SingleRowLayout

  • All Implemented Interfaces:
    Layout

    public class SingleRowLayout
    extends RowLayout
    Convienence class for SingleRowLayout. It provides numerous constructors to make it easier to create RowLayouts.
    • Constructor Detail

      • SingleRowLayout

        public SingleRowLayout​(Field field1)
        Construct a SingleRowLayout with a single field.
        Parameters:
        field1 - the single field in this layout
      • SingleRowLayout

        public SingleRowLayout​(Field field1,
                               Field field2)
        Construct a SingleRowLayout with two fields.
        Parameters:
        field1 - the first field in the layout.
        field2 - the second field in the layout.
      • SingleRowLayout

        public SingleRowLayout​(Field field1,
                               Field field2,
                               Field field3)
        Construct a SingleRowLayout with three fields.
        Parameters:
        field1 - the first field in the layout.
        field2 - the second field in the layout.
        field3 - the third field in the layout.
      • SingleRowLayout

        public SingleRowLayout​(Field field1,
                               Field field2,
                               Field field3,
                               Field field4)
        Construct a SingleRowLayout with four fields.
        Parameters:
        field1 - the first field in the layout.
        field2 - the second field in the layout.
        field3 - the third field in the layout.
        field4 - the fourth field in the layout,
      • SingleRowLayout

        public SingleRowLayout​(Field field1,
                               Field field2,
                               Field field3,
                               Field field4,
                               Field field5)
        Construct a SingleRowLayout with five fields.
        Parameters:
        field1 - the first field in the layout.
        field2 - the second field in the layout.
        field3 - the third field in the layout.
        field4 - the fourth field in the layout.
        field5 - the fifth field in the layout.
      • SingleRowLayout

        public SingleRowLayout​(Field[] fields,
                               int rowNum)
        Construct a SingleRowLayout from a list of fields.
        Parameters:
        fields - an array of fields to put in this layout
        rowNum - the row number of the layout within a multiRow layout.
      • SingleRowLayout

        public SingleRowLayout​(Field[] fields)
        Construct a SingleRowLayout from a list of fields.
        Parameters:
        fields - an array of fields to put in this layout
    • Method Detail

      • toString

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