47 |
import java.awt.dnd.peer.DragSourceContextPeer; |
import java.awt.dnd.peer.DragSourceContextPeer; |
48 |
import java.awt.event.AWTEventListener; |
import java.awt.event.AWTEventListener; |
49 |
import java.awt.event.KeyEvent; |
import java.awt.event.KeyEvent; |
50 |
|
import java.awt.font.TextAttribute; |
51 |
import java.awt.im.InputMethodHighlight; |
import java.awt.im.InputMethodHighlight; |
52 |
import java.awt.image.ColorModel; |
import java.awt.image.ColorModel; |
53 |
import java.awt.image.ImageObserver; |
import java.awt.image.ImageObserver; |
77 |
import java.beans.PropertyChangeListener; |
import java.beans.PropertyChangeListener; |
78 |
import java.beans.PropertyChangeSupport; |
import java.beans.PropertyChangeSupport; |
79 |
import java.net.URL; |
import java.net.URL; |
80 |
|
import java.util.Hashtable; |
81 |
import java.util.Map; |
import java.util.Map; |
82 |
import java.util.Properties; |
import java.util.Properties; |
83 |
|
|
110 |
/** The toolkit properties. */ |
/** The toolkit properties. */ |
111 |
private static Properties props = new Properties(); |
private static Properties props = new Properties(); |
112 |
|
|
113 |
protected final Map desktopProperties = new Properties(); |
protected final Map<String,Object> desktopProperties = |
114 |
|
new Hashtable<String,Object>(); |
115 |
|
|
116 |
protected final PropertyChangeSupport desktopPropsSupport |
protected final PropertyChangeSupport desktopPropsSupport |
117 |
= new PropertyChangeSupport(this); |
= new PropertyChangeSupport(this); |
909 |
/** |
/** |
910 |
* @since 1.3 |
* @since 1.3 |
911 |
*/ |
*/ |
912 |
public DragGestureRecognizer |
public <T extends DragGestureRecognizer> T |
913 |
createDragGestureRecognizer(Class recognizer, DragSource ds, |
createDragGestureRecognizer(Class<T> recognizer, DragSource ds, |
914 |
Component comp, int actions, |
Component comp, int actions, |
915 |
DragGestureListener l) |
DragGestureListener l) |
916 |
{ |
{ |
1000 |
/** |
/** |
1001 |
* @since 1.3 |
* @since 1.3 |
1002 |
*/ |
*/ |
1003 |
public abstract Map mapInputMethodHighlight(InputMethodHighlight highlight); |
public abstract Map<TextAttribute,?> |
1004 |
|
mapInputMethodHighlight(InputMethodHighlight highlight); |
1005 |
} // class Toolkit |
} // class Toolkit |