当前位置: 首页>>代码示例>>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;未经允许,请勿转载。