Class StrokeDialog


  • public class StrokeDialog
    extends org.eclipse.swt.widgets.Dialog
    The stroke dialog to choose an ARGB color and the stroke.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] STYLES
      The styles.
    • Constructor Summary

      Constructors 
      Constructor Description
      StrokeDialog​(org.eclipse.swt.widgets.Shell parent, GStroke stroke)
      Create the dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GStroke open()
      Open the dialog.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STYLES

        public static final java.lang.String[] STYLES
        The styles.
    • Constructor Detail

      • StrokeDialog

        public StrokeDialog​(org.eclipse.swt.widgets.Shell parent,
                            GStroke stroke)
        Create the dialog.
    • Method Detail

      • open

        public GStroke open()
        Open the dialog.
        Returns:
        the result, or null for cancel.