public static class LayoutClickNotifier.LayoutClickEvent
extends java.util.EventObject
Constructor and Description |
---|
LayoutClickEvent(ComponentContainer layout,
Component childComponent,
Component clickedComponent,
MouseEventDetails mouseEventDetails) |
Modifier and Type | Method and Description |
---|---|
Component |
getChildComponent()
Returns the direct child component of the layout which contains the clicked component.
|
Component |
getClickedComponent()
Returns the component that was clicked, which is somewhere inside the parent layout on which the listener
was registered.
|
MouseEventDetails |
getMouseEventDetails() |
ComponentContainer |
getSource() |
public LayoutClickEvent(ComponentContainer layout, Component childComponent, Component clickedComponent, MouseEventDetails mouseEventDetails)
public ComponentContainer getSource()
getSource
in class java.util.EventObject
public Component getChildComponent()
getClickedComponent()
.public MouseEventDetails getMouseEventDetails()
@Nullable public Component getClickedComponent()
getChildComponent()
.