public class RightMouseProvider
extends java.lang.Object
implements java.awt.event.MouseListener
Modifier and Type | Class and Description |
---|---|
class |
RightMouseProvider.AdditionalItem |
Modifier and Type | Method and Description |
---|---|
void |
addItem(RightMouseProvider.AdditionalItem additionalItem) |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
static RightMouseProvider |
provide(javax.swing.text.JTextComponent textComponent,
VersionController versionController)
Registers the text component to be provided.
|
public static RightMouseProvider provide(javax.swing.text.JTextComponent textComponent, VersionController versionController)
textComponent
- the text component to be providedversionController
- the version controller or null if function undo should not be supportedpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void addItem(RightMouseProvider.AdditionalItem additionalItem)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de