コード例 #1
0
 /*     */ public static ComponentUI createUI(JComponent paramJComponent) /*     */ {
   /* 128 */ MultiOptionPaneUI localMultiOptionPaneUI = new MultiOptionPaneUI();
   /* 129 */ return MultiLookAndFeel.createUIs(
       localMultiOptionPaneUI, ((MultiOptionPaneUI) localMultiOptionPaneUI).uis, paramJComponent);
   /*     */ }
コード例 #2
0
 public static ComponentUI createUI(JComponent a) {
   MultiColorChooserUI mui = new MultiColorChooserUI();
   ComponentUI result = MultiLookAndFeel.createUIs(mui, mui.uis, a);
   mui.numberOfUIs = mui.uis.size();
   return result;
 }
コード例 #3
0
 /**
  * {@collect.stats} 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>.
  */
 public static ComponentUI createUI(JComponent a) {
   ComponentUI mui = new MultiMenuItemUI();
   return MultiLookAndFeel.createUIs(mui, ((MultiMenuItemUI) mui).uis, a);
 }
コード例 #4
0
ファイル: MultiToolBarUI.java プロジェクト: Blueash/gcc
 /**
  * Creates a delegate object for the specified component. If any auxiliary look and feels support
  * this component, a <code>MultiToolBarUI</code> is returned, otherwise the UI from the default
  * look and feel is returned.
  *
  * @param target the component.
  * @see MultiLookAndFeel#createUIs(ComponentUI, Vector, JComponent)
  */
 public static ComponentUI createUI(JComponent target) {
   MultiToolBarUI mui = new MultiToolBarUI();
   return MultiLookAndFeel.createUIs(mui, mui.uis, target);
 }