Package adalid.core

Class ViewField

All Implemented Interfaces:
Wrappable, Artifact

public class ViewField extends AbstractArtifact
Author:
Jorge Campins
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Artifact
      Overrides:
      getName in class AbstractArtifact
      Returns:
      the name
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface Artifact
      Overrides:
      getAlias in class AbstractArtifact
      Returns:
      the alias
    • getColumn

      public Property getColumn()
      Returns:
      the column
    • getGroup

      public Property getGroup()
      Returns:
      the group
    • getGroupField

      public ViewField getGroupField()
      Returns:
      the group field
    • isControlField

      public boolean isControlField()
      Returns:
      the group field indicator
    • getAggregation

      public ViewFieldAggregation getAggregation()
      Returns:
      the view column aggregation
    • isAggregationField

      public boolean isAggregationField()
      Returns:
      the aggregation indicator
    • isNumericAggregationField

      public boolean isNumericAggregationField()
      Returns:
      the numeric aggregation indicator
    • isNonNumericAggregationField

      public boolean isNonNumericAggregationField()
      Returns:
      the non-numeric aggregation indicator
    • getSortOption

      public SortOption getSortOption()
      Returns:
      the sort option
    • isChartable

      public boolean isChartable()
      Returns:
      the chartable indicator
    • getPixels

      public Integer getPixels()
      Returns:
      the size in pixels
    • setPixels

      public void setPixels(Integer pixels)
      El método setPixels se utiliza para establecer el tamaño del campo en los informes, expresado en pixeles. Para calcular el tamaño del campo al imprimir el informe, un pixel equivale a un punto tipográfico y 72 puntos tipográficos equivalen a una pulgada. Si no se especifica el tamaño de algún campo, o si se especifica un valor fuera del rango permitido por el método setPixels, el tamaño del campo en el informe se determina en función la clase de la correspondiente propiedad.
      Parameters:
      pixels - número entero entre 0 y 1260. Si el valor es 0 entonces el campo no se muestra en los informes. Si el valor es nulo, menor que 0 o mayor que 1260, entonces se utiliza el tamaño predeterminado.
    • fieldsToString

      protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
      Overrides:
      fieldsToString in class AbstractArtifact