public class

UpdateNewRefNumAction

extends ActionAdapter
implements IVideoArchiveProperty
java.lang.Object
   ↳ javax.swing.AbstractAction
     ↳ org.mbari.awt.event.ActionAdapter
       ↳ vars.annotation.ui.actions.UpdateNewRefNumAction

Class Overview

This action sets the initial value of a NewRefNumPropAction. When a new VideoArchive is set in the VideoArchiveDispatcher it queries for the highest ref number found and sets the NewRefNumPropAction to use that value.

Once instantiated this class will register itself with the videoArchiveDispatcher and automatically change the NewRefNumber as appropriate.

Summary

[Expand]
Inherited Constants
From interface javax.swing.Action
[Expand]
Inherited Fields
From class javax.swing.AbstractAction
Public Constructors
UpdateNewRefNumAction(AnnotationDAOFactory annotationDAOFactory)
Constructs ...
Public Methods
void doAction()

VideoArchive getVideoArchive()
void setVideoArchive(VideoArchive newVideoArchive)
[Expand]
Inherited Methods
From class org.mbari.awt.event.ActionAdapter
From class javax.swing.AbstractAction
From class java.lang.Object
From interface java.awt.event.ActionListener
From interface javax.swing.Action
From interface org.mbari.awt.event.IAction
From interface vars.annotation.ui.actions.IVideoArchiveProperty

Public Constructors

public UpdateNewRefNumAction (AnnotationDAOFactory annotationDAOFactory)

Constructs ...

Public Methods

public void doAction ()

public VideoArchive getVideoArchive ()

public void setVideoArchive (VideoArchive newVideoArchive)