Package com.aspose.tasks
Class TableTextStyle
- java.lang.Object
-
- com.aspose.tasks.TextStyle
-
- com.aspose.tasks.TableTextStyle
-
public class TableTextStyle extends TextStyle
Represents a text style in a view table.
-
-
Constructor Summary
Constructors Constructor Description TableTextStyle(int rowUid)Initializes a new instance of theTableTextStyleclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetField()Gets a field the style is to be applied to.intgetItemType()Returns text item type.intgetRowUid()Gets a row unique id.voidsetField(int value)Sets a field the style is to be applied to.-
Methods inherited from class com.aspose.tasks.TextStyle
getBackgroundColor, getBackgroundPattern, getColor, getFontFamily, getFontStyle, getSizeInPoints, setBackgroundColor, setBackgroundPattern, setColor, setFontFamily, setFontStyle, setItemType, setSizeInPoints
-
-
-
-
Constructor Detail
-
TableTextStyle
public TableTextStyle(int rowUid)
Initializes a new instance of the
TableTextStyleclass.- Parameters:
rowUid- A specified row unique id.
-
-
Method Detail
-
getField
public final int getField()
Gets a field the style is to be applied to.
Field(getField()/setField(int)).- Returns:
- a field the style is to be applied to.
-
setField
public final void setField(int value)
Sets a field the style is to be applied to.
Field(getField()/setField(int)).- Parameters:
value- a field the style is to be applied to.
-
getItemType
public int getItemType()
Returns text item type.- Overrides:
getItemTypein classTextStyle- Returns:
- TextItemType enumerated type value.
-
getRowUid
public final int getRowUid()
Gets a row unique id.
Return -1 if the style is to be applied to all rows of a view.- Returns:
- a row unique id.
-
-