diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/value/Length.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/value/Length.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/value/Length.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/value/Length.java deleted file mode 100644 index 47afe93dc..000000000 --- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/css2/value/Length.java +++ /dev/null @@ -1,44 +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.value; - -/** - * @author mengbo - */ -public class Length { - public static final Length LENGTH_0 = new Length(0, false); - - public static final Length LENGTH_1 = new Length(1, false); - - public static final Length LENGTH_2 = new Length(2, false); - - public static final Length LENGTH_3 = new Length(3, false); - - public static final Length LENGTH_8 = new Length(8, false); - - boolean _percentage; - - int _value; - - public Length(int value, boolean percentage) { - _value = value; - _percentage = percentage; - } - - public boolean isPercentage() { - return _percentage; - } - - public int getValue() { - return _value; - } -} |