Class ARRAYGRIDListBinding<T extends ARRAYGRIDItem>

All Implemented Interfaces:
Serializable, IConfiguredByLayout, IFIXGRIDBinding<T>, IListWithChangeIndexListener, IDynamicContentBindingObject

public class ARRAYGRIDListBinding<T extends ARRAYGRIDItem> extends FIXGRIDListBinding<T>
Counter part of ARRAGRID component. The ARRAYGRID allows to define output-only grids - the column structure is defined by the binding (and not by the layout definition).

The minimum definitions you need to do is:
(1.) setTitles(String[])
(2.) setWidths(String[])
(3.) and ARRAYGRIDItem.setValues(Object[]) within the item objects
See Also:
  • Field Details

  • Constructor Details

    • ARRAYGRIDListBinding

      public ARRAYGRIDListBinding()
      By default the change index is supported within ARRAYGRIDListBinding objects. This is different compared to the normal FIXGRIDListBinding, where by default the change index is not supported.
    • ARRAYGRIDListBinding

      public ARRAYGRIDListBinding(boolean changeIndexIsSupported)
  • Method Details

    • setTitles

      public void setTitles(String[] values)
      Titles for the columns.
    • getTitles

      public String[] getTitles()
    • setWidths

      public void setWidths(String[] values)
      Widths for the columns.
    • getWidths

      public String[] getWidths()
    • setAligns

      public void setAligns(String[] aligns)
      Alignments for the columns ("left","center","right","left!","right!",null).
    • getAligns

      public String[] getAligns()
    • setTitlealigns

      public void setTitlealigns(String[] titlealigns)
      Alignments for the title columns ("left","center","right","left!","right!",null). Only needs to be defined, when different to content alignment.
    • getTitlealigns

      public String[] getTitlealigns()
    • getTitlebackgrounds

      public String[] getTitlebackgrounds()
      Background colors for title columns (e.g. "#FF0000"). Only needs to be defined, when different to default background colors.
    • setTitlebackgrounds

      public void setTitlebackgrounds(String[] titlebackgrounds)
    • getTitleforegrounds

      public String[] getTitleforegrounds()
      Foreground colors for title columns (e.g. "#FF0000"). Only needs to be defined, when different to default foreground colors.
    • setTitleforegrounds

      public void setTitleforegrounds(String[] titleforegrounds)
    • getFormats

      public String[] getFormats()
      Format definitions fot the columns ("int","float","date",...,null)
    • setFormats

      public void setFormats(String[] formats)
    • getFormatmasks

      public String[] getFormatmasks()
      Format mask definitions fot the columns ("short","medium","long","dec2",...,null)
    • setFormatmasks

      public void setFormatmasks(String[] formatmasks)
    • getTimezones

      public String[] getTimezones()
      Time zone definitions for these columns representing date or time values.
    • setTimezones

      public void setTimezones(String[] timezones)
    • getTitleTooltips

      public String[] getTitleTooltips()
      Tooltips that are defined for the title columns.
    • setTitleTooltips

      public void setTitleTooltips(String[] titleTooltips)
    • getSearchenableds

      public boolean[] getSearchenableds()
      Indicator for each column, if a right-mouse-button-search in the title column is enabled.
    • setSearchenableds

      public void setSearchenableds(boolean[] searchenableds)
    • getControltypes

      public int[] getControltypes()
      Explicit definition of control type used for a certain columns. User the CONTROLTYPE_* defintions.
    • setControltypes

      public void setControltypes(int[] controltypes)
    • getStructureChangeIndex

      public int getStructureChangeIndex()
      A change of the structure is indicated by the change index.