Class StrokeDialog

java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.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 final String[]
    The styles.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    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 Details

    • STYLES

      public static final String[] STYLES
      The styles.
  • Constructor Details

    • StrokeDialog

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

    • open

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