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.Compositeprivate ActivitiesEntryprivate BufferedLabelprivate org.eclipse.swt.widgets.Labelprivate org.eclipse.swt.widgets.Labelprivate UISWTViewFields inherited from interface 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 voiddelete()booleaneventOccurred(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate org.eclipse.swt.widgets.Compositeprivate StringgetTitleInfoProperty(int property) private voidinitialize(org.eclipse.swt.widgets.Composite parent) private voidrefresh()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
getTitleInfoPropertyin 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:UISWTViewEventListenerTriggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurredin interfaceUISWTViewEventListener- Parameters:
event- event that occurred- Returns:
- meaning dependent upon event type
-