jdk/src/java.desktop/share/classes/javax/swing/JComponent.java
changeset 28059 e576535359cc
parent 27280 aef87d3ee9cd
child 28236 610561ed1847
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
  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      */
  5573      * <code>ObjectOutputStream</code> we temporarily uninstall its UI.
  5573      * <code>ObjectOutputStream</code> we temporarily uninstall its UI.
  5574      * This is tricky to do because we want to uninstall
  5574      * This is tricky to do because we want to uninstall
  5575      * the UI before any of the <code>JComponent</code>'s children
  5575      * the UI before any of the <code>JComponent</code>'s children
  5576      * (or its <code>LayoutManager</code> etc.) are written,
  5576      * (or its <code>LayoutManager</code> etc.) are written,
  5577      * and we don't want to restore the UI until the most derived
  5577      * and we don't want to restore the UI until the most derived
  5578      * <code>JComponent</code> subclass has been been stored.
  5578      * <code>JComponent</code> subclass has been stored.
  5579      *
  5579      *
  5580      * @param s the <code>ObjectOutputStream</code> in which to write
  5580      * @param s the <code>ObjectOutputStream</code> in which to write
  5581      */
  5581      */
  5582     private void writeObject(ObjectOutputStream s) throws IOException {
  5582     private void writeObject(ObjectOutputStream s) throws IOException {
  5583         s.defaultWriteObject();
  5583         s.defaultWriteObject();