I was wondering whether you might consider changing the access to protected for the 3 private methods in DivDecorationRenderer? It would be nice if subclasses had access to the ModeAndStateComparator class when overriding the render method.
Source (head):
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/portal/branches/JBoss_Portal_Branch_2_4/theme/src/main/org/jboss/portal/theme/impl/render/DivDecorationRenderer.java?view=markup
Javadoc:
http://docs.jboss.org/jbportal/v2.6.4/javadoc/org/jboss/portal/theme/impl/render/div/DivDecorationRenderer
I'd rate this as unlikely at best as we are working on a new presentation framework that will render this obsolete.