java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.client.util.gui.date_selector.Navigable_date_selector
All Implemented Interfaces:
Date_selector, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class Navigable_date_selector extends JPanel implements Date_selector, ActionListener
This class is wrapper for a Date_selector that adds a navigation bar to manipulate the wrapped selector. See Date_selector_panel for a description and picture of date selectors.
Images

The navigation-bar arrows in the current implementation are images loaded as a "resource" from the CLASSPATH. Four files are used:

$CLASSPATH/images/10px.red.arrow.right.double.gif
$CLASSPATH/images/10px.red.arrow.left.double.gif
$CLASSPATH/images/10px.red.arrow.right.gif
$CLASSPATH/images/10px.red.arrow.left.gif
where $CLASSPATH is any directory on your CLASSPATH. If the Date_selector_panel can't find the image file, it uses character representations ( ">", ">>", "<", "<<"). The main problem with this approach is that you can't change the color of the arrows without changing the image files. On the plus side, arbitrary images can be used for the movement icons. Future versions of this class will provide some way for you to specify that the arrows be rendered internally in colors that you specify at run time.
See Also: