org.gudy.azureus2.ui.swt.pluginsimpl
Class UISWTViewEventImpl

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewEventImpl
All Implemented Interfaces:
UISWTViewEvent

public class UISWTViewEventImpl
extends java.lang.Object
implements UISWTViewEvent

Author:
TuxPaper

Field Summary
 
Fields inherited from interface org.gudy.azureus2.ui.swt.plugins.UISWTViewEvent
DEBUG_TYPES, TYPE_CLOSE, TYPE_CREATE, TYPE_DATASOURCE_CHANGED, TYPE_DESTROY, TYPE_FOCUSGAINED, TYPE_FOCUSLOST, TYPE_INITIALIZE, TYPE_LANGUAGEUPDATE, TYPE_OBFUSCATE, TYPE_REFRESH
 
Constructor Summary
UISWTViewEventImpl(java.lang.String parentID, UISWTView view, int eventType, java.lang.Object data)
           
 
Method Summary
 java.lang.Object getData()
          Get the data
 java.lang.String getParentID()
           
 int getType()
          Get the type.
 UISWTView getView()
          Get the View
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISWTViewEventImpl

public UISWTViewEventImpl(java.lang.String parentID,
                          UISWTView view,
                          int eventType,
                          java.lang.Object data)
Method Detail

getType

public int getType()
Description copied from interface: UISWTViewEvent
Get the type.

Specified by:
getType in interface UISWTViewEvent
Returns:
The TYPE_* constant for this event

getParentID

public java.lang.String getParentID()

getData

public java.lang.Object getData()
Description copied from interface: UISWTViewEvent
Get the data

Specified by:
getData in interface UISWTViewEvent
Returns:
Any data for this event

getView

public UISWTView getView()
Description copied from interface: UISWTViewEvent
Get the View

Specified by:
getView in interface UISWTViewEvent
Returns:
Information and control over the view