jdk/src/share/classes/javax/swing/plaf/basic/BasicInternalFrameUI.java
changeset 21278 ef8a3a2a72f2
parent 20169 d7fa6d7586c9
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   475         eastPane = c;
   475         eastPane = c;
   476     }
   476     }
   477 
   477 
   478     public class InternalFramePropertyChangeListener implements
   478     public class InternalFramePropertyChangeListener implements
   479         PropertyChangeListener {
   479         PropertyChangeListener {
   480         // NOTE: This class exists only for backward compatability. All
   480         // NOTE: This class exists only for backward compatibility. All
   481         // its functionality has been moved into Handler. If you need to add
   481         // its functionality has been moved into Handler. If you need to add
   482         // new functionality add it to the Handler, but make sure this
   482         // new functionality add it to the Handler, but make sure this
   483         // class calls into the Handler.
   483         // class calls into the Handler.
   484         /**
   484         /**
   485          * Detects changes in state from the JInternalFrame and handles
   485          * Detects changes in state from the JInternalFrame and handles
   489             getHandler().propertyChange(evt);
   489             getHandler().propertyChange(evt);
   490         }
   490         }
   491     }
   491     }
   492 
   492 
   493   public class InternalFrameLayout implements LayoutManager {
   493   public class InternalFrameLayout implements LayoutManager {
   494     // NOTE: This class exists only for backward compatability. All
   494     // NOTE: This class exists only for backward compatibility. All
   495     // its functionality has been moved into Handler. If you need to add
   495     // its functionality has been moved into Handler. If you need to add
   496     // new functionality add it to the Handler, but make sure this
   496     // new functionality add it to the Handler, but make sure this
   497     // class calls into the Handler.
   497     // class calls into the Handler.
   498     public void addLayoutComponent(String name, Component c) {
   498     public void addLayoutComponent(String name, Component c) {
   499         getHandler().addLayoutComponent(name, c);
   499         getHandler().addLayoutComponent(name, c);
  1091         }
  1091         }
  1092 
  1092 
  1093     }    /// End BorderListener Class
  1093     }    /// End BorderListener Class
  1094 
  1094 
  1095     protected class ComponentHandler implements ComponentListener {
  1095     protected class ComponentHandler implements ComponentListener {
  1096       // NOTE: This class exists only for backward compatability. All
  1096       // NOTE: This class exists only for backward compatibility. All
  1097       // its functionality has been moved into Handler. If you need to add
  1097       // its functionality has been moved into Handler. If you need to add
  1098       // new functionality add it to the Handler, but make sure this
  1098       // new functionality add it to the Handler, but make sure this
  1099       // class calls into the Handler.
  1099       // class calls into the Handler.
  1100       /** Invoked when a JInternalFrame's parent's size changes. */
  1100       /** Invoked when a JInternalFrame's parent's size changes. */
  1101       public void componentResized(ComponentEvent e) {
  1101       public void componentResized(ComponentEvent e) {
  1117       return getHandler();
  1117       return getHandler();
  1118     }
  1118     }
  1119 
  1119 
  1120 
  1120 
  1121     protected class GlassPaneDispatcher implements MouseInputListener {
  1121     protected class GlassPaneDispatcher implements MouseInputListener {
  1122         // NOTE: This class exists only for backward compatability. All
  1122         // NOTE: This class exists only for backward compatibility. All
  1123         // its functionality has been moved into Handler. If you need to add
  1123         // its functionality has been moved into Handler. If you need to add
  1124         // new functionality add it to the Handler, but make sure this
  1124         // new functionality add it to the Handler, but make sure this
  1125         // class calls into the Handler.
  1125         // class calls into the Handler.
  1126         public void mousePressed(MouseEvent e) {
  1126         public void mousePressed(MouseEvent e) {
  1127             getHandler().mousePressed(e);
  1127             getHandler().mousePressed(e);
  1157     }
  1157     }
  1158 
  1158 
  1159 
  1159 
  1160     protected class BasicInternalFrameListener implements InternalFrameListener
  1160     protected class BasicInternalFrameListener implements InternalFrameListener
  1161     {
  1161     {
  1162       // NOTE: This class exists only for backward compatability. All
  1162       // NOTE: This class exists only for backward compatibility. All
  1163       // its functionality has been moved into Handler. If you need to add
  1163       // its functionality has been moved into Handler. If you need to add
  1164       // new functionality add it to the Handler, but make sure this
  1164       // new functionality add it to the Handler, but make sure this
  1165       // class calls into the Handler.
  1165       // class calls into the Handler.
  1166       public void internalFrameClosing(InternalFrameEvent e) {
  1166       public void internalFrameClosing(InternalFrameEvent e) {
  1167           getHandler().internalFrameClosing(e);
  1167           getHandler().internalFrameClosing(e);