public abstract class GutterIconRenderer extends java.lang.Object implements GutterMark, PossiblyDumbAware, SimpleAccessible
equals is also important for instances used to specify gutter icons for inlays
(see EditorCustomElementRenderer.calcGutterIconRenderer(Inlay))
During indexing, methods are only invoked for renderers implementing DumbAware.| Modifier and Type | Class and Description |
|---|---|
static class |
GutterIconRenderer.Alignment |
| Constructor and Description |
|---|
GutterIconRenderer() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessibleName()
Returns a human-readable string that designates the purpose of the object.
|
java.lang.String |
getAccessibleTooltipText()
Returns the tooltip text or null when the tooltip is not available
|
GutterIconRenderer.Alignment |
getAlignment()
Defines positioning of the icon inside gutter's icon area.
|
AnAction |
getClickAction()
Returns the action executed when the icon is left-clicked.
|
GutterDraggableObject |
getDraggableObject()
Returns the callback which can be used to handle drag and drop of the gutter icon.
|
java.lang.String |
getFeatureId() |
AnAction |
getMiddleButtonClickAction()
Returns the action executed when the icon is middle-clicked.
|
ActionGroup |
getPopupMenuActions()
Returns the action group actions from which are used to fill the context menu
displayed when the icon is right-clicked.
|
AnAction |
getRightButtonClickAction()
Returns the action executed when the icon is right-clicked.
|
java.lang.String |
getTooltipText()
Returns the text of the tooltip displayed when the mouse is over the icon.
|
abstract int |
hashCode() |
boolean |
isNavigateAction()
Returns the value indicating whether the hand cursor should be displayed when the mouse
is hovering over the icon.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIconisDumbAwarepublic ActionGroup getPopupMenuActions()
getRightButtonClickAction()public java.lang.String getTooltipText()
getTooltipText in interface GutterMarkpublic AnAction getClickAction()
public AnAction getMiddleButtonClickAction()
public AnAction getRightButtonClickAction()
getPopupMenuActions()public boolean isNavigateAction()
public GutterIconRenderer.Alignment getAlignment()
GutterMarkPreprocessor).public GutterDraggableObject getDraggableObject()
public java.lang.String getAccessibleName()
SimpleAccessiblegetAccessibleName in interface SimpleAccessiblepublic final java.lang.String getFeatureId()
public java.lang.String getAccessibleTooltipText()
SimpleAccessiblegetAccessibleTooltipText in interface SimpleAccessiblepublic abstract boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic abstract int hashCode()
hashCode in class java.lang.Object