Crossfire JXClient, Trunk
|
Public Member Functions | |
void | addScrollableListener (@NotNull final ScrollableListener listener) |
boolean | canScroll (final int distance) |
void | dispose () |
Buffer | getBuffer () |
void | mouseDragged (@NotNull final MouseEvent e) |
void | mousePressed (@NotNull final MouseEvent e) |
void | mouseReleased (@NotNull final MouseEvent e) |
void | mouseWheelMoved (final int wheelRotation) |
void | paintComponent (@NotNull final Graphics g) |
void | removeScrollableListener (@NotNull final ScrollableListener listener) |
void | resetScroll () |
void | scroll (final int distance) |
void | scrollTo (final int pos) |
void | setBounds (final int x, final int y, final int width, final int height) |
void | setShowSentCommands (final boolean showSentCommands) |
void | setShowTimestamps (final boolean showTimestamps) |
Public Member Functions inherited from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement | |
int | getDialogBorderBottom () |
int | getDialogBorderLeft () |
int | getDialogBorderRight () |
int | getDialogBorderTop () |
String | getName () |
abstract TooltipText | getTooltip () |
void | inhibitListeners () |
boolean | isDefault () |
boolean | isIgnore () |
void | mouseClicked (@NotNull final MouseEvent e) |
void | mouseEntered (@NotNull final MouseEvent e) |
void | mouseExited (@NotNull final MouseEvent e) |
void | mouseMoved (@NotNull final MouseEvent e) |
void | setChanged () |
void | setChangedListener (@Nullable final GUIElementChangedListener changedListener) |
void | setDefault (final boolean isDefault) |
void | setIgnore () |
String | toString () |
Public Member Functions inherited from com.realtime.crossfire.jxclient.gui.gui.GUIElement | |
void | notifyOpen () |
Protected Member Functions | |
GUILog (@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, @Nullable final Image backgroundImage, @NotNull final Fonts fonts, @NotNull final GuiFactory guiFactory) | |
Protected Member Functions inherited from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement | |
AbstractGUIElement (@NotNull final TooltipManager tooltipManager, @NotNull final GUIElementListener elementListener, @NotNull final String name, final boolean opaque, @NotNull final GuiFactory guiFactory) | |
TooltipText | newTooltipText (@Nullable final String tooltipText) |
void | tooltipChanged () |
Private Member Functions | |
void | autoScroll () |
void | copy () |
int | getEndPosition () |
int | getStartPosition () |
void | setSelection (final int selection) |
Private Attributes | |
final Image | backgroundImage |
int | beginSelection |
final Buffer | buffer |
final BufferListener | bufferListener |
final Clipboard | clipboard = Toolkit.getDefaultToolkit().getSystemClipboard() |
int | endSelection |
final EventListenerList2< ScrollableListener > | listeners = new EventListenerList2<>() |
final RenderStateListener | renderStateListener |
final RenderStateManager | renderStateManager |
boolean | scrollForwards |
final Clipboard | selection = Toolkit.getDefaultToolkit().getSystemSelection() |
int | startSelection |
final ActionListener | timeoutEvent = e -> autoScroll() |
final Timer | timer = new Timer(TIMEOUT_AUTO_SCROLL, timeoutEvent) |
Static Private Attributes | |
static final int | SCROLL_PIXEL = 48 |
static final long | serialVersionUID = 1 |
static final int | TIMEOUT_AUTO_SCROLL = 25 |
Abstract base class for gui elements implementing text fields.
Definition at line 55 of file GUILog.java.
|
protected |
Creates a new instance.
tooltipManager | the tooltip manager to update |
elementListener | the element listener to notify |
name | the name of this element |
backgroundImage | the background image; may be null
|
fonts | the Fonts
|
guiFactory | the global GUI factory instance |
Definition at line 210 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.Buffer.addBufferListener(), com.realtime.crossfire.jxclient.gui.log.GUILog.backgroundImage, com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.GUILog.bufferListener, com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.elementListener, com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.guiFactory, com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.name, com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateListener, com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.RenderStateManager.setHeight(), and com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.tooltipManager.
void com.realtime.crossfire.jxclient.gui.log.GUILog.addScrollableListener | ( | @NotNull final ScrollableListener | listener | ) |
Adds a scrollable listener to be informed about changes.
listener | the listener to add |
Implements com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable2.
Definition at line 296 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.listeners.
|
private |
Timer event for processing auto-scrolling during text selection.
Definition at line 374 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.RenderStateManager.canScrollDown(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.canScrollUp(), com.realtime.crossfire.jxclient.gui.log.GUILog.getEndPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.getStartPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.GUILog.SCROLL_PIXEL, com.realtime.crossfire.jxclient.gui.log.RenderStateManager.scrollDown(), com.realtime.crossfire.jxclient.gui.log.GUILog.scrollForwards, com.realtime.crossfire.jxclient.gui.log.RenderStateManager.scrollUp(), com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection(), and com.realtime.crossfire.jxclient.gui.log.GUILog.timer.
boolean com.realtime.crossfire.jxclient.gui.log.GUILog.canScroll | ( | final int | distance | ) |
Returns whether scrolling is possible.
distance | the distance to scroll |
Implements com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable.
Definition at line 263 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.RenderStateManager.canScrollDown(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.canScrollUp(), and com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager.
|
private |
Performs a "copy" operation to the system clipboard.
Definition at line 448 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.beginSelection, com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.GUILog.clipboard, com.realtime.crossfire.jxclient.gui.log.GUILog.endSelection, com.realtime.crossfire.jxclient.gui.log.Buffer.getText(), and com.realtime.crossfire.jxclient.gui.log.GUILog.selection.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased().
void com.realtime.crossfire.jxclient.gui.log.GUILog.dispose | ( | ) |
Releases all allocated resources.
Reimplemented from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.
Reimplemented in com.realtime.crossfire.jxclient.gui.log.GUIMessageLog.
Definition at line 228 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.GUILog.bufferListener, com.realtime.crossfire.jxclient.gui.log.RenderStateManager.dispose(), com.realtime.crossfire.jxclient.gui.log.Buffer.removeBufferListener(), and com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager.
Buffer com.realtime.crossfire.jxclient.gui.log.GUILog.getBuffer | ( | ) |
Returns the Buffer instance containing the text messages.
Definition at line 310 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer.
Referenced by com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.getActiveMessageBuffer(), com.realtime.crossfire.jxclient.gui.log.GUIMessageLog.GUIMessageLog(), and com.realtime.crossfire.jxclient.gui.log.GUILabelLog.updateText().
|
private |
Returns the buffer position of the first character below the visible area.
Definition at line 405 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.coordinateToPosition(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getHeight(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getScrollPos(), and com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged(), and com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased().
|
private |
Returns the buffer position of the first visible character in the visible area.
Definition at line 396 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.coordinateToPosition(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getScrollPos(), and com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged(), and com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased().
void com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged | ( | @NotNull final MouseEvent | e | ) |
Will be called when the mouse moves within this component while the button is pressed. This event will be delivered after mouseMoved(MouseEvent).
Note: if the mouse leaves this element's bounding box while the mouse button is still pressed, further
(but no
) events will be generated.
e | the mouse event relative to this element |
Reimplemented from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.
Definition at line 342 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.coordinateToPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.getEndPosition(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getScrollPos(), com.realtime.crossfire.jxclient.gui.log.GUILog.getStartPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.GUILog.scrollForwards, com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection(), and com.realtime.crossfire.jxclient.gui.log.GUILog.timer.
void com.realtime.crossfire.jxclient.gui.log.GUILog.mousePressed | ( | @NotNull final MouseEvent | e | ) |
Will be called when the user has pressed the mouse inside this element.
e | the mouse event relative to this element |
Reimplemented from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.
Definition at line 322 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.coordinateToPosition(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getScrollPos(), com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection(), com.realtime.crossfire.jxclient.gui.log.GUILog.startSelection, and com.realtime.crossfire.jxclient.gui.log.GUILog.timer.
void com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased | ( | @NotNull final MouseEvent | e | ) |
Will be called when the user has released the mouse. This event may be delivered even if no previous mousePressed(MouseEvent) has been delivered before.
e | the mouse event relative to this element |
Reimplemented from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.
Definition at line 332 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.coordinateToPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.copy(), com.realtime.crossfire.jxclient.gui.log.GUILog.getEndPosition(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getScrollPos(), com.realtime.crossfire.jxclient.gui.log.GUILog.getStartPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection(), and com.realtime.crossfire.jxclient.gui.log.GUILog.timer.
void com.realtime.crossfire.jxclient.gui.log.GUILog.mouseWheelMoved | ( | final int | wheelRotation | ) |
Will be called when the mouse wheel has been moved.
wheelRotation | the movement amount; negative=away from the user, positive=towards the user |
Reimplemented from com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.
Definition at line 366 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.scroll().
void com.realtime.crossfire.jxclient.gui.log.GUILog.paintComponent | ( | @NotNull final Graphics | g | ) |
Definition at line 235 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.backgroundImage, com.realtime.crossfire.jxclient.gui.log.GUILog.beginSelection, com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.GUILog.endSelection, com.realtime.crossfire.jxclient.gui.log.Buffer.getSyncObject(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getTopIndex(), com.realtime.crossfire.jxclient.gui.log.RenderStateManager.getTopOffset(), com.realtime.crossfire.jxclient.gui.log.Buffer.lines, and com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager.
void com.realtime.crossfire.jxclient.gui.log.GUILog.removeScrollableListener | ( | @NotNull final ScrollableListener | listener | ) |
Removes a scrollable listener.
listener | the listener to remove |
Implements com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable2.
Definition at line 301 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.listeners.
void com.realtime.crossfire.jxclient.gui.log.GUILog.resetScroll | ( | ) |
Resets the scroll index to the default value.
Implements com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable.
Definition at line 286 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, and com.realtime.crossfire.jxclient.gui.log.RenderStateManager.resetScroll().
void com.realtime.crossfire.jxclient.gui.log.GUILog.scroll | ( | final int | distance | ) |
Scrolls the element.
distance | the distance to scroll |
Implements com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable.
Definition at line 275 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.GUILog.SCROLL_PIXEL, com.realtime.crossfire.jxclient.gui.log.RenderStateManager.scrollDown(), and com.realtime.crossfire.jxclient.gui.log.RenderStateManager.scrollUp().
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.mouseWheelMoved().
void com.realtime.crossfire.jxclient.gui.log.GUILog.scrollTo | ( | final int | pos | ) |
Scrolls to the given location. The possible range is given by a previous notification through a listener registered with addScrollableListener(ScrollableListener).
pos | the location to scroll to |
Implements com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable2.
Definition at line 291 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, and com.realtime.crossfire.jxclient.gui.log.RenderStateManager.scrollTo().
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILabelLog.updateText().
void com.realtime.crossfire.jxclient.gui.log.GUILog.setBounds | ( | final int | x, |
final int | y, | ||
final int | width, | ||
final int | height | ||
) |
Definition at line 315 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.RenderStateManager.setHeight(), and com.realtime.crossfire.jxclient.gui.log.Buffer.setRenderWidth().
|
private |
Updates the selection.
selection | the new end of the selection |
Definition at line 433 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.beginSelection, com.realtime.crossfire.jxclient.gui.log.GUILog.endSelection, com.realtime.crossfire.jxclient.gui.log.GUILog.selection, and com.realtime.crossfire.jxclient.gui.log.GUILog.startSelection.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged(), com.realtime.crossfire.jxclient.gui.log.GUILog.mousePressed(), and com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased().
void com.realtime.crossfire.jxclient.gui.log.GUILog.setShowSentCommands | ( | final boolean | showSentCommands | ) |
Sets whether the commands sent to the server should be shown.
showSentCommands | whether to show the commands |
Definition at line 413 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.getTotalHeight(), com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.Buffer.setShowSentCommands(), and com.realtime.crossfire.jxclient.gui.log.RenderStateManager.update().
void com.realtime.crossfire.jxclient.gui.log.GUILog.setShowTimestamps | ( | final boolean | showTimestamps | ) |
Sets whether the timestamps are shown.
showTimestamps | whether timestamps are shown |
Definition at line 423 of file GUILog.java.
References com.realtime.crossfire.jxclient.gui.log.GUILog.buffer, com.realtime.crossfire.jxclient.gui.log.Buffer.getTotalHeight(), com.realtime.crossfire.jxclient.gui.log.GUILog.renderStateManager, com.realtime.crossfire.jxclient.gui.log.Buffer.setShowTimestamps(), and com.realtime.crossfire.jxclient.gui.log.RenderStateManager.update().
|
private |
The background image drawn below the text contents. Set to
if unused.
Definition at line 90 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILabelLog.GUILabelLog(), com.realtime.crossfire.jxclient.gui.log.GUILog.GUILog(), com.realtime.crossfire.jxclient.gui.log.GUIMessageLog.GUIMessageLog(), and com.realtime.crossfire.jxclient.gui.log.GUILog.paintComponent().
|
private |
The first selected character.
Definition at line 132 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.copy(), com.realtime.crossfire.jxclient.gui.log.GUILog.paintComponent(), and com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection().
|
private |
The Buffer containing all received text messages.
Definition at line 83 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.copy(), com.realtime.crossfire.jxclient.gui.log.GUILog.dispose(), com.realtime.crossfire.jxclient.gui.log.GUILog.getBuffer(), com.realtime.crossfire.jxclient.gui.log.GUILog.getEndPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.getStartPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.GUILog(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged(), com.realtime.crossfire.jxclient.gui.log.GUILog.mousePressed(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased(), com.realtime.crossfire.jxclient.gui.log.GUILog.paintComponent(), com.realtime.crossfire.jxclient.gui.log.GUILog.setBounds(), com.realtime.crossfire.jxclient.gui.log.GUILog.setShowSentCommands(), com.realtime.crossfire.jxclient.gui.log.GUILog.setShowTimestamps(), and com.realtime.crossfire.jxclient.gui.log.GUILabelLog.updateText().
|
private |
The BufferListener attached to buffer.
Definition at line 171 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.dispose(), and com.realtime.crossfire.jxclient.gui.log.GUILog.GUILog().
|
private |
The clipboard for cut/copy/paste operations.
Definition at line 102 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.copy().
|
private |
The first selected character after the selection.
Definition at line 137 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.copy(), com.realtime.crossfire.jxclient.gui.log.GUILog.paintComponent(), and com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection().
|
private |
All listeners.
Definition at line 77 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.addScrollableListener(), and com.realtime.crossfire.jxclient.gui.log.GUILog.removeScrollableListener().
|
private |
The RenderStateListener attached to renderStateManager.
Definition at line 150 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.GUILog().
|
private |
The rendering state.
Definition at line 96 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.canScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.dispose(), com.realtime.crossfire.jxclient.gui.log.GUILog.getEndPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.getStartPosition(), com.realtime.crossfire.jxclient.gui.log.GUILog.GUILog(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged(), com.realtime.crossfire.jxclient.gui.log.GUILog.mousePressed(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased(), com.realtime.crossfire.jxclient.gui.log.GUILog.paintComponent(), com.realtime.crossfire.jxclient.gui.log.GUILog.resetScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.scroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.scrollTo(), com.realtime.crossfire.jxclient.gui.log.GUILog.setBounds(), com.realtime.crossfire.jxclient.gui.log.GUILog.setShowSentCommands(), and com.realtime.crossfire.jxclient.gui.log.GUILog.setShowTimestamps().
|
staticprivate |
The number of pixels to scroll.
Definition at line 65 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), and com.realtime.crossfire.jxclient.gui.log.GUILog.scroll().
|
private |
The scrolling direction during auto-scrolling:
=scroll forwards,
=scroll backwards.
Definition at line 143 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), and com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged().
|
private |
The system selection for cut/copy/paste operations. Set to
if the system does not support a selection.
Definition at line 109 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.copy(), and com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection().
|
staticprivate |
The serial version UID.
Definition at line 60 of file GUILog.java.
|
private |
The starting point of the selection. Only used while a selection is created.
Definition at line 127 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.mousePressed(), and com.realtime.crossfire.jxclient.gui.log.GUILog.setSelection().
|
staticprivate |
The delay in milliseconds for automatically scrolling during text selection.
Definition at line 71 of file GUILog.java.
|
private |
The ActionListener for generating auto-scrolling events.
Definition at line 115 of file GUILog.java.
|
private |
The Timer for auto-scrolling while selecting text.
Definition at line 121 of file GUILog.java.
Referenced by com.realtime.crossfire.jxclient.gui.log.GUILog.autoScroll(), com.realtime.crossfire.jxclient.gui.log.GUILog.mouseDragged(), com.realtime.crossfire.jxclient.gui.log.GUILog.mousePressed(), and com.realtime.crossfire.jxclient.gui.log.GUILog.mouseReleased().