/[classpath]/classpath/javax/swing/JTabbedPane.java
ViewVC logotype

Diff of /classpath/javax/swing/JTabbedPane.java

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

revision 1.20 by rabbit78, Wed Sep 14 09:34:42 2005 UTC revision 1.21 by rabbit78, Wed Sep 14 09:44:28 2005 UTC
# Line 879  public class JTabbedPane extends JCompon Line 879  public class JTabbedPane extends JCompon
879     * This method inserts tabs into JTabbedPane. This includes adding the     * This method inserts tabs into JTabbedPane. This includes adding the
880     * component to the JTabbedPane and hiding it.     * component to the JTabbedPane and hiding it.
881     *     *
882     * @param title The title of the tab.     * @param title the title of the tab; may be <code>null</code>
883     * @param icon The tab's icon.     * @param icon the tab's icon; may be <code>null</code>
884     * @param component The component associated with the tab.     * @param component the component associated with the tab
885     * @param tip The tooltip for the tab.     * @param tip the tooltip for the tab
886     * @param index The index to insert the tab at.     * @param index the index to insert the tab at
887     */     */
888    public void insertTab(String title, Icon icon, Component component,    public void insertTab(String title, Icon icon, Component component,
889                          String tip, int index)                          String tip, int index)
# Line 911  public class JTabbedPane extends JCompon Line 911  public class JTabbedPane extends JCompon
911    /**    /**
912     * This method adds a tab to the JTabbedPane.     * This method adds a tab to the JTabbedPane.
913     *     *
914     * @param title The title of the tab.     * @param title the title of the tab; may be <code>null</code>
915     * @param icon The icon for the tab.     * @param icon the icon for the tab; may be <code>null</code>
916     * @param component The associated component.     * @param component the associated component
917     * @param tip The associated tooltip.     * @param tip the associated tooltip
918     */     */
919    public void addTab(String title, Icon icon, Component component, String tip)    public void addTab(String title, Icon icon, Component component, String tip)
920    {    {
# Line 924  public class JTabbedPane extends JCompon Line 924  public class JTabbedPane extends JCompon
924    /**    /**
925     * This method adds a tab to the JTabbedPane.     * This method adds a tab to the JTabbedPane.
926     *     *
927     * @param title The title of the tab.     * @param title the title of the tab; may be <code>null</code>
928     * @param icon The icon for the tab.     * @param icon the icon for the tab; may be <code>null</code>
929     * @param component The associated component.     * @param component the associated component
930     */     */
931    public void addTab(String title, Icon icon, Component component)    public void addTab(String title, Icon icon, Component component)
932    {    {
# Line 936  public class JTabbedPane extends JCompon Line 936  public class JTabbedPane extends JCompon
936    /**    /**
937     * This method adds a tab to the JTabbedPane.     * This method adds a tab to the JTabbedPane.
938     *     *
939     * @param title The title of the tab.     * @param title the title of the tab; may be <code>null</code>
940     * @param component The associated component.     * @param component the associated component
941     */     */
942    public void addTab(String title, Component component)    public void addTab(String title, Component component)
943    {    {
# Line 968  public class JTabbedPane extends JCompon Line 968  public class JTabbedPane extends JCompon
968     * instance of UIResource, it doesn't add the tab and instead add the     * instance of UIResource, it doesn't add the tab and instead add the
969     * component directly to the JTabbedPane.     * component directly to the JTabbedPane.
970     *     *
971     * @param title The title of the tab.     * @param title the title of the tab; may be <code>null</code>
972     * @param component The associated component.     * @param component the associated component
973     *     *
974     * @return The Component that was added.     * @return The Component that was added.
975     */     */

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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