enum

Tablo::Justify

Inherits Enum < Comparable < Value < Object

Cell contents can be justified in 3 ways: to the left, to the right or centered.

Justification can be explicit, defined by a dedicated attribute, or implicit, depending on the cell data type or heading.

In the latter case, in Tablo, the justification is as follows:

  • Right for cells containing numeric data
  • Centered for colomn cells containing Boolean data and for headings (Title, Subtitle, Group and Footer)
  • Left for all other cases

Constants

Left = 0
Center = 1
Right = 2

Instance methods

center?

Returns true if this enum value equals Center

Source
left?

Returns true if this enum value equals Left

Source
right?

Returns true if this enum value equals Right

Source