本文整理了Java中javax.swing.UIManager.getUI()
方法的一些代码示例,展示了UIManager.getUI()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UIManager.getUI()
方法的具体详情如下:
包路径:javax.swing.UIManager
类名称:UIManager
方法名:getUI
暂无
代码示例来源:origin: stackoverflow.com
setUI((MenuItemUI) UIManager.getUI(this));
popupMenu.setUI((PopupMenuUI) UIManager.getUI(popupMenu));
代码示例来源:origin: com.synaptix/SynaptixWidget
@Override
public void updateUI() {
super.updateUI();
setUI(UIManager.getUI(this));
}
代码示例来源:origin: com.synaptix/SynaptixWidget
@Override
public void updateUI() {
super.updateUI();
setUI(UIManager.getUI(this));
}
代码示例来源:origin: com.synaptix/SynaptixWidget
@Override
public void updateUI() {
super.updateUI();
setUI(UIManager.getUI(this));
}
代码示例来源:origin: apache/batik
private static void paintComponent(JComponent cmp, SVGGraphics2D svgGen){
ComponentUI ui = UIManager.getUI(cmp);
if(ui != null){
ui.installUI(cmp);
ui.update(svgGen, cmp);
}
}
代码示例来源:origin: com.jidesoft/jide-oss
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
@Override
public void updateUI() {
if (UIDefaultsLookup.get(uiClassID) == null) {
LookAndFeelFactory.installJideExtension();
}
setUI(UIManager.getUI(this));
}
代码示例来源:origin: com.jidesoft/jide-oss
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
@Override
public void updateUI() {
if (UIDefaultsLookup.get(uiClassID) == null) {
LookAndFeelFactory.installJideExtension();
}
setUI(UIManager.getUI(this));
}
代码示例来源:origin: org.gephi/ui-components
@Override
public void updateUI() {
if (UIManager.get(getUIClassID()) != null) {
setUI((RichTooltipPanelUI) UIManager.getUI(this));
} else {
setUI(BasicRichTooltipPanelUI.createUI(this));
}
}
代码示例来源:origin: com.github.insubstantial/flamingo
@Override
public void updateUI() {
if (UIManager.get(getUIClassID()) != null) {
setUI((BreadcrumbBarUI) UIManager.getUI(this));
} else {
setUI(new BasicBreadcrumbBarUI());
}
}
代码示例来源:origin: com.github.insubstantial/flamingo
@Override
public void updateUI() {
if (UIManager.get(getUIClassID()) != null) {
setUI((RichTooltipPanelUI) UIManager.getUI(this));
} else {
setUI(BasicRichTooltipPanelUI.createUI(this));
}
}
代码示例来源:origin: com.github.insubstantial/flamingo
@Override
public void updateUI() {
if (UIManager.get(getUIClassID()) != null) {
setUI((BasicCommandButtonUI) UIManager.getUI(this));
} else {
setUI(BasicRibbonApplicationMenuButtonUI.createUI(this));
}
}
代码示例来源:origin: com.github.insubstantial/flamingo
@Override
public void updateUI() {
if (UIManager.get(getUIClassID()) != null) {
setUI((PopupPanelUI) UIManager.getUI(this));
} else {
setUI(BasicCommandPopupMenuUI.createUI(this));
}
}
代码示例来源:origin: com.github.insubstantial/flamingo
@Override
public void updateUI() {
if (UIManager.get(getUIClassID()) != null) {
setUI((BasicPopupPanelUI) UIManager.getUI(this));
} else {
setUI(BasicRibbonApplicationMenuPopupPanelUI.createUI(this));
}
}
代码示例来源:origin: com.synaptix/SynaptixSwing
public void updateUI() {
setUI((SimpleDaysTimelineResourceHeaderUI) UIManager.getUI(this));
SimpleDaysTimelineResourceRenderer renderer = getDefaultRenderer();
if (!(renderer instanceof UIResource) && renderer instanceof Component) {
SwingUtilities.updateComponentTreeUI((Component) renderer);
}
}
代码示例来源:origin: com.synaptix/SynaptixSwing
/**
* Notification from the <code>UIManager</code> that the look and feel
* (L&F) has changed. Replaces the current UI object with the latest version
* from the <code>UIManager</code>.
*
* @see JComponent#updateUI
*/
public void updateUI() {
setUI((SyTableFooterUI) UIManager.getUI(this));
resizeAndRepaint();
invalidate();// PENDING
}
代码示例来源:origin: javax.help/javahelp
/**
* Replaces the UI with the latest version from the default
* UIFactory.
*
* @overrides updateUI in class JComponent
*/
public void updateUI() {
SwingHelpUtilities.installUIDefaults();
setUI((HelpUI)UIManager.getUI(this));
invalidate();
}
代码示例来源:origin: javax.help/javahelp
/**
* Replaces the UI with the latest version from the default
* UIFactory.
*
* @overrides updateUI in class JComponent
*/
public void updateUI() {
SwingHelpUtilities.installUIDefaults();
setUI((HelpContentViewerUI)UIManager.getUI(this));
invalidate();
}
代码示例来源:origin: com.jidesoft/jide-oss
/**
* Resets the UI property to a value from the current look and feel.
*
* @see javax.swing.JComponent#updateUI
*/
@Override
public void updateUI() {
if (UIDefaultsLookup.get(uiClassID) == null) {
LookAndFeelFactory.installJideExtension();
}
setUI(UIManager.getUI(this));
}
代码示例来源:origin: com.jidesoft/jide-oss
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
@Override
public void updateUI() {
if (UIDefaultsLookup.get(uiClassID) == null) {
LookAndFeelFactory.installJideExtension();
}
setUI((TabbedPaneUI) UIManager.getUI(JideTabbedPane.this));
}
代码示例来源:origin: com.jidesoft/jide-oss
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
@Override
public void updateUI() {
if (UIDefaultsLookup.get(uiClassID) == null) {
LookAndFeelFactory.installJideExtension();
}
setUI(UIManager.getUI(this));
}
内容来源于网络,如有侵权,请联系作者删除!