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

public class Titled_date_selector extends JPanel implements Date_selector
This class is a GoF "Decorator" that augements the "raw" Date_selector_panel with a title that displays the month name and year. The title updates automatically as the user navigates. Here's a picture:
Create a titled date selector like this:
 Date_selector selector = new Date_selector_panel(); // or other constructor.
 selector = new Titled_date_selector(selector);
 
This wrapper absorbs the Date_selector.CHANGE_ACTION events: listeners that you register on the wrapper will be sent only Date_selector.SELECT_ACTION events. (Listeners that are registered on the wrapped Date_selector object will be notified of all events, however.
See Also: