themeinstaller/source/src/com/nokia/tools/themeinstaller/cssparser/CSSStyleProperty.java
branchRCL_3
changeset 17 fe49e33862e2
parent 16 b685c59de105
child 18 04b7640f6fb5
equal deleted inserted replaced
16:b685c59de105 17:fe49e33862e2
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  CSS Style property
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 package com.nokia.tools.themeinstaller.cssparser;
       
    20 
       
    21 import java.util.Vector;
       
    22 
       
    23 /**
       
    24  * Contains information for style value.
       
    25  */
       
    26 public class CSSStyleProperty
       
    27     {
       
    28 
       
    29     /** Property values. */
       
    30     private Vector iValues;
       
    31 
       
    32     /** Information whether Style property is categorized as important. */
       
    33     private boolean iImportant;
       
    34 
       
    35     /**
       
    36      * Instantiates a new CSS style property.
       
    37      *
       
    38      * @param aValues property values
       
    39      * @param aImportant Is property important
       
    40      */
       
    41     public CSSStyleProperty( Vector aValues, boolean aImportant )
       
    42         {
       
    43         iValues = aValues;
       
    44         iImportant = aImportant;
       
    45         }
       
    46 
       
    47     /**
       
    48      * Gets the values.
       
    49      *
       
    50      * @return the values
       
    51      */
       
    52     public Vector getValues()
       
    53         {
       
    54         return iValues;
       
    55         }
       
    56 
       
    57     /**
       
    58      * Checks if property is important.
       
    59      *
       
    60      * @return true, if is important
       
    61      */
       
    62     public boolean isImportant()
       
    63         {
       
    64         return iImportant;
       
    65         }
       
    66 
       
    67     }