public abstract class EditorGutterComponentEx extends javax.swing.JComponent implements EditorGutter
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static DataKey<java.awt.Point> |
ICON_CENTER_POSITION
The key to retrieve a editor gutter icon center position of a latest actionable click inside the gutter.
|
static DataKey<java.lang.Integer> |
LOGICAL_LINE_AT_CURSOR
The key to retrieve a logical editor line position of a latest actionable click inside the gutter.
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
KEY
Constructor and Description |
---|
EditorGutterComponentEx() |
Modifier and Type | Method and Description |
---|---|
abstract FoldRegion |
findFoldingAnchorAt(int x,
int y) |
abstract int |
getAnnotationsAreaOffset() |
abstract int |
getAnnotationsAreaWidth() |
abstract java.awt.Point |
getCenterPoint(GutterIconRenderer renderer) |
GutterMark |
getGutterRenderer(java.awt.Point p) |
abstract java.util.List<GutterMark> |
getGutterRenderers(int line) |
abstract int |
getIconAreaOffset() |
abstract int |
getIconsAreaWidth() |
abstract int |
getLineMarkerAreaOffset() |
abstract int |
getLineMarkerFreePaintersAreaOffset() |
abstract int |
getWhitespaceSeparatorOffset() |
abstract void |
revalidateMarkup() |
abstract void |
setCanCloseAnnotations(boolean canCloseAnnotations)
When set to false, makes
EditorGutter.closeAllAnnotations() a no-op and hides the corresponding context menu action. |
abstract void |
setForceShowLeftFreePaintersArea(boolean value) |
abstract void |
setForceShowRightFreePaintersArea(boolean value) |
abstract void |
setGutterPopupGroup(ActionGroup group) |
abstract void |
setInitialIconAreaWidth(int width) |
void |
setLineNumberConvertor(TIntFunction lineNumberConvertor)
Deprecated.
|
void |
setLineNumberConvertor(TIntFunction convertor1,
TIntFunction convertor2)
Deprecated.
|
abstract void |
setPaintBackground(boolean value) |
abstract void |
setShowDefaultGutterPopup(boolean show) |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
closeAllAnnotations, closeTextAnnotations, getTextAnnotations, isAnnotationsShown, registerTextAnnotation, registerTextAnnotation, setLineNumberConverter, setLineNumberConverter
public static final DataKey<java.lang.Integer> LOGICAL_LINE_AT_CURSOR
setGutterPopupGroup(ActionGroup)
,
GutterIconRenderer.getPopupMenuActions()
, TextAnnotationGutterProvider.getPopupActions(int, Editor)
)public static final DataKey<java.awt.Point> ICON_CENTER_POSITION
setGutterPopupGroup(ActionGroup)
,
GutterIconRenderer.getPopupMenuActions()
, TextAnnotationGutterProvider.getPopupActions(int, Editor)
)public abstract FoldRegion findFoldingAnchorAt(int x, int y)
public abstract java.util.List<GutterMark> getGutterRenderers(int line)
public abstract int getWhitespaceSeparatorOffset()
public abstract void revalidateMarkup()
public abstract int getLineMarkerAreaOffset()
public abstract int getIconAreaOffset()
public abstract int getLineMarkerFreePaintersAreaOffset()
public abstract int getIconsAreaWidth()
public abstract int getAnnotationsAreaOffset()
public abstract int getAnnotationsAreaWidth()
public abstract java.awt.Point getCenterPoint(GutterIconRenderer renderer)
@Deprecated public void setLineNumberConvertor(TIntFunction lineNumberConvertor)
EditorGutter.setLineNumberConverter(LineNumberConverter)
instead.LineNumberConverterAdapter
@Deprecated public void setLineNumberConvertor(TIntFunction convertor1, TIntFunction convertor2)
EditorGutter.setLineNumberConverter(LineNumberConverter, LineNumberConverter)
instead.LineNumberConverterAdapter
public abstract void setShowDefaultGutterPopup(boolean show)
public abstract void setCanCloseAnnotations(boolean canCloseAnnotations)
EditorGutter.closeAllAnnotations()
a no-op and hides the corresponding context menu action.public abstract void setGutterPopupGroup(ActionGroup group)
public abstract void setPaintBackground(boolean value)
public abstract void setForceShowLeftFreePaintersArea(boolean value)
public abstract void setForceShowRightFreePaintersArea(boolean value)
public abstract void setInitialIconAreaWidth(int width)
public GutterMark getGutterRenderer(java.awt.Point p)