Java Code Examples for com.google.gwt.dom.client.Style#FontStyle

The following examples show how to use com.google.gwt.dom.client.Style#FontStyle . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ChartWithScale.java    From dashbuilder with Apache License 2.0 4 votes vote down vote up
@Override
public void setScaleFontStyle(Style.FontStyle style) {
    options.setProperty(SCALEFONTSTYLE, style.getCssName());
}
 
Example 2
Source File: ChartWithTooltip.java    From dashbuilder with Apache License 2.0 4 votes vote down vote up
@Override
public void setTooltipFontStyle(Style.FontStyle fontStyle) {
    options.setProperty(TOOLTIPFONTSTYLE, fontStyle.getCssName());
}
 
Example 3
Source File: ChartWithTooltip.java    From dashbuilder with Apache License 2.0 4 votes vote down vote up
@Override
public void setTooltipTitleFontStyle(Style.FontStyle style) {
    options.setProperty(TOOLTIPTITLEFONTSTYLE, style.getCssName());
}
 
Example 4
Source File: HasScale.java    From dashbuilder with Apache License 2.0 2 votes vote down vote up
/**
 * Default normal
 */
public void setScaleFontStyle(Style.FontStyle style);
 
Example 5
Source File: HasTooltip.java    From dashbuilder with Apache License 2.0 2 votes vote down vote up
/**
 * Default is {@link com.google.gwt.dom.client.Style.FontStyle#NORMAL}
 * @param fontStyle
 */
public void setTooltipFontStyle(Style.FontStyle fontStyle);
 
Example 6
Source File: HasTooltip.java    From dashbuilder with Apache License 2.0 2 votes vote down vote up
/**
 * Default is {@link com.google.gwt.dom.client.Style.FontStyle#FONT_WEIGHT_BOLD}
 * @param style
 */
public void setTooltipTitleFontStyle(Style.FontStyle style);