 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.gui;
25 import java.awt.event.MouseEvent;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
boolean isDefault()
Returns whether this element is the default element.
void mouseMoved(@NotNull MouseEvent e)
Will be called when the mouse moves within this component.
boolean isIgnore()
Returns whether this gui element is to be ignored for user interaction.
void mouseReleased(@NotNull MouseEvent e)
Will be called when the user has released the mouse.
void mouseEntered(@NotNull MouseEvent e)
Will be called when the mouse has entered the bounding box of this element.
void mouseClicked(@NotNull MouseEvent e)
Will be called when the user has clicked (pressed+released) this element.
void dispose()
Releases all allocated resources.
void mouseWheelMoved(int wheelRotation)
Will be called when the mouse wheel has been moved.
void setIgnore()
Marks this gui element to be ignored for user interaction.
Interface defining an abstract GUI element.
void setDefault(boolean isDefault)
Sets whether this element is the default element.
void setChanged()
Records that the contents have changed and must be repainted.
Interface for listeners interested in the changed flag of GUIElement instances.
String getName()
Returns the internal name of this gui element.
void mouseDragged(@NotNull MouseEvent e)
Will be called when the mouse moves within this component while the button is pressed.
void setChangedListener(@Nullable GUIElementChangedListener changedListener)
Sets the GUIElementChangedListener to be notified.
void mouseExited(@NotNull MouseEvent e)
Will be called when the mouse has left the bounding box of this element.
void notifyOpen()
Called each time the enclosing dialog is opened (or raised).
void mousePressed(@NotNull MouseEvent e)
Will be called when the user has pressed the mouse inside this element.