UISWTViewpublic interface UISWTView implements org.gudy.azureus2.plugins.ui.UIPluginViewCommands and Information about a SWT View |
Fields Summary |
---|
public static final int | CONTROLTYPE_SWTFor {@link #setControlType(int)}; When the event
{@link UISWTViewEvent#TYPE_INITIALIZE} is triggered, getData() will
return a {@link org.eclipse.swt.widgets.Composite} object. | public static final int | CONTROLTYPE_AWTFor {@link #setControlType(int)}; When the event
{@link UISWTViewEvent#TYPE_INITIALIZE} is triggered, getData() will
return a {@link java.awt.Component} object. |
Methods Summary |
---|
public java.lang.Object | getDataSource()Retrieve the data sources related to this view.
| public void | setControlType(int iControlType)Sets the type of control this view uses. Set before view initialization.
The default value is {@link #CONTROLTYPE_SWT}
| public void | setTitle(java.lang.String title)Override the default title with a new one.
After setting this, you should use the
{@link UISWTViewEvent#TYPE_LANGUAGEUPDATE} to update your title to the
new language.
| public void | triggerEvent(int eventType, java.lang.Object data)Trigger an event for this view
|
|