Added by Johann Sorel, last edited by Johann Sorel on Oct 05, 2007  (view change)

Labels

 
(None)

JFillPanel

This panel can be used for creating SLD editor panels.
It handle a few possibilities of the SLD Fill object.

It's also a bean, so you can add it in the Swing Palette of NetBeans Matisse WYSIWYG for example.

How to use it ?

JFillPanel guiFill = new JFillPanel();

//apply the fill
guiFill.parseFill(sym.getFill());

//get back the new Fill 
Fill fill = guiFill.getFill();