+ /**\r
+ * Returns the bounds of this component.\r
+ * Used for calculating which component is clicked.\r
+ */\r
+ public Rectangle getBounds();\r
+ /**\r
+ * Called when this component is clicked. Relative coordinates of the click are given.\r
+ * Returns true if this component has to be redrawn.\r
+ */\r
+ public default boolean clicked(double x, double y)\r
+ {\r
+ return false;\r
+ }\r