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 theTableTextStyle
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getField()
Gets a field the style is to be applied to.int
getItemType()
Returns text item type.int
getRowUid()
Gets a row unique id.void
setField(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
TableTextStyle
class.- 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:
getItemType
in 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.
-
-