java.lang.Object
org.autogui.swing.log.GuiSwingLogList.GuiSwingLogEventDispatcher
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
- Enclosing class:
GuiSwingLogList
public static class GuiSwingLogList.GuiSwingLogEventDispatcher
extends Object
implements MouseListener, MouseMotionListener
the event handler for log-entries in the list
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Runnable
protected GuiSwingLogList.FindState
protected Instant
protected int
protected Point
protected CellRendererPane
protected GuiSwingLogList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
findTextAndScroll
(String str, boolean forward) void
findTextRows
(String str, boolean forward, int startRow, int endRow) int
getCurrentFindIndex
(boolean forward) void
void
void
void
void
void
void
void
runEntry
(int row, GuiSwingLogEntry entry, Consumer<GuiSwingLogEntry.LogEntryRenderer> runner) void
selectionChange
(int from, int to) void
updateSelectionRange
(int from, int to)
-
Field Details
-
table
-
rendererPane
-
pressPoint
-
pressIndex
protected int pressIndex -
findState
-
popupTime
-
delayedPressProcess
-
-
Constructor Details
-
GuiSwingLogEventDispatcher
-
-
Method Details
-
selectionChange
public void selectionChange(int from, int to) -
getEntry
-
getEntryRenderer
-
getRendererList
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
runEntry
public void runEntry(int row, GuiSwingLogEntry entry, Consumer<GuiSwingLogEntry.LogEntryRenderer> runner) -
convert
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
updateSelectionRange
public void updateSelectionRange(int from, int to) -
drag
-
drag
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
findText
-
findTextAndScroll
-
getCurrentFindIndex
public int getCurrentFindIndex(boolean forward) -
findTextRows
-
getSelectedText
-