Package org.eclipse.nebula.widgets.nattable.style

Examples of org.eclipse.nebula.widgets.nattable.style.TextDecorationEnum


     *            decoration.
     * @return <code>true</code> if there is a underline text decoration
     *         configured, <code>false</code> otherwise.
     */
    protected boolean renderUnderlined(IStyle cellStyle) {
        TextDecorationEnum decoration = cellStyle.getAttributeValue(CellStyleAttributes.TEXT_DECORATION);
        if (decoration != null) {
            return (decoration.equals(TextDecorationEnum.UNDERLINE)
                    || decoration.equals(TextDecorationEnum.UNDERLINE_STRIKETHROUGH));
        }
        return this.underline;
    }
View Full Code Here


     *            decoration.
     * @return <code>true</code> if there is a strikethrough text decoration
     *         configured, <code>false</code> otherwise.
     */
    protected boolean renderStrikethrough(IStyle cellStyle) {
        TextDecorationEnum decoration = cellStyle.getAttributeValue(CellStyleAttributes.TEXT_DECORATION);
        if (decoration != null) {
            return (decoration.equals(TextDecorationEnum.STRIKETHROUGH)
                    || decoration.equals(TextDecorationEnum.UNDERLINE_STRIKETHROUGH));
        }
        return this.strikethrough;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.style.TextDecorationEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.