src/solaris/classes/sun/awt/X11/InfoWindow.java
Print this page
*** 37,46 ****
--- 37,47 ----
import java.lang.reflect.InvocationTargetException;
/**
* An utility window class. This is a base class for Tooltip and Balloon.
*/
+ @SuppressWarnings("serial") // JDK-implementation class
public abstract class InfoWindow extends Window {
private Container container;
private Closer closer;
protected InfoWindow(Frame parent, Color borderColor) {
*** 144,153 ****
--- 145,155 ----
/** The bounds of the target of the InfoWindow. */
Rectangle getBounds();
}
+ @SuppressWarnings("serial") // JDK-implementation class
public static class Tooltip extends InfoWindow {
public interface LiveArguments extends InfoWindow.LiveArguments {
/** The tooltip to be displayed. */
String getTooltipString();
*** 237,246 ****
--- 239,249 ----
return !(p.x < trayRect.x || p.x > (trayRect.x + trayRect.width) ||
p.y < trayRect.y || p.y > (trayRect.y + trayRect.height));
}
}
+ @SuppressWarnings("serial") // JDK-implementation class
public static class Balloon extends InfoWindow {
public interface LiveArguments extends InfoWindow.LiveArguments {
/** The action to be performed upon clicking the baloon. */
String getActionCommand();