public final class EventContext extends Object
| Constructor and Description |
|---|
EventContext(String methodName)
Constructs a new Trigger object with the specified method name,
null source, null event and
null listRow. |
EventContext(String methodName,
Object source)
Constructs a new Trigger object with the specified method name and source,
and
null event and null listRow. |
EventContext(String methodName,
Object source,
Object event)
Constructs a new Trigger object with the specified method name, source
and event, and
null listRow. |
EventContext(String methodName,
Object source,
Object event,
ListRow listRow)
Constructs a new Trigger object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getEvent()
Gets the event that originated this trigger object.
|
ListRow |
getListRow() |
String |
getMethodName()
Gets the method name.
|
Object |
getSource()
Gets the source of the event.
|
void |
setListRow(ListRow listRow)
Sets the ListRow in which the event occurred.
|
String |
toString()
Returns the string representation of this EventMethod.
|
public EventContext(String methodName)
null source, null event and
null listRow.methodName - the name of the method that should be invoked.public EventContext(String methodName, Object source)
null event and null listRow.methodName - the name of the method that should be invoked.source - the source of the event.public EventContext(String methodName, Object source, Object event)
null listRow.methodName - the name of the method that should be invoked.source - the source of the event (e.g. the widget)event - the eventpublic EventContext(String methodName, Object source, Object event, ListRow listRow)
methodName - the name of the method that should be invoked.source - the source of the event (e.g. the widget)event - the eventlistRow - the ListRow in which the event occurred.IllegalArgumentException - if methodName is
null.public String getMethodName()
public Object getSource()
public Object getEvent()
public String toString()
toString in class ObjectObject.toString()public void setListRow(ListRow listRow)
listRow - the listRow to set.public ListRow getListRow()
Copyright © 2006–2017 Esito AS. All rights reserved.