- All Known Implementing Classes:
GuiSwingLogEntryException.GuiSwingLogExceptionRenderer
,GuiSwingLogEntryProgress.GuiSwingLogProgressRenderer
,GuiSwingLogEntryString.GuiSwingLogStringRenderer
- Enclosing interface:
GuiSwingLogEntry
public static interface GuiSwingLogEntry.LogEntryRenderer
the renderer interface
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
default int
findText
(GuiSwingLogEntry entry, String findKeyword) default Object
focusNextFound
(GuiSwingLogEntry entry, Object prevIndex, boolean forward) As a precondition,findText(GuiSwingLogEntry, String)
is called for the entry before.default String
getSelectedText
(GuiSwingLogEntry entry, boolean entireText) default void
mouseDragged
(GuiSwingLogEntry entry, Point point) default void
mousePressed
(GuiSwingLogEntry entry, Point point) default void
mouseReleased
(GuiSwingLogEntry entry, Point point) default boolean
updateFindPattern
(String findKeyword)
-
Method Details
-
getTableCellRenderer
ListCellRenderer<GuiLogEntry> getTableCellRenderer() -
mousePressed
-
mouseDragged
-
mouseReleased
-
updateFindPattern
-
findText
- Parameters:
entry
- searching the entryfindKeyword
- the key-word for searching- Returns:
- >0 value if it has matched string
-
focusNextFound
As a precondition,findText(GuiSwingLogEntry, String)
is called for the entry before. it focuses a next ( or previous if !forward) target if found, or null- Parameters:
entry
- the target entryprevIndex
- might be different from the returned one for same renderer (and same entry)forward
- forward=true or backward=false- Returns:
- an index object, or null if not found
-
getSelectedText
-
close
default void close()
-