8046445: Fix doclint warnings for javax.swing.plaf.multi
Reviewed-by: alexsch
This commit is contained in:
parent
cc269950df
commit
07289a2d98
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiButtonUI extends ButtonUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiButtonUI extends ButtonUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiButtonUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiColorChooserUI extends ColorChooserUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiColorChooserUI extends ColorChooserUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiColorChooserUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,8 @@ public class MultiComboBoxUI extends ComboBoxUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -138,6 +140,9 @@ public class MultiComboBoxUI extends ComboBoxUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiComboBoxUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiDesktopIconUI extends DesktopIconUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiDesktopIconUI extends DesktopIconUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiDesktopIconUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiDesktopPaneUI extends DesktopPaneUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiDesktopPaneUI extends DesktopPaneUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiDesktopPaneUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -62,6 +62,8 @@ public class MultiFileChooserUI extends FileChooserUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -181,6 +183,9 @@ public class MultiFileChooserUI extends FileChooserUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiFileChooserUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiInternalFrameUI extends InternalFrameUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiInternalFrameUI extends InternalFrameUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiInternalFrameUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiLabelUI extends LabelUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiLabelUI extends LabelUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiLabelUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,6 +60,8 @@ public class MultiListUI extends ListUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -146,6 +148,9 @@ public class MultiListUI extends ListUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiListUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiMenuBarUI extends MenuBarUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiMenuBarUI extends MenuBarUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiMenuBarUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,8 @@ public class MultiMenuItemUI extends MenuItemUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -103,6 +105,9 @@ public class MultiMenuItemUI extends MenuItemUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiMenuItemUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,8 @@ public class MultiOptionPaneUI extends OptionPaneUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -123,6 +125,9 @@ public class MultiOptionPaneUI extends OptionPaneUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiOptionPaneUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiPanelUI extends PanelUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiPanelUI extends PanelUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiPanelUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,6 +60,8 @@ public class MultiPopupMenuUI extends PopupMenuUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -133,6 +135,9 @@ public class MultiPopupMenuUI extends PopupMenuUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiPopupMenuUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiProgressBarUI extends ProgressBarUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiProgressBarUI extends ProgressBarUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiProgressBarUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,8 @@ public class MultiRootPaneUI extends RootPaneUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -99,6 +101,9 @@ public class MultiRootPaneUI extends RootPaneUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiRootPaneUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiScrollBarUI extends ScrollBarUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiScrollBarUI extends ScrollBarUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiScrollBarUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiScrollPaneUI extends ScrollPaneUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiScrollPaneUI extends ScrollPaneUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiScrollPaneUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiSeparatorUI extends SeparatorUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiSeparatorUI extends SeparatorUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiSeparatorUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiSliderUI extends SliderUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -96,8 +98,11 @@ public class MultiSliderUI extends SliderUI {
|
||||
|
||||
/**
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiSliderUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,8 @@ public class MultiSpinnerUI extends SpinnerUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -99,6 +101,9 @@ public class MultiSpinnerUI extends SpinnerUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiSpinnerUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,8 @@ public class MultiSplitPaneUI extends SplitPaneUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -171,6 +173,9 @@ public class MultiSplitPaneUI extends SplitPaneUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiSplitPaneUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -59,6 +59,8 @@ public class MultiTabbedPaneUI extends TabbedPaneUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -145,6 +147,9 @@ public class MultiTabbedPaneUI extends TabbedPaneUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiTabbedPaneUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiTableHeaderUI extends TableHeaderUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiTableHeaderUI extends TableHeaderUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiTableHeaderUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiTableUI extends TableUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiTableUI extends TableUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiTableUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -65,6 +65,8 @@ public class MultiTextUI extends TextUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -248,6 +250,9 @@ public class MultiTextUI extends TextUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiTextUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiToolBarUI extends ToolBarUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiToolBarUI extends ToolBarUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiToolBarUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiToolTipUI extends ToolTipUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiToolTipUI extends ToolTipUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiToolTipUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,6 +60,8 @@ public class MultiTreeUI extends TreeUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -239,6 +241,9 @@ public class MultiTreeUI extends TreeUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiTreeUI();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,6 +57,8 @@ public class MultiViewportUI extends ViewportUI {
|
||||
* Returns the list of UIs associated with this multiplexing UI. This
|
||||
* allows processing of the UIs by an application aware of multiplexing
|
||||
* UIs on components.
|
||||
*
|
||||
* @return an array of the UI delegates
|
||||
*/
|
||||
public ComponentUI[] getUIs() {
|
||||
return MultiLookAndFeel.uisToArray(uis);
|
||||
@ -98,6 +100,9 @@ public class MultiViewportUI extends ViewportUI {
|
||||
* Returns a multiplexing UI instance if any of the auxiliary
|
||||
* <code>LookAndFeel</code>s supports this UI. Otherwise, just returns the
|
||||
* UI object obtained from the default <code>LookAndFeel</code>.
|
||||
*
|
||||
* @param a the component to create the UI for
|
||||
* @return the UI delegate created
|
||||
*/
|
||||
public static ComponentUI createUI(JComponent a) {
|
||||
ComponentUI mui = new MultiViewportUI();
|
||||
|
Loading…
x
Reference in New Issue
Block a user