Module org.autogui

Annotation Interface GuiInitTable


public @interface GuiInitTable
initial settings for table : determines the initial row-height for the table of the attached type
     @GuiIncluded
     @GuiInits(table = @GuiInitTable(rowFitToContent=true))
     public List<MyElem> getMyTable() { //the created table reflects the above setting of the annotation
         ...
     }
 
Since:
1.8
See Also:
  • Element Details

    • rowFitToContent

      boolean rowFitToContent
      Returns:
      if true (and rowHeight()==0), enables the row height fits to contents. the default is false: disabled
      Default:
      false
    • rowHeight

      int rowHeight
      Returns:
      if >0, sets the row height to the value. the default is 0: disabled.
      Default:
      0
    • dynamicColumnAutoResize

      boolean dynamicColumnAutoResize
      Returns:
      if true, enables auto-resizing columns for the table that has a dynamic column. the default is false. Note: always auto-resizing if the table only has static columns
      Default:
      false