本文整理汇总了Java中com.intellij.ide.navigationToolbar.ui.NavBarUIManager类的典型用法代码示例。如果您正苦于以下问题:Java NavBarUIManager类的具体用法?Java NavBarUIManager怎么用?Java NavBarUIManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
NavBarUIManager类属于com.intellij.ide.navigationToolbar.ui包,在下文中一共展示了NavBarUIManager类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getComponent
import com.intellij.ide.navigationToolbar.ui.NavBarUIManager; //导入依赖的package包/类
@Override
public JComponent getComponent() {
if (myWrapperPanel == null) {
myWrapperPanel = new NavBarWrapperPanel(new BorderLayout()) {
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
NavBarUIManager.getUI().doPaintWrapperPanel((Graphics2D)g, getBounds(), isMainToolbarVisible());
}
@Override
public Insets getInsets() {
return NavBarUIManager.getUI().getWrapperPanelInsets(super.getInsets());
}
};
myWrapperPanel.add(buildNavBarPanel(), BorderLayout.CENTER);
toggleRunPanel(!UISettings.getInstance().SHOW_MAIN_TOOLBAR && !UISettings.getInstance().PRESENTATION_MODE);
}
return myWrapperPanel;
}
示例2: getComponent
import com.intellij.ide.navigationToolbar.ui.NavBarUIManager; //导入依赖的package包/类
@Override
public JComponent getComponent() {
if (myWrapperPanel == null) {
myWrapperPanel = new NavBarWrapperPanel(new BorderLayout()) {
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
NavBarUIManager.getUI().doPaintWrapperPanel((Graphics2D)g, getBounds(), isMainToolbarVisible());
}
@Override
public Insets getInsets() {
return NavBarUIManager.getUI().getWrapperPanelInsets(super.getInsets());
}
};
myWrapperPanel.add(buildNavBarPanel(), BorderLayout.CENTER);
toggleRunPanel(!UISettings.getInstance().getShowMainToolbar() && !UISettings.getInstance().getPresentationMode());
}
return myWrapperPanel;
}
示例3: getNavBarUI
import com.intellij.ide.navigationToolbar.ui.NavBarUIManager; //导入依赖的package包/类
@SuppressWarnings("MethodMayBeStatic")
@NotNull
public NavBarUI getNavBarUI() {
return NavBarUIManager.getUI();
}
示例4: getNavBarUI
import com.intellij.ide.navigationToolbar.ui.NavBarUIManager; //导入依赖的package包/类
@SuppressWarnings("MethodMayBeStatic")
@Nonnull
public NavBarUI getNavBarUI() {
return NavBarUIManager.getUI();
}