ViewColumn

Inheritance: java.lang.Object

public abstract class ViewColumn

Represents a column in a project view.

Methods

MethodDescription
getField()Gets column field.
getName()Gets the column name.
getStringAlignment()Gets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).
getTextStyleModificationCallback()Gets the callback which can be used to customize the appearance of the column’s cells.
getWidth()Gets the column width.
setField(int value)Sets column field.
setStringAlignment(int value)Sets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).
setTextStyleModificationCallback(ITextStyleModificationCallback value)Sets the callback which can be used to customize the appearance of the column’s cells.

getField()

public abstract int getField()

Gets column field. Field (getField()/setField(int)).

Returns: int - column field.

getName()

public final String getName()

Gets the column name.

Returns: java.lang.String - the column name.

getStringAlignment()

public final int getStringAlignment()

Gets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).

Returns: int - alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).

getTextStyleModificationCallback()

public final ITextStyleModificationCallback getTextStyleModificationCallback()

Gets the callback which can be used to customize the appearance of the column’s cells.

Returns: ITextStyleModificationCallback - 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: int - the column width.

setField(int value)

public abstract void setField(int value)

Sets column field. Field (getField()/setField(int)).

Parameters:

ParameterTypeDescription
valueintcolumn field.

setStringAlignment(int value)

public final void setStringAlignment(int value)

Sets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).

Parameters:

ParameterTypeDescription
valueintalignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).

setTextStyleModificationCallback(ITextStyleModificationCallback value)

public final void setTextStyleModificationCallback(ITextStyleModificationCallback value)

Sets the callback which can be used to customize the appearance of the column’s cells.

Parameters:

ParameterTypeDescription
valueITextStyleModificationCallbackthe callback which can be used to customize the appearance of the column’s cells.