|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
de.infinityloop.util.style.CSSPropertyFilter
public class CSSPropertyFilter
A simple filter description object used by the RTFStyle to CSS renderer for easily exclusing some properties from being rendered (or including only specific properties for rendering).
Field Summary | |
---|---|
static int |
kExcludeListed
|
static int |
kIncludeListed
|
Constructor Summary | |
---|---|
CSSPropertyFilter(int type,
int[] properties)
Constructor, takes CSS property IDs as int. |
|
CSSPropertyFilter(int type,
java.lang.String[] properties)
Constructor, takes named properties. |
Method Summary | |
---|---|
java.lang.String |
filter(int propId)
The filter method. |
java.lang.String |
filter(java.lang.String propName)
The filter method. |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int kIncludeListed
public static final int kExcludeListed
Constructor Detail |
---|
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)
Method Detail |
---|
public java.lang.String filter(java.lang.String propName)
propName
- the property name to test
public java.lang.String filter(int propId)
propId
- the property Id to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |