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

java.lang.Object
  extended byorg.geotools.demo.export.gui.cards.WizzardCard
Direct Known Subclasses:
AbstractDSSelectionCard, EditPropertiesCard, ExportProcessCard, SourceFeatureTypeCard, SummaryCard

public abstract class WizzardCard
extends java.lang.Object

DOCUMENT ME!

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

Constructor Summary
WizzardCard(CardListener listener, WizzardCard prev)
          Creates a new WizzardCard object.
 
Method Summary
 boolean finishPressed()
          DOCUMENT ME!
abstract  java.lang.String getCardName()
          DOCUMENT ME!
 javax.swing.JPanel getGui()
          DOCUMENT ME!
abstract  java.lang.String getHelpMessage()
          DOCUMENT ME!
protected  CardListener getListener()
          DOCUMENT ME!
 WizzardCard getNextCard()
          DOCUMENT ME!
 WizzardCard getPreviousCard()
          DOCUMENT ME!
abstract  boolean nextPressed()
          DOCUMENT ME!
abstract  boolean previousPressed()
          DOCUMENT ME!
 void setNextCard(WizzardCard next)
          DOCUMENT ME!
 void setParameter(java.lang.Object paramObject)
          DOCUMENT ME!
 void show()
          DOCUMENT ME!
protected  void showError(java.lang.String title, java.lang.String message)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizzardCard

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

Parameters:
listener - DOCUMENT ME!
prev - DOCUMENT ME!
Throws:
java.lang.NullPointerException - DOCUMENT ME!
Method Detail

getGui

public javax.swing.JPanel getGui()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setNextCard

public void setNextCard(WizzardCard next)
DOCUMENT ME!

Parameters:
next - DOCUMENT ME!

show

public void show()
DOCUMENT ME!


setParameter

public void setParameter(java.lang.Object paramObject)
DOCUMENT ME!

Parameters:
paramObject - DOCUMENT ME!

getHelpMessage

public abstract java.lang.String getHelpMessage()
DOCUMENT ME!

Returns:
DOCUMENT ME!

nextPressed

public abstract boolean nextPressed()
DOCUMENT ME!

Returns:
true if the card state is consistent and it is ok to proceed with the next card.

previousPressed

public abstract boolean previousPressed()
DOCUMENT ME!

Returns:
true if the card state is consistent and it is ok to go back to the previous card.

finishPressed

public boolean finishPressed()
DOCUMENT ME!

Returns:
true if the card state is consistent and it is ok to proceed with the final process.
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

getCardName

public abstract java.lang.String getCardName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getNextCard

public WizzardCard getNextCard()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPreviousCard

public WizzardCard getPreviousCard()
DOCUMENT ME!

Returns:
DOCUMENT ME!

showError

protected void showError(java.lang.String title,
                         java.lang.String message)
DOCUMENT ME!

Parameters:
title - DOCUMENT ME!
message - DOCUMENT ME!

getListener

protected CardListener getListener()
DOCUMENT ME!

Returns:
DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.