public abstract class SelectedGUIElementChangedEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
selectedElement
The element which is selected now.
|
protected java.lang.Object |
source
The graphical object where the selection occurred.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SelectedGUIElementChangedEvent(java.lang.Object selectedElement,
java.lang.Object source)
Creates a new event for signalling that the designated element has been
selected at the designated source.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getElement()
Returns the element that has been selected or null in case the selection
has been removed but the graphical representation continues to exist.
|
java.lang.Object |
getSource()
Returns the graphical object that signaled this event or null in case the
graphical object has been closed/destroyed.
|
protected final java.lang.Object selectedElement
protected final java.lang.Object source
protected SelectedGUIElementChangedEvent(java.lang.Object selectedElement,
java.lang.Object source)
selectedElement - The element that has been selected at the designated
source.source - The graphical element where the element has been selected.public java.lang.Object getElement()
public java.lang.Object getSource()