public class

StatusLabelForVideoArchive

extends StatusLabel
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JLabel
           ↳ vars.annotation.ui.StatusLabel
             ↳ vars.annotation.ui.StatusLabelForVideoArchive

Class Overview

Indicates which VideoArchive the annotator is editing. Clicking on the label opens a dialog allowing the user to change the VideoArchive being edited.

Summary

[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
From interface javax.swing.SwingConstants
[Expand]
Inherited Fields
From class vars.annotation.ui.StatusLabel
From class javax.swing.JLabel
From class javax.swing.JComponent
Public Constructors
StatusLabelForVideoArchive(ToolBelt toolBelt)
Constructor for the StatusLabelForVideoArchive object
Public Methods
void propertyChange(PropertyChangeEvent evt)
void respondTo(VideoArchiveChangedEvent event)
EventBus Listener method
void respondTo(VideoArchiveSelectedEvent event)
void update(VideoArchive videoArchive)
Sets the videoArchive registered with the label.
[Expand]
Inherited Methods
From class vars.annotation.ui.StatusLabel
From class javax.swing.JLabel
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.image.ImageObserver
From interface java.beans.PropertyChangeListener
From interface javax.accessibility.Accessible

Public Constructors

public StatusLabelForVideoArchive (ToolBelt toolBelt)

Constructor for the StatusLabelForVideoArchive object

Parameters
toolBelt Friendly god object

Public Methods

public void propertyChange (PropertyChangeEvent evt)

public void respondTo (VideoArchiveChangedEvent event)

EventBus Listener method

public void respondTo (VideoArchiveSelectedEvent event)

public void update (VideoArchive videoArchive)

Sets the videoArchive registered with the label. In general, you don't need to call this. This status label registers with PredefinedDispatcher.VIDEOARCHIVE and listens for when the videoArchive is set there.

Parameters
videoArchive Sets the videoArchive to be registered with the label