Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
borderfalse
Column
width30%

Column
width70%

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 ?

Code Block
JLineCapPanel guiStrokeLineCap = new JLineCapPanel();

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

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