public class CSSPropertyFilter
extends java.util.Hashtable
Modifier and Type | Field and Description |
---|---|
static int |
kExcludeListed |
static int |
kIncludeListed |
Constructor and Description |
---|
CSSPropertyFilter(int type,
int[] properties)
Constructor, takes CSS property IDs as int.
|
CSSPropertyFilter(int type,
java.lang.String[] properties)
Constructor, takes named properties.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
filter(int propId)
The filter method.
|
java.lang.String |
filter(java.lang.String propName)
The filter method.
|
public static final int kIncludeListed
public static final int kExcludeListed
public CSSPropertyFilter(int type, java.lang.String[] properties)
type
- the filter type, either kIncludeListed
to include only specified properties
or kExcludeListed
to accept all properties except for the ones listedproperties
- the named properties as String arrayCSSProperties.translateToName(int)
public CSSPropertyFilter(int type, int[] properties)
type
- the filter type, either kIncludeListed
to include only specified properties
or kExcludeListed
to accept all properties except for the ones listedproperties
- the named properties as an int arrayCSSProperties.translateToId(java.lang.String)
public java.lang.String filter(java.lang.String propName)
propName
- the property name to testpublic java.lang.String filter(int propId)
propId
- the property Id to test