< prev index next >

src/java.desktop/share/classes/sun/swing/SwingAccessor.java

Print this page




  72          * Calculates a custom drop location for the text component,
  73          * representing where a drop at the given point should insert data.
  74          */
  75         TransferHandler.DropLocation dropLocationForPoint(JTextComponent textComp, Point p);
  76 
  77         /**
  78          * Called to set or clear the drop location during a DnD operation.
  79          */
  80         Object setDropLocation(JTextComponent textComp, TransferHandler.DropLocation location,
  81                                Object state, boolean forDrop);
  82     }
  83 
  84     /**
  85      * An accessor for the JLightweightFrame class.
  86      */
  87     public interface JLightweightFrameAccessor {
  88         /**
  89          * Notifies the JLightweight frame that it needs to update a cursor
  90          */
  91         void updateCursor(JLightweightFrame frame);







  92     }
  93 
  94     /**
  95      * An accessor for the UIDefaults class.
  96      */
  97     public interface UIDefaultsAccessor {
  98         /**
  99          * Adds a resource bundle to the list of resource bundles.
 100          */
 101         void addInternalBundle(UIDefaults uiDefaults, String bundleName);
 102     }
 103 
 104     /**
 105      * An accessor for the RepaintManager class.
 106      */
 107     public interface RepaintManagerAccessor {
 108         void addRepaintListener(RepaintManager rm, SwingUtilities2.RepaintListener l);
 109         void removeRepaintListener(RepaintManager rm, SwingUtilities2.RepaintListener l);
 110     }
 111 




  72          * Calculates a custom drop location for the text component,
  73          * representing where a drop at the given point should insert data.
  74          */
  75         TransferHandler.DropLocation dropLocationForPoint(JTextComponent textComp, Point p);
  76 
  77         /**
  78          * Called to set or clear the drop location during a DnD operation.
  79          */
  80         Object setDropLocation(JTextComponent textComp, TransferHandler.DropLocation location,
  81                                Object state, boolean forDrop);
  82     }
  83 
  84     /**
  85      * An accessor for the JLightweightFrame class.
  86      */
  87     public interface JLightweightFrameAccessor {
  88         /**
  89          * Notifies the JLightweight frame that it needs to update a cursor
  90          */
  91         void updateCursor(JLightweightFrame frame);
  92 
  93         /**
  94          * Notifies the JLightweight frame embed to JavaFX stage about
  95          * its native toplevel window change
  96          */
  97 
  98         void overrideNativeWindowHandle(JLightweightFrame frame, long ptr);
  99     }
 100 
 101     /**
 102      * An accessor for the UIDefaults class.
 103      */
 104     public interface UIDefaultsAccessor {
 105         /**
 106          * Adds a resource bundle to the list of resource bundles.
 107          */
 108         void addInternalBundle(UIDefaults uiDefaults, String bundleName);
 109     }
 110 
 111     /**
 112      * An accessor for the RepaintManager class.
 113      */
 114     public interface RepaintManagerAccessor {
 115         void addRepaintListener(RepaintManager rm, SwingUtilities2.RepaintListener l);
 116         void removeRepaintListener(RepaintManager rm, SwingUtilities2.RepaintListener l);
 117     }
 118 


< prev index next >