@Deprecated public class FileOverviewMargin extends javax.swing.JComponent implements EditorPlugin
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY_HIGH
Deprecated.
|
static int |
PRIORITY_LOW
Deprecated.
|
static int |
PRIORITY_MEDIUM
Deprecated.
|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
FileOverviewMargin()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addMark(java.lang.String category,
int line,
FileOverviewMark mark)
Deprecated.
|
void |
clearAnalysis()
Deprecated.
|
void |
clearMarks(java.lang.String category)
Deprecated.
|
javax.swing.JToolTip |
createToolTip()
Deprecated.
|
void |
deinstall(BasicEditorPane editor)
Deprecated.
Called when the plugin is being removed from the BasicEditorPane
(for example when the editor is closed.) This is used to notify
plugins that they should unregister any listeners that were
attached.
|
protected void |
drawBox(java.awt.Graphics g,
java.awt.Rectangle rect,
java.awt.Color color)
Deprecated.
|
protected int |
getBottomOffset()
Deprecated.
|
static FileOverviewMargin |
getFileOverviewMargin(BasicEditorPane editor)
Deprecated.
|
static java.lang.Object |
getMarkColor(java.lang.String category)
Deprecated.
|
java.awt.Dimension |
getMaximumSize()
Deprecated.
|
java.awt.Dimension |
getMinimumSize()
Deprecated.
|
java.awt.Dimension |
getPreferredSize()
Deprecated.
|
java.lang.String |
getToolTipText()
Deprecated.
|
java.lang.String |
getToolTipText(java.awt.event.MouseEvent event)
Deprecated.
|
protected int |
getTopOffset()
Deprecated.
|
void |
install(BasicEditorPane basicEditorPane)
Deprecated.
Called when this plugin is being installed into the BasicEditorPane.
|
boolean |
isFocusTraversable()
Deprecated.
|
int |
markToLine(java.lang.String category,
FileOverviewMark mark)
Deprecated.
|
protected void |
navigate(int line,
FileOverviewMark mark)
Deprecated.
|
protected void |
paintComponent(java.awt.Graphics g)
Deprecated.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Deprecated.
|
void |
removeMark(java.lang.String category,
int line,
FileOverviewMark mark)
Deprecated.
|
static void |
removeMarkColor(java.lang.String category)
Deprecated.
|
static void |
setMarkColor(java.lang.String category,
java.awt.Color color)
Deprecated.
|
static void |
setMarkColor(java.lang.String category,
HighlightStyle highlightStyle)
Deprecated.
|
static void |
setMarkColor(java.lang.String category,
int priority,
java.awt.Color color)
Deprecated.
|
static void |
setMarkColor(java.lang.String category,
int priority,
HighlightStyle highlightStyle)
Deprecated.
|
void |
startAnalysis(java.lang.Object id,
java.lang.String tooltip)
Deprecated.
|
void |
stopAnalysis(java.lang.Object id)
Deprecated.
|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, 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, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, 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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final int PRIORITY_LOW
public static final int PRIORITY_MEDIUM
public static final int PRIORITY_HIGH
public static void setMarkColor(java.lang.String category, java.awt.Color color)
public static void setMarkColor(java.lang.String category, HighlightStyle highlightStyle)
public static void setMarkColor(java.lang.String category, int priority, java.awt.Color color)
public static void setMarkColor(java.lang.String category, int priority, HighlightStyle highlightStyle)
public static java.lang.Object getMarkColor(java.lang.String category)
public static void removeMarkColor(java.lang.String category)
public static FileOverviewMargin getFileOverviewMargin(BasicEditorPane editor)
protected void navigate(int line, FileOverviewMark mark)
public void clearAnalysis()
public void startAnalysis(java.lang.Object id, java.lang.String tooltip)
public void stopAnalysis(java.lang.Object id)
public final void clearMarks(java.lang.String category)
public final void addMark(java.lang.String category, int line, FileOverviewMark mark)
public final int markToLine(java.lang.String category, FileOverviewMark mark)
public final void removeMark(java.lang.String category, int line, FileOverviewMark mark)
protected int getTopOffset()
protected int getBottomOffset()
public final javax.swing.JToolTip createToolTip()
createToolTip
in class javax.swing.JComponent
public final java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
public final java.awt.Dimension getMinimumSize()
getMinimumSize
in class javax.swing.JComponent
public final java.awt.Dimension getMaximumSize()
getMaximumSize
in class javax.swing.JComponent
public final boolean isFocusTraversable()
isFocusTraversable
in class java.awt.Component
protected void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.JComponent
protected void drawBox(java.awt.Graphics g, java.awt.Rectangle rect, java.awt.Color color)
public final java.lang.String getToolTipText()
getToolTipText
in class javax.swing.JComponent
public final java.lang.String getToolTipText(java.awt.event.MouseEvent event)
getToolTipText
in class javax.swing.JComponent
public final void install(BasicEditorPane basicEditorPane)
install
in interface EditorPlugin
editor
- the editor panepublic final void deinstall(BasicEditorPane editor)
deinstall
in interface EditorPlugin
editor
- the editor panepublic final void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener