vc.getFontStyle() | ViewColumn.FONT_BOLD
To set two styles without disturbing the others, use a logical construct of the following form:
vc.getFontStyle() | ViewColumn.FONT_BOLD |
ViewColumn.FONT_ITALIC
To unset a style without disturbing the others, use a logical construct of the following form:
vc.getFontStyle() & ~ViewColumn.FONT_BOLD
To unset two styles without disturbing the others, use a logical construct of the following form:
vc.getFontStyle() & (~(ViewColumn.FONT_BOLD | ViewColumn.FONT_ITALIC))