Java 类com.intellij.ui.UI 实例源码

项目:consulo    文件:CommitPanel.java   
private void customizeLinksStyle() {
  Document document = getDocument();
  if (document instanceof HTMLDocument) {
    StyleSheet styleSheet = ((HTMLDocument)document).getStyleSheet();
    String linkColor = "#" + ColorUtil.toHex(UI.getColor("link.foreground"));
    styleSheet.addRule("a { color: " + linkColor + "; text-decoration: none;}");
  }
}
项目:intellij-ce-playground    文件:CalloutComponent.java   
private Color getFillColor() {
  return UI.getColor("callout.background");
}
项目:intellij-ce-playground    文件:CalloutComponent.java   
private Color getBoundsColor() {
  return UI.getColor("callout.frame.color");
}
项目:intellij-ce-playground    文件:LinkLabel.java   
protected Color getVisited() {
  return UI.getColor("link.visited.foreground");
}
项目:intellij-ce-playground    文件:LinkLabel.java   
protected Color getActive() {
  return UI.getColor("link.pressed.foreground");
}
项目:intellij-ce-playground    文件:LinkLabel.java   
protected Color getNormal() {
  return UI.getColor("link.foreground");
}
项目:google-cloud-intellij    文件:CloudDebugHistoricalSnapshots.java   
MoreCellRenderer() {
  setHorizontalAlignment(SwingConstants.LEFT);
  setForeground(UI.getColor("link.foreground"));
}
项目:tools-idea    文件:CalloutComponent.java   
private Color getFillColor() {
  return UI.getColor("callout.background");
}
项目:tools-idea    文件:CalloutComponent.java   
private Color getBoundsColor() {
  return UI.getColor("callout.frame.color");
}
项目:tools-idea    文件:LinkLabel.java   
protected Color getVisited() {
  return UI.getColor("link.visited.foreground");
}
项目:tools-idea    文件:LinkLabel.java   
protected Color getActive() {
  return UI.getColor("link.pressed.foreground");
}
项目:tools-idea    文件:LinkLabel.java   
protected Color getNormal() {
  return UI.getColor("link.foreground");
}
项目:consulo    文件:CalloutComponent.java   
private Color getFillColor() {
  return UI.getColor("callout.background");
}
项目:consulo    文件:CalloutComponent.java   
private Color getBoundsColor() {
  return UI.getColor("callout.frame.color");
}
项目:consulo    文件:LinkLabel.java   
protected Color getVisited() {
  return UI.getColor("link.visited.foreground");
}
项目:consulo    文件:LinkLabel.java   
protected Color getActive() {
  return UI.getColor("link.pressed.foreground");
}
项目:consulo    文件:LinkLabel.java   
protected Color getNormal() {
  return UI.getColor("link.foreground");
}
项目:consulo-java    文件:VisibilityModifierChooser.java   
@Override
public void setForeground(Color fg)
{
    super.setForeground(isEnabled() ? UI.getColor("link.foreground") : fg);
}