當前位置: 首頁>>代碼示例>>Java>>正文


Java SwingUi類代碼示例

本文整理匯總了Java中org.netbeans.installer.wizard.ui.SwingUi的典型用法代碼示例。如果您正苦於以下問題:Java SwingUi類的具體用法?Java SwingUi怎麽用?Java SwingUi使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


SwingUi類屬於org.netbeans.installer.wizard.ui包,在下文中一共展示了SwingUi類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: updatePanel

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
/**
 *
 * @param panel
 */
public void updatePanel(final SwingUi panel) {            
    if (currentPanel != null) {                
        remove(currentPanel);
    }
    currentPanel = panel;
    
    if (panel.getTitle() != null) {
        titleLabel.setText(panel.getTitle());
        descriptionPane.setText(panel.getDescription());
        
        titlePanel.setVisible(true);
        topSeparator.setVisible(true);
        
        currentPanel.setOpaque(false);
    } else {
        titlePanel.setVisible(false);
        topSeparator.setVisible(false);
        
        currentPanel.setOpaque(true);
        currentPanel.setBackground(Color.WHITE);
    }
    
    add(currentPanel, BorderLayout.CENTER);
    
    validate();                         
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:31,代碼來源:SwingFrameContainer.java

示例2: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public SwingUi getSwingUi(final SwingContainer container) {
    if (swingUi == null) {
        swingUi = new WizardActionSwingUi(action, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:12,代碼來源:WizardAction.java

示例3: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
public SwingUi getSwingUi(final SwingContainer container) {
    if (swingUi == null) {
        swingUi = new WizardComponentSwingUi(component, container);
    }
    
    swingUi.initializeContainer();
    swingUi.initialize();
    
    return swingUi;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:14,代碼來源:WizardComponent.java

示例4: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new PostCreateBundleSummaryPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:PostCreateBundleSummaryPanel.java

示例5: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new DestinationPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:DestinationPanel.java

示例6: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new ComponentsSelectionPanelSwingUi(panel, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:8,代碼來源:ComponentsSelectionPanel.java

示例7: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new PreCreateBundleSummaryPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:PreCreateBundleSummaryPanel.java

示例8: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new ApplicationLocationPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:8,代碼來源:ApplicationLocationPanel.java

示例9: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new TextPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:8,代碼來源:TextPanel.java

示例10: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new PreInstallSummaryPanelSwingUi(panel, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:PreInstallSummaryPanel.java

示例11: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new LicensesPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:LicensesPanel.java

示例12: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new PostInstallSummaryPanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:PostInstallSummaryPanel.java

示例13: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new ErrorMessagePanelSwingUi(component, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:8,代碼來源:ErrorMessagePanel.java

示例14: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public SwingUi getSwingUi(final SwingContainer container) {
    if (swingUi == null) {
        swingUi = new WizardPanelSwingUi(panel, container);
    }
    
    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:12,代碼來源:WizardPanel.java

示例15: getSwingUi

import org.netbeans.installer.wizard.ui.SwingUi; //導入依賴的package包/類
@Override
public SwingUi getSwingUi(SwingContainer container) {
    if (swingUi == null) {
        swingUi = new WelcomePanelSwingUi(component, container);
    }

    return super.getSwingUi(container);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:9,代碼來源:WelcomePanel.java


注:本文中的org.netbeans.installer.wizard.ui.SwingUi類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。