Personal tools
You are here: Home Production Proyectos Sensors Public documents Versión 1.0.0 Developers documentation Analysis and design Detailed View Time Support Swing Components org.gvsig.timesupport.swing
Document Actions

org.gvsig.timesupport.swing

by Jorge Piera last modified 2012-10-16 18:43

The org.gvsig.timesupport.swing component is the responsible to add a graphical user interface to manage the time. In practice, is just a simple user control that can be used to select an Interval or an Instant from an specified Interval.

The component has the standard gvSIG 2.0 structure and it contains some basic classes:

  • TimeSupportSwingLibrary: it is the responsible to initialize all the objects used in the library (more information in [1]).
  • TimeSupportSwingManager: the manager of this library which main function is to create the user control used to make temporal filters.
  • TimeSupportSwingLocator: it is used to register and to get the instance of the TimesupportSwingManager (more information in [2]).
  • TimeSupportWindowManager: it is used to create a window that can be displayed in the appliaction.
  • TimeSelectorPanel: the graphical user control used to create temporal filters:
img//time-selector-panel.png

The TimeSupportSwingManager is used to create a TimeSelectorPanel. This object inherits of JPanel and implemente the Observable interface [3]: it can be observed by other components. When the user updates the selected time, this object sends an update event with the new time and all the observers receive the new time.

img//time-selector-panel-notification.png

The animation swing module introduces two new components. On the one hand, a dialog to configure the options to animate a view and on the other hand the main component to reproduce an animation. Both are created from the API TimeSupportSwingManager . The components implements two interefaces, one for each component. The preferences panel is called AnimationPreferencesPanel interface and the animation bar is called AnimationBarPanel.

img//animation-gui

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: