com.aelitis.azureus.ui.swt.devices
Class DeviceManagerUI.deviceView

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.devices.DeviceManagerUI.deviceView
All Implemented Interfaces:
TranscodeTargetListener, ViewTitleInfo, UISWTViewEventListener
Enclosing class:
DeviceManagerUI

protected class DeviceManagerUI.deviceView
extends java.lang.Object
implements ViewTitleInfo, TranscodeTargetListener, UISWTViewEventListener


Field Summary
 
Fields inherited from interface com.aelitis.azureus.ui.common.viewtitleinfo.ViewTitleInfo
TITLE_ACTIVE_STATE, TITLE_EXPORTABLE_DATASOURCE, TITLE_IMAGE_TOOLTIP, TITLE_IMAGEID, TITLE_INDICATOR_COLOR, TITLE_INDICATOR_TEXT, TITLE_INDICATOR_TEXT_TOOLTIP, TITLE_LOGID, TITLE_TEXT
 
Fields inherited from interface com.aelitis.azureus.core.devices.TranscodeTargetListener
CT_PROPERTY
 
Constructor Summary
protected DeviceManagerUI.deviceView(java.lang.String _parent_key, Device _device)
           
 
Method Summary
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 void fileAdded(TranscodeFile file)
           
 void fileChanged(TranscodeFile file, int type, java.lang.Object data)
           
 void fileRemoved(TranscodeFile file)
           
 org.eclipse.swt.widgets.Composite getComposite()
           
 java.lang.String getTitle()
           
 java.lang.Object getTitleInfoProperty(int propertyID)
           
 void initialize(org.eclipse.swt.widgets.Composite _parent_composite)
           
protected  void refreshTitles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceManagerUI.deviceView

protected DeviceManagerUI.deviceView(java.lang.String _parent_key,
                                     Device _device)
Method Detail

initialize

public void initialize(org.eclipse.swt.widgets.Composite _parent_composite)

getComposite

public org.eclipse.swt.widgets.Composite getComposite()

getTitleInfoProperty

public java.lang.Object getTitleInfoProperty(int propertyID)
Specified by:
getTitleInfoProperty in interface ViewTitleInfo
Parameters:
propertyID - TITLE_*
Returns:
value, or null if you don't want to set it

getTitle

public java.lang.String getTitle()

fileAdded

public void fileAdded(TranscodeFile file)
Specified by:
fileAdded in interface TranscodeTargetListener

fileChanged

public void fileChanged(TranscodeFile file,
                        int type,
                        java.lang.Object data)
Specified by:
fileChanged in interface TranscodeTargetListener

refreshTitles

protected void refreshTitles()

fileRemoved

public void fileRemoved(TranscodeFile file)
Specified by:
fileRemoved in interface TranscodeTargetListener

eventOccurred

public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface: UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs

Specified by:
eventOccurred in interface UISWTViewEventListener
Parameters:
event - event that occurred
Returns:
meaning dependent upon event type