|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.swt.events.SelectionAdapter
org.opensubsystems.patterns.thickclient.application.swt.DelegatingSelectionAdapter
org.opensubsystems.patterns.thickclient.application.swt.EventNotifierSelectionAdapter
public class EventNotifierSelectionAdapter
Adapter used to process selection events which result in notification about that event to registered listener.
| Field Summary | |
|---|---|
protected java.lang.Integer |
m_intEventId
Integer value representing the event. |
protected EventProcessor |
m_listener
Listener which will be notified when widget is selected. |
protected java.lang.String |
m_strEventName
Name of the event which will be sent to listener when widget is selected. |
| Constructor Summary | |
|---|---|
EventNotifierSelectionAdapter(EventProcessor listener,
java.lang.String strEventName,
java.lang.Integer intEventId)
Construct new adapter processing events from special button. |
|
| Method Summary | |
|---|---|
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent event)
|
| Methods inherited from class org.opensubsystems.patterns.thickclient.application.swt.DelegatingSelectionAdapter |
|---|
widgetDefaultSelected |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EventProcessor m_listener
protected java.lang.String m_strEventName
protected java.lang.Integer m_intEventId
| Constructor Detail |
|---|
public EventNotifierSelectionAdapter(EventProcessor listener,
java.lang.String strEventName,
java.lang.Integer intEventId)
listener - - listener to call when event needs to be processedstrEventName - - name of the event which will be sent to listener
when widget is selected.intEventId - - Integer value representing the event. It will be sent
to listener when widget is selected.| Method Detail |
|---|
public void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
widgetSelected in interface org.eclipse.swt.events.SelectionListenerwidgetSelected in class org.eclipse.swt.events.SelectionAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||