/**
* Returns the type of the given property.
*/
public int getPropertyType(String pn) {
AbstractStylableDocument doc =
(AbstractStylableDocument) ownerDocument;
CSSEngine eng = doc.getCSSEngine();
int idx = eng.getPropertyIndex(pn);
if (idx != -1) {
ValueManager[] vms = eng.getValueManagers();
return vms[idx].getPropertyType();
}