Class PWColorChooser


  • public class PWColorChooser
    extends PWWidget
    Instances of this class are used to select a color
    • Field Detail

      • color

        private org.eclipse.swt.graphics.Color color
    • Constructor Detail

      • PWColorChooser

        public PWColorChooser​(java.lang.String label,
                              java.lang.String propertyKey)
        Constructor
        Parameters:
        label - associated label
        propertyKey - associated key
    • Method Detail

      • drawButton

        protected void drawButton​(org.eclipse.swt.widgets.Button button)
        Parameters:
        button - button on which we draw the rectangle
      • check

        public void check()
        Description copied from class: PWWidget
        Check if the property can be binded to the widget
        Specified by:
        check in class PWWidget
        See Also:
        PWWidget.check()