jdk/src/java.desktop/share/classes/javax/swing/JComponent.java
changeset 28236 610561ed1847
parent 28231 b608ffcaed74
parent 28059 e576535359cc
child 28975 a492b5c5dc53
equal deleted inserted replaced
28234:f694f2576719 28236:610561ed1847
  1880         }
  1880         }
  1881         return super.getAlignmentY();
  1881         return super.getAlignmentY();
  1882     }
  1882     }
  1883 
  1883 
  1884     /**
  1884     /**
  1885      * Sets the the horizontal alignment.
  1885      * Sets the horizontal alignment.
  1886      *
  1886      *
  1887      * @param alignmentY  the new horizontal alignment
  1887      * @param alignmentY  the new horizontal alignment
  1888      * @see #getAlignmentY
  1888      * @see #getAlignmentY
  1889      * @beaninfo
  1889      * @beaninfo
  1890      *   description: The preferred vertical alignment of the component.
  1890      *   description: The preferred vertical alignment of the component.
  1909         }
  1909         }
  1910         return super.getAlignmentX();
  1910         return super.getAlignmentX();
  1911     }
  1911     }
  1912 
  1912 
  1913     /**
  1913     /**
  1914      * Sets the the vertical alignment.
  1914      * Sets the vertical alignment.
  1915      *
  1915      *
  1916      * @param alignmentX  the new vertical alignment
  1916      * @param alignmentX  the new vertical alignment
  1917      * @see #getAlignmentX
  1917      * @see #getAlignmentX
  1918      * @beaninfo
  1918      * @beaninfo
  1919      *   description: The preferred horizontal alignment of the component.
  1919      *   description: The preferred horizontal alignment of the component.
  4797 
  4797 
  4798 
  4798 
  4799     /**
  4799     /**
  4800      * Notifies this component that it no longer has a parent component.
  4800      * Notifies this component that it no longer has a parent component.
  4801      * When this method is invoked, any <code>KeyboardAction</code>s
  4801      * When this method is invoked, any <code>KeyboardAction</code>s
  4802      * set up in the the chain of parent components are removed.
  4802      * set up in the chain of parent components are removed.
  4803      * This method is called by the toolkit internally and should
  4803      * This method is called by the toolkit internally and should
  4804      * not be called directly by programs.
  4804      * not be called directly by programs.
  4805      *
  4805      *
  4806      * @see #registerKeyboardAction
  4806      * @see #registerKeyboardAction
  4807      */
  4807      */
  5574      * <code>ObjectOutputStream</code> we temporarily uninstall its UI.
  5574      * <code>ObjectOutputStream</code> we temporarily uninstall its UI.
  5575      * This is tricky to do because we want to uninstall
  5575      * This is tricky to do because we want to uninstall
  5576      * the UI before any of the <code>JComponent</code>'s children
  5576      * the UI before any of the <code>JComponent</code>'s children
  5577      * (or its <code>LayoutManager</code> etc.) are written,
  5577      * (or its <code>LayoutManager</code> etc.) are written,
  5578      * and we don't want to restore the UI until the most derived
  5578      * and we don't want to restore the UI until the most derived
  5579      * <code>JComponent</code> subclass has been been stored.
  5579      * <code>JComponent</code> subclass has been stored.
  5580      *
  5580      *
  5581      * @param s the <code>ObjectOutputStream</code> in which to write
  5581      * @param s the <code>ObjectOutputStream</code> in which to write
  5582      */
  5582      */
  5583     private void writeObject(ObjectOutputStream s) throws IOException {
  5583     private void writeObject(ObjectOutputStream s) throws IOException {
  5584         s.defaultWriteObject();
  5584         s.defaultWriteObject();