|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tribble.build.AbstractVersion
Display the version information for a package.
This abstract base class provides the capabilities to display version/build
information for a package. Concrete classes that extend this base class must
provide the actual version information. Such derived classes can be
machine-generated; see MakeVersionInfo
.
MakeVersionInfo
Field Summary | |
protected java.awt.Frame |
m_frame
The main GUI frame/window. |
Constructor Summary | |
protected |
AbstractVersion()
Default constructor. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent ev)
AWT window event: a window action has been performed. |
abstract java.util.Date |
getBuildDate()
Retrieve the build date. |
abstract java.lang.String |
getIsoBuildDate()
Retrieve the build date. |
abstract int |
getMajor()
Retrieve the major release number. |
abstract int |
getMinor()
Retrieve the minor release number. |
abstract java.lang.String |
getName()
Retrieve the component name. |
abstract java.lang.String |
getPackage()
Retrieve the package name. |
abstract java.lang.String |
getPatch()
Retrieve the patch number/name. |
abstract java.lang.String |
getVersion()
Retrieve the version string. |
abstract java.lang.String |
getWhatString()
Retrieve the embedded 'what' string. |
static void |
run(java.lang.String[] args,
AbstractVersion vs)
Execute this class. |
void |
showGui()
Display the version information (contained in the 'what' string) in GUI windowing form. |
void |
showText()
Display the version information (contained in the 'what' string) in text form to the standard output stream. |
void |
windowActivated(java.awt.event.WindowEvent ev)
AWT window event: window has been activated. |
void |
windowClosed(java.awt.event.WindowEvent ev)
AWT window event: window has been closed. |
void |
windowClosing(java.awt.event.WindowEvent ev)
AWT window event: window is being closed. |
void |
windowDeactivated(java.awt.event.WindowEvent ev)
AWT window event: window has been deactivated. |
void |
windowDeiconified(java.awt.event.WindowEvent ev)
AWT window event: window has been deiconified (maximized). |
void |
windowIconified(java.awt.event.WindowEvent ev)
AWT window event: window has been iconified (minimized). |
void |
windowOpened(java.awt.event.WindowEvent ev)
AWT window event: window has been opened. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.awt.Frame m_frame
Constructor Detail |
protected AbstractVersion()
Method Detail |
public static void run(java.lang.String[] args, AbstractVersion vs)
args
- Command line arguments.vs
- Version information, which should be an object of a class derived from
this class (AbstractVersion
).public abstract java.lang.String getName()
public abstract java.lang.String getPackage()
public abstract java.lang.String getVersion()
public abstract int getMajor()
public abstract int getMinor()
public abstract java.lang.String getPatch()
public abstract java.util.Date getBuildDate()
public abstract java.lang.String getIsoBuildDate()
public abstract java.lang.String getWhatString()
public void windowClosing(java.awt.event.WindowEvent ev)
windowClosing
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void windowActivated(java.awt.event.WindowEvent ev)
windowActivated
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void windowClosed(java.awt.event.WindowEvent ev)
windowClosed
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void windowDeactivated(java.awt.event.WindowEvent ev)
windowDeactivated
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void windowDeiconified(java.awt.event.WindowEvent ev)
windowDeiconified
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void windowIconified(java.awt.event.WindowEvent ev)
windowIconified
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void windowOpened(java.awt.event.WindowEvent ev)
windowOpened
in interface java.awt.event.WindowListener
ev
- The AWT window event.public void actionPerformed(java.awt.event.ActionEvent ev)
actionPerformed
in interface java.awt.event.ActionListener
ev
- The AWT window event.public void showText()
public void showGui()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |