Package com.biglybt.ui.swt.views
Class ViewQuickNotifications
java.lang.Object
com.biglybt.ui.swt.views.ViewQuickNotifications
- All Implemented Interfaces:
ViewTitleInfo
,UISWTViewEventListener
,UISWTViewCoreEventListener
public class ViewQuickNotifications
extends Object
implements UISWTViewCoreEventListener, ViewTitleInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Composite
private ActivitiesEntry
private BufferedLabel
private org.eclipse.swt.widgets.Label
private org.eclipse.swt.widgets.Label
private UISWTView
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, TITLE_TEXT_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
delete()
boolean
eventOccurred
(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Composite
private String
getTitleInfoProperty
(int property) private void
initialize
(org.eclipse.swt.widgets.Composite parent) private void
refresh()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTViewEventListener
builderNotRequired, informOfDuplicates
-
Field Details
-
swtView
-
composite
private org.eclipse.swt.widgets.Composite composite -
notification_icon
private org.eclipse.swt.widgets.Label notification_icon -
notification_text
private org.eclipse.swt.widgets.Label notification_text -
more_text
-
current_entry
-
-
Constructor Details
-
ViewQuickNotifications
public ViewQuickNotifications()
-
-
Method Details
-
initialize
private void initialize(org.eclipse.swt.widgets.Composite parent) -
delete
private void delete() -
getFullTitle
-
getTitleInfoProperty
- Specified by:
getTitleInfoProperty
in interfaceViewTitleInfo
- Parameters:
property
- TITLE_*- Returns:
- value, or null if you don't want to set it
-
getComposite
private org.eclipse.swt.widgets.Composite getComposite() -
refresh
private void refresh() -
eventOccurred
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-