/[classpath]/classpath/java/awt/Toolkit.java
ViewVC logotype

Diff of /classpath/java/awt/Toolkit.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25.2.6 by gnu_andrew, Sun Aug 7 18:34:10 2005 UTC revision 1.25.2.7 by gnu_andrew, Wed Sep 28 17:50:19 2005 UTC
# Line 47  import java.awt.dnd.DragSource; Line 47  import java.awt.dnd.DragSource;
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;
# Line 76  import java.awt.peer.WindowPeer; Line 77  import java.awt.peer.WindowPeer;
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    
# Line 108  public abstract class Toolkit Line 110  public abstract class Toolkit
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);
# Line 906  public abstract class Toolkit Line 909  public abstract class Toolkit
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    {    {
# Line 997  public abstract class Toolkit Line 1000  public abstract class Toolkit
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

Legend:
Removed from v.1.25.2.6  
changed lines
  Added in v.1.25.2.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26