org.geotools.demo.export.gui.cards
Class AbstractDSSelectionCard

java.lang.Object
  extended byorg.geotools.demo.export.gui.cards.WizzardCard
      extended byorg.geotools.demo.export.gui.cards.AbstractDSSelectionCard
Direct Known Subclasses:
DestDataStoreCard, SelectSourceDataStoreCard

public abstract class AbstractDSSelectionCard
extends WizzardCard

DOCUMENT ME!

Version:
$Id: AbstractDSSelectionCard.java 17699 2006-01-22 22:42:41Z desruisseaux $
Author:
Gabriel Roldan, Axios Engineering

Field Summary
protected  org.geotools.demo.export.gui.cards.AbstractDSSelectionCard.DataStoreList list
          a JList able to show a list of DataStoreFactories
protected  org.geotools.demo.export.gui.cards.AbstractDSSelectionCard.DSParamsPanel paramsPanel
          DOCUMENT ME!
 
Constructor Summary
AbstractDSSelectionCard(CardListener listener, WizzardCard prev)
          Creates a new DataStoreView object.
 
Method Summary
protected  void connect()
          Called when the "connect" button is pressed.
protected  void disconnect()
          Called when the "disconnect" button is pressed.
 DataStore getDataStore()
          DOCUMENT ME!
protected static java.util.Iterator getDSFactories()
          DOCUMENT ME!
protected  void init()
          DOCUMENT ME!
 boolean isConnected()
          DOCUMENT ME!
 void show()
          DOCUMENT ME!
 
Methods inherited from class org.geotools.demo.export.gui.cards.WizzardCard
finishPressed, getCardName, getGui, getHelpMessage, getListener, getNextCard, getPreviousCard, nextPressed, previousPressed, setNextCard, setParameter, showError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected org.geotools.demo.export.gui.cards.AbstractDSSelectionCard.DataStoreList list
a JList able to show a list of DataStoreFactories


paramsPanel

protected org.geotools.demo.export.gui.cards.AbstractDSSelectionCard.DSParamsPanel paramsPanel
DOCUMENT ME!

Constructor Detail

AbstractDSSelectionCard

public AbstractDSSelectionCard(CardListener listener,
                               WizzardCard prev)
Creates a new DataStoreView object.

Parameters:
listener - DOCUMENT ME!
prev - DOCUMENT ME!
Method Detail

show

public void show()
Description copied from class: WizzardCard
DOCUMENT ME!

Overrides:
show in class WizzardCard

init

protected void init()
DOCUMENT ME!


getDSFactories

protected static java.util.Iterator getDSFactories()
DOCUMENT ME!

Returns:
DOCUMENT ME!

connect

protected void connect()
Called when the "connect" button is pressed.

If the connection is successful, then stores the connected datastore instance in the connectedDataStore instance variable.


disconnect

protected void disconnect()
Called when the "disconnect" button is pressed.


isConnected

public boolean isConnected()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDataStore

public DataStore getDataStore()
                       throws java.lang.IllegalStateException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalStateException - DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.