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

The following are Jave code examples for showing how to use FontStyle of the com.google.gwt.dom.client.Style class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: appformer   File: ChartWithScale.java   View Source Code Vote up 4 votes
@Override
public void setScaleFontStyle(Style.FontStyle style) {
    options.setProperty(SCALEFONTSTYLE, style.getCssName());
}
 
Example 2
Project: appformer   File: ChartWithTooltip.java   View Source Code Vote up 4 votes
@Override
public void setTooltipFontStyle(Style.FontStyle fontStyle) {
    options.setProperty(TOOLTIPFONTSTYLE, fontStyle.getCssName());
}
 
Example 3
Project: appformer   File: ChartWithTooltip.java   View Source Code Vote up 4 votes
@Override
public void setTooltipTitleFontStyle(Style.FontStyle style) {
    options.setProperty(TOOLTIPTITLEFONTSTYLE, style.getCssName());
}
 
Example 4
Project: appformer   File: HasScale.java   View Source Code Vote up 2 votes
/**
 * Default normal
 */
public void setScaleFontStyle(Style.FontStyle style);
 
Example 5
Project: appformer   File: HasTooltip.java   View Source Code Vote up 2 votes
/**
 * Default is {@link com.google.gwt.dom.client.Style.FontStyle#NORMAL}
 * @param fontStyle
 */
public void setTooltipFontStyle(Style.FontStyle fontStyle);
 
Example 6
Project: appformer   File: HasTooltip.java   View Source Code Vote up 2 votes
/**
 * Default is {@link com.google.gwt.dom.client.Style.FontStyle#FONT_WEIGHT_BOLD}
 * @param style
 */
public void setTooltipTitleFontStyle(Style.FontStyle style);