Class ColorDialog


  • public class ColorDialog
    extends org.eclipse.swt.widgets.Dialog
    The color dialog to choose an ARGB color.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorDialog​(org.eclipse.swt.widgets.Shell parent, int color)
      Create the dialog.
      ColorDialog​(org.eclipse.swt.widgets.Shell parent, int color, boolean isTransparent)
      Create the dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GColor 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
    • Constructor Detail

      • ColorDialog

        public ColorDialog​(org.eclipse.swt.widgets.Shell parent,
                           int color)
        Create the dialog.
      • ColorDialog

        public ColorDialog​(org.eclipse.swt.widgets.Shell parent,
                           int color,
                           boolean isTransparent)
        Create the dialog.
    • Method Detail

      • open

        public GColor open()
        Open the dialog.
        Returns:
        the result