Class ClearButton

All Implemented Interfaces:
Drawable

public class ClearButton extends Composite
The clear-button.
Author:
Christopher Mindus
  • Constructor Details

    • ClearButton

      public ClearButton(Composite parent, boolean efBG, IClearButton listener)
      Create the clear button.
      Parameters:
      parent - The parent.
      efBG - true to use white background color (like entry fields).
      listener - The listener when clear button is pressed.
  • Method Details

    • computeSize

      public Point computeSize(int wHint, int hHint, boolean changed)
      Size is always 16x16.
      Overrides:
      computeSize in class Composite