public class DefaultRasterSwingManager extends Object implements RasterSwingManager
CartociudadSwingManager
.Constructor and Description |
---|
DefaultRasterSwingManager() |
Modifier and Type | Method and Description |
---|---|
ButtonBar |
createButtonBar()
Creates a button bar component
|
IButtonsPanel |
createButtonsPanel(int buttons,
JComponent parent)
Creates a buttons panel
|
FileNameManagement |
createFileNameManagement() |
BasePanel |
createGenericBasePanel() |
GCanvas |
createGraphicCanvas(Color backgroundColor)
Creates a canvas to draw graphic layers.
|
MainInfoByPointPanel |
createInfoByPointPanel(HashMap<String,String> translations,
HashMap<String,ImageIcon> icons,
JPanel extended)
Creates the information by point panel
|
ModelLoader |
createModelLoader(TableModel tableModel)
Creates a model loader for a paged table
|
CreateNewLayerPanel |
createNewLayerPanel() |
CreateNewLayerPanel |
createNewLayerPanel(FileNameManagement fileNameManagement)
Creates a panel to build a new layer
|
CreateNewLayerPanel |
createNewLayerPanel(FileNameManagement fileNameManagement,
String tittle)
Creates a panel to build a new layer
|
CreateNewLayerPanel |
createNewLayerPanel(String tittle) |
OpenFileContainer |
createOpenFileContainer(boolean showBorder,
String[] fileFilter,
String defaultPath)
Creates a panel to open files
|
PagedTable |
createPagedTable(ModelLoader modelLoader)
Creates a paged table component
|
PreviewPanel |
createPreviewPanel(int buttons,
ArrayList list,
JPanel generalPanel,
JPanel downPreviewPanel,
PreviewRenderProcess renderProcess,
DataSourcePreview dataSource)
Creates a preview panel using a data source, a render process and a list
of panels
|
ROIPanel |
createROIPanel()
Creates a panel for manage ROIs of raster
|
PreviewPanel |
createSinglePreviewPanel(PreviewRenderProcess renderProcess) |
PreviewPanel |
createSinglePreviewPanel(PreviewRenderProcess renderProcess,
DataSourcePreview dataSource)
Creates a preview panel using a data source and a render process.
|
SliderText |
createSliderText(int min,
int max,
int defaultValue,
boolean border)
Creates a slider with a text box
|
static String |
getText(Object parent,
String key)
Obtiene la traducción de la cadena de texto
|
String |
getTranslation(String key)
Returns the translation of a string.
|
RasterWindowManager |
getWindowManager()
Returns the
RasterWindowManager . |
void |
registerWindowManager(RasterWindowManager windowManager)
Registers a new instance of a WindowManager which provides services to
the management of the application windows.
|
void |
showSummaryProcessDialog(String fileName,
long time)
Shows the summary of a process
|
public String getTranslation(String key)
RasterSwingManager
getTranslation
in interface RasterSwingManager
key
- String to translatepublic RasterWindowManager getWindowManager()
RasterSwingManager
RasterWindowManager
.getWindowManager
in interface RasterSwingManager
RasterWindowManager
RasterWindowManager}
public void registerWindowManager(RasterWindowManager windowManager)
RasterSwingManager
registerWindowManager
in interface RasterSwingManager
windowManager
- RasterWindowManager
to register in the
ScriptingUIManager.RasterWindowManager
public static String getText(Object parent, String key)
parent
- Ventana padretext
- Cadena a traducirpublic BasePanel createGenericBasePanel()
createGenericBasePanel
in interface RasterSwingManager
public GCanvas createGraphicCanvas(Color backgroundColor)
RasterSwingManager
createGraphicCanvas
in interface RasterSwingManager
public PreviewPanel createPreviewPanel(int buttons, ArrayList list, JPanel generalPanel, JPanel downPreviewPanel, PreviewRenderProcess renderProcess, DataSourcePreview dataSource)
RasterSwingManager
createPreviewPanel
in interface RasterSwingManager
public PreviewPanel createSinglePreviewPanel(PreviewRenderProcess renderProcess, DataSourcePreview dataSource)
RasterSwingManager
PreviewPanel
should be invoked.createSinglePreviewPanel
in interface RasterSwingManager
renderProcess
- PreviewRenderProcess
dataSource
- DataSourcePreview
PreviewPanel
public PreviewPanel createSinglePreviewPanel(PreviewRenderProcess renderProcess)
public MainInfoByPointPanel createInfoByPointPanel(HashMap<String,String> translations, HashMap<String,ImageIcon> icons, JPanel extended)
RasterSwingManager
createInfoByPointPanel
in interface RasterSwingManager
public ButtonBar createButtonBar()
RasterSwingManager
createButtonBar
in interface RasterSwingManager
public CreateNewLayerPanel createNewLayerPanel(FileNameManagement fileNameManagement, String tittle)
RasterSwingManager
createNewLayerPanel
in interface RasterSwingManager
public CreateNewLayerPanel createNewLayerPanel(FileNameManagement fileNameManagement)
RasterSwingManager
createNewLayerPanel
in interface RasterSwingManager
public CreateNewLayerPanel createNewLayerPanel(String tittle)
createNewLayerPanel
in interface RasterSwingManager
public CreateNewLayerPanel createNewLayerPanel()
createNewLayerPanel
in interface RasterSwingManager
public OpenFileContainer createOpenFileContainer(boolean showBorder, String[] fileFilter, String defaultPath)
RasterSwingManager
createOpenFileContainer
in interface RasterSwingManager
public ROIPanel createROIPanel()
RasterSwingManager
createROIPanel
in interface RasterSwingManager
public PagedTable createPagedTable(ModelLoader modelLoader)
RasterSwingManager
createPagedTable
in interface RasterSwingManager
public ModelLoader createModelLoader(TableModel tableModel)
RasterSwingManager
createModelLoader
in interface RasterSwingManager
public IButtonsPanel createButtonsPanel(int buttons, JComponent parent)
RasterSwingManager
createButtonsPanel
in interface RasterSwingManager
public SliderText createSliderText(int min, int max, int defaultValue, boolean border)
RasterSwingManager
createSliderText
in interface RasterSwingManager
public FileNameManagement createFileNameManagement()
public void showSummaryProcessDialog(String fileName, long time)
RasterSwingManager
showSummaryProcessDialog
in interface RasterSwingManager