org.geotools.swt.utils
Class CrsStatusBarButton

Object
  extended by ContributionItem
      extended by ControlContribution
          extended by CrsStatusBarButton
All Implemented Interfaces:
EventListener, IContributionItem, MapBoundsListener

public class CrsStatusBarButton
extends ControlContribution
implements MapBoundsListener

The CoordinateReferenceSystem button to put on the statusbar.

Author:
Andrea Antonello - www.hydrologis.com

Field Summary
static String ID
           
 
Constructor Summary
protected CrsStatusBarButton(String id, SwtMapPane mapPane)
           
  CrsStatusBarButton(SwtMapPane mapPane)
           
 
Method Summary
protected  Control createControl(Composite parent)
           
 void mapBoundsChanged(MapBoundsEvent event)
          Invoked when the area of interest or the coordinate system changes.
 
Methods inherited from class ControlContribution
computeWidth, fill, fill, fill
 
Methods inherited from class ContributionItem
dispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

CrsStatusBarButton

public CrsStatusBarButton(SwtMapPane mapPane)

CrsStatusBarButton

protected CrsStatusBarButton(String id,
                             SwtMapPane mapPane)
Method Detail

createControl

protected Control createControl(Composite parent)
Specified by:
createControl in class ControlContribution

mapBoundsChanged

public void mapBoundsChanged(MapBoundsEvent event)
Description copied from interface: MapBoundsListener
Invoked when the area of interest or the coordinate system changes.

Specified by:
mapBoundsChanged in interface MapBoundsListener
Parameters:
event - The change event.


Copyright © 1996-2014 Geotools. All Rights Reserved.