Package org.apache.sis.gui.referencing
Class CRSChooser
Object
Dialog<CoordinateReferenceSystem>
CRSChooser
- All Implemented Interfaces:
- EventTarget
A list of Coordinate Reference Systems (CRS) from which the user can select.
 The CRS choices is built in a background thread from a specified 
CRSAuthorityFactory.- Since:
- 1.1
Defined in the sis-javafx module
- 
Property SummaryProperties inherited from class DialogcontentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a chooser proposing all coordinate reference systems from the default factory.CRSChooser(CRSAuthorityFactory factory, Envelope areaOfInterest, Locale locale) Creates a chooser proposing all coordinate reference systems from the given factory.
- 
Method SummaryModifier and TypeMethodDescriptionshowDialog(Window parent) Shows a dialog to select aCoordinateReferenceSystem.Methods inherited from class DialogbuildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
- 
Constructor Details- 
CRSChooserpublic CRSChooser()Creates a chooser proposing all coordinate reference systems from the default factory.
- 
CRSChooserCreates a chooser proposing all coordinate reference systems from the given factory. If the given factory isnull, then a default factory capable to handle at least some EPSG codes will be used.- Parameters:
- factory- the factory to use for creating coordinate reference systems, or- nullfor default.
- areaOfInterest- geographic area for which to choose a CRS, or- nullif no restriction.
- locale- the preferred locale for displaying object name, or- nullfor the default locale.
 
 
- 
- 
Method Details- 
showDialogShows a dialog to select aCoordinateReferenceSystem.- Parameters:
- parent- parent frame of dialog, or- nullfor an unowned dialog.
- Returns:
- the selected CoordinateReferenceSystem, or empty if none.
 
 
-