diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/font/ICSSFont.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/font/ICSSFont.java | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/font/ICSSFont.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/font/ICSSFont.java deleted file mode 100644 index 74adcfba4..000000000 --- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/font/ICSSFont.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 Sybase, Inc. and others. - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Sybase, Inc. - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.pagedesigner.css2.font; - -import org.eclipse.swt.graphics.Font; - -/** - * XXX: this class should be renamed to CSSFontDescriptor. Since now it is only - * used to describe a CSSFont. - * - * @author mengbo - */ -public interface ICSSFont { - /** - * Will get a Font system resource from a pool. - * - * The caller should NOT dispose the returned Font object. - * - * The caller should not hold reference on the returned Font object, since - * system may dispose it at any time. - * - * @return the swt font - */ - public Font getSwtFont(); - - /** - * @return the css font family - */ - public String getFontFamily(); - - /** - * @return font size in pixel - */ - public int getFontSize(); - - /** - * @return font x height in pixel - */ - public int getXHeight(); - - /** - * @return the font weight - */ - public int getWeight(); - - /** - * - * @return could be SWT.NONE or SWT.ITALIC - */ - public int getFontStyle(); - - /** - * @return the css string - */ - public String getCSSString(); -} |