Class TableTextStyle

java.lang.Object
com.aspose.tasks.cloud.model.TableTextStyle

public class TableTextStyle extends Object
Represents a text style in a view table.
  • Constructor Details

    • TableTextStyle

      public TableTextStyle()
  • Method Details

    • rowUid

      public TableTextStyle rowUid(Integer rowUid)
    • getRowUid

      public Integer getRowUid()
      Gets a row unique id. Return -1 if the style is to be applied to all rows of a view.
      Returns:
      rowUid
    • setRowUid

      public void setRowUid(Integer rowUid)
    • field

      public TableTextStyle field(Field field)
    • getField

      public Field getField()
      Gets or sets a field the style is to be applied to.
      Returns:
      field
    • setField

      public void setField(Field field)
    • itemType

      public TableTextStyle itemType(TextItemType itemType)
    • getItemType

      public TextItemType getItemType()
      Returns a value of the TextItemType enum.
      Returns:
      itemType
    • setItemType

      public void setItemType(TextItemType itemType)
    • color

      public TableTextStyle color(Colors color)
    • getColor

      public Colors getColor()
      Gets or sets color of the text.
      Returns:
      color
    • setColor

      public void setColor(Colors color)
    • backgroundPattern

      public TableTextStyle backgroundPattern(BackgroundPattern backgroundPattern)
    • getBackgroundPattern

      public BackgroundPattern getBackgroundPattern()
      Gets or sets background pattern of the text style.
      Returns:
      backgroundPattern
    • setBackgroundPattern

      public void setBackgroundPattern(BackgroundPattern backgroundPattern)
    • backgroundColor

      public TableTextStyle backgroundColor(Colors backgroundColor)
    • getBackgroundColor

      public Colors getBackgroundColor()
      Gets or sets background color of the text style.
      Returns:
      backgroundColor
    • setBackgroundColor

      public void setBackgroundColor(Colors backgroundColor)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object