org.n52.oxf.ui.swing.wms
Class ConnectWMSDialogController

java.lang.Object
  extended by org.n52.oxf.ui.swing.wms.ConnectWMSDialogController

public class ConnectWMSDialogController
extends Object

Author:
Arne Broering

Nested Class Summary
static class ConnectWMSDialogController.capabilitiesState
          enumeration to keep track of the state of the getCapabilities request initiated by the ConnectWMSDialog
 
Constructor Summary
ConnectWMSDialogController(ConnectWMSDialog view, MapCanvas map, ContentTree tree)
           
 
Method Summary
 void actionPerformed_getCapabilitiesButton(ActionEvent event)
           
 void actionPerformed_getMapButton(ActionEvent event)
           
 void dialogWindowClosed()
           
 ConnectWMSDialogController.capabilitiesState getState()
          Queries the current state of the getCapabilities request
 boolean isGetCapabilitiesTaskBusy()
           
 boolean isGetMapTaskBusy()
          Checks whether or not there is a getMap task busy executing
 void loadURLs()
           
 void loadURLs(String[] wmsURLS)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectWMSDialogController

public ConnectWMSDialogController(ConnectWMSDialog view,
                                  MapCanvas map,
                                  ContentTree tree)
Parameters:
view -
map -
tree -
Method Detail

loadURLs

public void loadURLs(String[] wmsURLS)

loadURLs

public void loadURLs()

actionPerformed_getCapabilitiesButton

public void actionPerformed_getCapabilitiesButton(ActionEvent event)

actionPerformed_getMapButton

public void actionPerformed_getMapButton(ActionEvent event)

dialogWindowClosed

public void dialogWindowClosed()

isGetCapabilitiesTaskBusy

public boolean isGetCapabilitiesTaskBusy()

isGetMapTaskBusy

public boolean isGetMapTaskBusy()
Checks whether or not there is a getMap task busy executing

Returns:
true if a thread is busy executing a getMap task, false otherwise

getState

public ConnectWMSDialogController.capabilitiesState getState()
Queries the current state of the getCapabilities request

Returns:
the current capabilitiesState


Copyright © 2005 - 2010 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.