类 FrmMain

    • 构造器详细资料

      • FrmMain

        public FrmMain()
      • FrmMain

        public FrmMain​(String startupPath,
                       Options options)
    • 方法详细资料

      • getStartupPath

        public String getStartupPath()
        Get application startup path
        返回:
        Applicatin startup path
      • getMapView

        public org.meteoinfo.geo.mapview.MapView getMapView()
        Get MapView object in the active map frame
        指定者:
        getMapView 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        MapView object
      • getMapLyout

        public org.meteoinfo.geo.layout.MapLayout getMapLyout()
        Get map layout
        返回:
        Map layout
      • getMapDocument

        public org.meteoinfo.geo.legend.LayersLegend getMapDocument()
        Get map document (LayersLegend)
        指定者:
        getMapDocument 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        The map document
      • getMainMenuBar

        public JMenuBar getMainMenuBar()
        Get main menu bar
        指定者:
        getMainMenuBar 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        Main menu bar
      • getPluginMenu

        public JMenu getPluginMenu()
        Get plugin menu
        指定者:
        getPluginMenu 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        Plugin menu
      • getToolBarPanel

        public JPanel getToolBarPanel()
        Get tool bar panel
        指定者:
        getToolBarPanel 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        Tool bar panel
      • getProgressBar

        public JProgressBar getProgressBar()
        Get main progress bar
        指定者:
        getProgressBar 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        The main progress bar
      • getProgressBarLabel

        public JLabel getProgressBarLabel()
        Get progress bar label
        指定者:
        getProgressBarLabel 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        The progress bar label
      • getMainTab

        public JTabbedPane getMainTab()
        Get jTabbedPane_Main
        返回:
        jTabbedPane_Main
      • getMeteoDataset

        public FrmMeteoData getMeteoDataset()
        Get meteo data form
        返回:
        The meteo data form
      • getOptions

        public Options getOptions()
        Get options
        返回:
        Options
      • getLegendFont

        public Font getLegendFont()
        Get legend font
        返回:
        Legend font
      • setLegendFont

        public void setLegendFont​(Font font)
        Set legend font
        参数:
        font - Legend font
      • getCurrentTool

        public AbstractButton getCurrentTool()
        Get current tool
        指定者:
        getCurrentTool 在接口中 org.meteoinfo.geo.plugin.IApplication
        返回:
        The current tool
      • loadDefaultPojectFile

        public final void loadDefaultPojectFile()
      • loadConfigureFile

        public final void loadConfigureFile()
      • saveConfigureFile

        public final void saveConfigureFile()
      • loadProjectFile

        public void loadProjectFile​(String pFile)
      • readPlugin

        public Plugin readPlugin​(String jarFileName)
      • removePlugin

        public void removePlugin​(Plugin plugin)
        Remove a plugin
        参数:
        plugin - The plugin
      • loadPlugin

        public void loadPlugin​(Plugin plugin)
        Load plugin
        参数:
        plugin - Plugin
      • unloadPlugin

        public void unloadPlugin​(Plugin plugin)
      • setCurrentTool

        public void setCurrentTool​(AbstractButton currentTool)
        指定者:
        setCurrentTool 在接口中 org.meteoinfo.geo.plugin.IApplication
      • openProjectFile

        public void openProjectFile​(String projFile)
        Open project file
        指定者:
        openProjectFile 在接口中 org.meteoinfo.geo.plugin.IApplication
        参数:
        projFile - project file path
      • refresh

        public void refresh()
        Refresh map document and map view / map layout
      • refreshMap

        public void refreshMap()
        Refresh map view / map layer
      • main

        public static void main​(String[] args)
        参数:
        args - the command line arguments