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

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

JLineCapPanel

This panel can be used for creating SLD editor panels.
It handle the possibilities of SLD Linecap.

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

How to use it ?

JLineCapPanel guiStrokeLineCap = new JLineCapPanel();

//apply the Dashes properties
guiStrokeLineCap.setLineCap(stroke.getLineCap());

//get back the properties
stroke.setLineCap(guiStrokeLineCap.getLinecap());