public abstract class ViewColumn extends Object
Represents a column in a project view.
Modifier and Type | Method and 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 the
StringAlignment (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 the
StringAlignment (getStringAlignment() /setStringAlignment(int) ) enumeration). |
void |
setTextStyleModificationCallback(ITextStyleModificationCallback value)
Sets the callback which can be used to customize the appearance of the column's cells.
|
public abstract int getField()
Gets column field.
Field
(getField()
/setField(int)
).
public abstract void setField(int value)
Sets column field.
Field
(getField()
/setField(int)
).
value
- column field.public final String getName()
Gets the column name.
public final int getStringAlignment()
Gets alignment of the text (can be one of the values of the StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).
StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).public final void setStringAlignment(int value)
Sets alignment of the text (can be one of the values of the StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).
value
- alignment of the text (can be one of the values of the StringAlignment
(getStringAlignment()
/setStringAlignment(int)
) enumeration).public final ITextStyleModificationCallback getTextStyleModificationCallback()
Gets the callback which can be used to customize the appearance of the column's cells.
public final void setTextStyleModificationCallback(ITextStyleModificationCallback value)
Sets the callback which can be used to customize the appearance of the column's cells.
value
- the callback which can be used to customize the appearance of the column's cells.public final int getWidth()
Gets the column width.
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.