Package com.biglybt.ui.swt.devices
Class DeviceInternetView
- java.lang.Object
-
- com.biglybt.ui.swt.devices.DeviceManagerUI.categoryView
-
- com.biglybt.ui.swt.devices.DeviceInternetView
-
- All Implemented Interfaces:
ViewTitleInfo
,UISWTViewEventListener
public class DeviceInternetView extends DeviceManagerUI.categoryView
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Button
cancel_button
private NetStatusPluginTester
current_test
private DeviceManagerUI
device_manager_ui
private org.eclipse.swt.custom.StyledText
log
private static int
LOG_ERROR
private static int
LOG_INFO
private static int
LOG_NORMAL
private static int
LOG_SUCCESS
private int
log_type
private org.eclipse.swt.widgets.Composite
main
private NetStatusPlugin
plugin
private static int
selected_tests
private org.eclipse.swt.widgets.Button
start_button
-
Fields inherited from interface com.biglybt.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_TEXT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeviceInternetView(DeviceManagerUI dm_ui, java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cancelTest()
protected void
cancelTestSupport()
boolean
eventOccurred(UISWTViewEvent event)
Triggers when an even listed in UISWTViewEvent occursorg.eclipse.swt.widgets.Composite
getComposite()
void
initialize(org.eclipse.swt.widgets.Composite parent)
protected void
print(java.lang.String str, boolean clear_first)
protected void
println(java.lang.String str)
protected void
println(java.lang.String str, boolean clear_first)
protected void
startTest()
protected void
startTestSupport(Core core)
-
Methods inherited from class com.biglybt.ui.swt.devices.DeviceManagerUI.categoryView
destroy, getDeviceType, getKey, getTitle, getTitleInfoProperty, setDetails
-
-
-
-
Field Detail
-
device_manager_ui
private DeviceManagerUI device_manager_ui
-
plugin
private NetStatusPlugin plugin
-
main
private org.eclipse.swt.widgets.Composite main
-
start_button
private org.eclipse.swt.widgets.Button start_button
-
cancel_button
private org.eclipse.swt.widgets.Button cancel_button
-
log
private org.eclipse.swt.custom.StyledText log
-
selected_tests
private static final int selected_tests
- See Also:
- Constant Field Values
-
current_test
private NetStatusPluginTester current_test
-
LOG_NORMAL
private static final int LOG_NORMAL
- See Also:
- Constant Field Values
-
LOG_SUCCESS
private static final int LOG_SUCCESS
- See Also:
- Constant Field Values
-
LOG_ERROR
private static final int LOG_ERROR
- See Also:
- Constant Field Values
-
LOG_INFO
private static final int LOG_INFO
- See Also:
- Constant Field Values
-
log_type
private int log_type
-
-
Constructor Detail
-
DeviceInternetView
protected DeviceInternetView(DeviceManagerUI dm_ui, java.lang.String title)
-
-
Method Detail
-
initialize
public void initialize(org.eclipse.swt.widgets.Composite parent)
-
startTest
protected void startTest()
-
cancelTest
protected void cancelTest()
-
startTestSupport
protected void startTestSupport(Core core)
-
println
protected void println(java.lang.String str)
-
println
protected void println(java.lang.String str, boolean clear_first)
-
print
protected void print(java.lang.String str, boolean clear_first)
-
cancelTestSupport
protected void cancelTestSupport()
-
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
-
eventOccurred
public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Overrides:
eventOccurred
in classDeviceManagerUI.categoryView
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-
-