public class LegendItemUpEvent
extends <any>
Legend
.Modifier and Type | Class and Description |
---|---|
static interface |
LegendItemUpEvent.HasLegendItemUpHandlers
A widget that implements this interface is a public source of
LegendItemUpEvent events. |
static interface |
LegendItemUpEvent.LegendItemUpHandler
Handler class for
LegendItemUpEvent events. |
Constructor and Description |
---|
LegendItemUpEvent(int index,
LegendItem<?> item,
Event event)
Creates a new event with the given legend item.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(LegendItemUpEvent.LegendItemUpHandler handler) |
<any> |
getAssociatedType() |
Event |
getBrowserEvent()
Returns the browser event that initiated the selection event.
|
int |
getIndex()
Returns the index of the legend item that fired the event.
|
LegendItem<?> |
getItem()
Returns the legend item that fired the event.
|
static <any> |
getType()
Gets the type associated with this event.
|
public LegendItemUpEvent(int index, LegendItem<?> item, Event event)
index
- the index of the legend item that fired the eventitem
- the legend item that fired the eventevent
- the event being wrappedpublic static <any> getType()
public <any> getAssociatedType()
public Event getBrowserEvent()
public int getIndex()
public LegendItem<?> getItem()
protected void dispatch(LegendItemUpEvent.LegendItemUpHandler handler)
Copyright © 2018. All rights reserved.