Intel

Developer Zone

Clickable

com.intel.ui

Interface Clickable

  • All Known Implementing Classes:
    Button


    public interface Clickable
    This interface represents a Widget that is "activated" by external mouse clicks. A Clickable widget can not be added to another composite Clickable widget.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean intersect(XYPair clickLocation)
      Returns true if this widget intersects with the location of the mouse click, and false othewise.
    • Method Detail

      • intersect

        boolean intersect(XYPair clickLocation)
                          throws UiException
        Returns true if this widget intersects with the location of the mouse click, and false othewise. Note that widget intersection can only be checked after the Dialog containing this widget was rendered.
        Parameters:
        clickLocation - The location where the mouse click occurred.
        Returns:
        true if the click intersects with the widget bounding box, false otherwise.
        Throws:
        UiNotInitializedException - if the Dialog containing this widget was not rendered yet.
        UiException