themeinstaller/source/src/com/nokia/tools/themeinstaller/cssparser/CSSStyleProperty.java
branchRCL_3
changeset 33 04b7640f6fb5
parent 0 05da4621cfb2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themeinstaller/source/src/com/nokia/tools/themeinstaller/cssparser/CSSStyleProperty.java	Wed Sep 01 12:32:13 2010 +0100
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  CSS Style property
+ *
+*/
+
+
+package com.nokia.tools.themeinstaller.cssparser;
+
+import java.util.Vector;
+
+/**
+ * Contains information for style value.
+ */
+public class CSSStyleProperty
+    {
+
+    /** Property values. */
+    private Vector iValues;
+
+    /** Information whether Style property is categorized as important. */
+    private boolean iImportant;
+
+    /**
+     * Instantiates a new CSS style property.
+     *
+     * @param aValues property values
+     * @param aImportant Is property important
+     */
+    public CSSStyleProperty( Vector aValues, boolean aImportant )
+        {
+        iValues = aValues;
+        iImportant = aImportant;
+        }
+
+    /**
+     * Gets the values.
+     *
+     * @return the values
+     */
+    public Vector getValues()
+        {
+        return iValues;
+        }
+
+    /**
+     * Checks if property is important.
+     *
+     * @return true, if is important
+     */
+    public boolean isImportant()
+        {
+        return iImportant;
+        }
+
+    }