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 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(String parentID, UISWTView view, int eventType, Object data)
           
 
Method Summary
 Object getData()
          Get the data
 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(String parentID,
                          UISWTView view,
                          int eventType,
                          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 String getParentID()

getData

public 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