Available Methods
- invokeLaterIfNeeded ( )
- isUnderDarcula ( )
- invokeAndWaitIfNeeded ( )
- drawLine ( )
- createImage ( )
- getLabelFont ( )
- isUnderNimbusLookAndFeel ( )
- setLineStyleAngled ( )
- getParentOfType ( )
- isUnderAquaLookAndFeel ( )
- isUnderGTKLookAndFeel ( )
- getClientProperty ( )
- dispatchAllInvocationEvents ( )
- drawDottedRectangle ( )
- findComponentOfType ( )
- getWindow ( )
- isRetina ( )
- isUnderIntelliJLaF ( )
- isFullRowSelectionLAF ( )
- getPanelBackground ( )
- getListForeground ( )
- putClientProperty ( )
- getTreeSelectionBackground ( )
- isUnderAquaBasedLookAndFeel ( )
- drawImage ( )
- getListSelectionBackground ( )
- HTML_MIME
- drawBoldDottedLine ( )
- setEnabled ( )
- getTreeSelectionForeground ( )
- isClientPropertyTrue ( )
- ComponentStyle ( )
- getListBackground ( )
- getInactiveTextColor ( )
- DEFAULT_VGAP
- isControlKeyDown ( )
- isFocusAncestor ( )
- findComponentsOfType ( )
- isJreHiDPI ( )
- getWarningIcon ( )
- drawSearchMatch ( )
- getTableBackground ( )
- changeBackGround ( )
- mergeComponentsWithAnchor ( )
- MNEMONIC
- getLabelBackground ( )
- findUltimateParent ( )
- getLabelForeground ( )
- isMurrineBasedTheme ( )
- uiTraverser ( )
- isReallyTypedEvent ( )
- isJreHiDPIEnabled ( )
- removeMnemonic ( )
- getInformationIcon ( )
- getBorderColor ( )
- TRANSPARENT_COLOR
Related Classes
- java.awt.image.BufferedImage
- javax.annotation.Nullable
- java.awt.event.ActionEvent
- java.awt.event.ActionListener
- javax.annotation.Nonnull
- java.awt.event.MouseEvent
- org.jetbrains.annotations.NotNull
- java.awt.event.KeyEvent
- java.awt.event.MouseAdapter
- org.jetbrains.annotations.Nullable
- javax.swing.border.EmptyBorder
- java.awt.event.KeyAdapter
- javax.swing.border.Border
- javax.swing.tree.TreePath
- com.intellij.openapi.project.Project
- com.intellij.openapi.vfs.VirtualFile
- com.intellij.openapi.actionSystem.AnAction
- com.intellij.openapi.application.ApplicationManager
- com.intellij.openapi.editor.Editor
- com.intellij.openapi.editor.Document
- com.intellij.openapi.util.text.StringUtil
- com.intellij.openapi.ui.Messages
- com.intellij.openapi.progress.ProgressIndicator
- com.intellij.icons.AllIcons
- com.intellij.openapi.util.Pair
Java Code Examples for com.intellij.util.ui.UIUtil#getLabelBackground()
The following examples show how to use
com.intellij.util.ui.UIUtil#getLabelBackground() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BreadcrumbsWrapper.java From consulo with Apache License 2.0 | 5 votes |
private void itemHovered(Crumb crumb, @SuppressWarnings("unused") InputEvent event) { if (!Registry.is("editor.breadcrumbs.highlight.on.hover")) { return; } HighlightManager hm = HighlightManager.getInstance(myProject); if (myHighlighed != null) { for (RangeHighlighter highlighter : myHighlighed) { hm.removeSegmentHighlighter(myEditor, highlighter); } myHighlighed = null; } if (crumb instanceof NavigatableCrumb) { final TextRange range = ((NavigatableCrumb)crumb).getHighlightRange(); if (range == null) return; final TextAttributes attributes = new TextAttributes(); final CrumbPresentation p = PsiCrumb.getPresentation(crumb); Color color = p == null ? null : p.getBackgroundColor(false, false, false); if (color == null) color = BreadcrumbsComponent.ButtonSettings.getBackgroundColor(false, false, false, false); if (color == null) color = UIUtil.getLabelBackground(); final Color background = EditorColorsManager.getInstance().getGlobalScheme().getColor(EditorColors.CARET_ROW_COLOR); attributes.setBackgroundColor(makeTransparent(color, background != null ? background : Gray._200, 0.3)); myHighlighed = new ArrayList<>(1); int flags = HighlightManager.HIDE_BY_ESCAPE | HighlightManager.HIDE_BY_TEXT_CHANGE | HighlightManager.HIDE_BY_ANY_KEY; hm.addOccurrenceHighlight(myEditor, range.getStartOffset(), range.getEndOffset(), attributes, flags, myHighlighed, null); } }
Example 2
Source File: HyperlinkLabel.java From consulo with Apache License 2.0 | 4 votes |
public HyperlinkLabel(String text) { this(text, JBColor.BLUE, UIUtil.getLabelBackground(), JBColor.BLUE); }