Package com.aspose.tasks
Class ViewColumn
- java.lang.Object
-
- com.aspose.tasks.ViewColumn
-
- Direct Known Subclasses:
AssignmentViewColumn
,GanttChartColumn
,ResourceViewColumn
public abstract class ViewColumn extends Object
Represents a column in a project view.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
getField()
Gets column field.String
getName()
Gets the column name.int
getStringAlignment()
Gets alignment of the text (can be one of the values of theStringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).ITextStyleModificationCallback
getTextStyleModificationCallback()
Gets the callback which can be used to customize the appearance of the column's cells.int
getWidth()
Gets the column width.abstract void
setField(int value)
Sets column field.void
setStringAlignment(int value)
Sets alignment of the text (can be one of the values of theStringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).void
setTextStyleModificationCallback(ITextStyleModificationCallback value)
Sets the callback which can be used to customize the appearance of the column's cells.
-
-
-
Method Detail
-
getField
public abstract int getField()
Gets column field.
Field
(getField()
/setField(int)
).- Returns:
- column field.
-
setField
public abstract void setField(int value)
Sets column field.
Field
(getField()
/setField(int)
).- Parameters:
value
- column field.
-
getName
public final String getName()
Gets the column name.
- Returns:
- the column name.
-
getStringAlignment
public final int getStringAlignment()
Gets alignment of the text (can be one of the values of the
StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).- Returns:
- alignment of the text (can be one of the values of the
StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).
-
setStringAlignment
public final void setStringAlignment(int value)
Sets alignment of the text (can be one of the values of the
StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).- Parameters:
value
- alignment of the text (can be one of the values of theStringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).
-
getTextStyleModificationCallback
public final ITextStyleModificationCallback getTextStyleModificationCallback()
Gets the callback which can be used to customize the appearance of the column's cells.
- Returns:
- the callback which can be used to customize the appearance of the column's cells.
-
setTextStyleModificationCallback
public final void setTextStyleModificationCallback(ITextStyleModificationCallback value)
Sets the callback which can be used to customize the appearance of the column's cells.
- Parameters:
value
- the callback which can be used to customize the appearance of the column's cells.
-
getWidth
public final int getWidth()
Gets the column width.
- Returns:
- the column width.
-
-