public class Clocks
extends java.lang.Object
implements java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_GROUP |
static java.lang.String |
DEFAULT_CLOCK_FORMAT |
static int |
FAILURE
Exit status for an unsuccessful operation.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
static int |
SUCCESS
Exit status for a successful operation.
|
Constructor and Description |
---|
Clocks() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
addJLabel(java.lang.String format,
java.lang.String timeZoneId) |
void |
addJLabels(PIRL.Configuration.Configuration configuration) |
void |
addJMenuItem(java.lang.String format,
java.lang.String timeZoneId) |
void |
addJMenuItems(PIRL.Configuration.Configuration configuration) |
void |
appendClocks(javax.swing.JMenu menu) |
void |
appendClocks(javax.swing.JMenu menu,
PIRL.Configuration.Configuration configuration) |
static void |
main(java.lang.String[] args)
Invokes an instance of the clocks application.
|
public static final java.lang.String ID
public static final java.lang.String DEFAULT_CLOCK_FORMAT
public static final java.lang.String APPLICATION_GROUP
public static final int SUCCESS
public static final int FAILURE
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void addJMenuItems(PIRL.Configuration.Configuration configuration)
public void addJMenuItem(java.lang.String format, java.lang.String timeZoneId)
public void addJLabels(PIRL.Configuration.Configuration configuration)
public void addJLabel(java.lang.String format, java.lang.String timeZoneId)
public void appendClocks(javax.swing.JMenu menu)
public void appendClocks(javax.swing.JMenu menu, PIRL.Configuration.Configuration configuration)
public static void main(java.lang.String[] args)
Clocks [--configuration configuration_pathname]
Clocks --time-zones
Clocks --usage
Clocks --version
Options are not case-sensitive and may be reduced to their shortest unique form. One or two dashes may be used.
Configuration_Helper.getConfiguration(String,String,String...)
for details
on the configuration pathname; if this option is not used, the config source
argument is null.
TimeZone
IDs available. No clocks are printed.
args
- the command-line arguments.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona