org.esa.beam.framework.ui
Class SequentialDialog

java.lang.Object
  extended by org.esa.beam.framework.ui.SequentialDialog

public class SequentialDialog
extends Object

Version:
$Revision$ $Date$
Author:
Norman Fomferra

Field Summary
static int ID_BACK
           
static int ID_CANCEL
           
static int ID_FINISH
           
static int ID_HELP
           
static int ID_NEXT
           
 
Constructor Summary
SequentialDialog(JFrame frame, String titleBase)
           
SequentialDialog(JFrame frame, String titleBase, Icon image, boolean hasHelp)
           
 
Method Summary
 void addCard(String name, Component card)
           
 void center()
           
 int getButtonID()
           
 Component getCard(int index)
           
 int getCardCount()
           
 String getCardName(int index)
           
 Component getCurrentCard()
           
protected  int getCurrentCardIndex()
           
 JDialog getDialog()
           
 JFrame getFrame()
           
protected  int getNextCardIndex()
           
protected  int getPreviousCardIndex()
           
 void hide()
           
protected  boolean isBackPossible()
           
protected  boolean isFinishPossible()
           
protected  boolean isNextPossible()
           
protected  void onBack()
           
protected  void onCancel()
           
protected  void onFinish()
           
protected  void onHelp()
           
protected  void onNext()
           
 int show()
           
protected  void showCard(int index)
           
protected  void updateButtonStates()
           
protected  boolean verifyUserInput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_BACK

public static final int ID_BACK
See Also:
Constant Field Values

ID_NEXT

public static final int ID_NEXT
See Also:
Constant Field Values

ID_FINISH

public static final int ID_FINISH
See Also:
Constant Field Values

ID_CANCEL

public static final int ID_CANCEL
See Also:
Constant Field Values

ID_HELP

public static final int ID_HELP
See Also:
Constant Field Values
Constructor Detail

SequentialDialog

public SequentialDialog(JFrame frame,
                        String titleBase)

SequentialDialog

public SequentialDialog(JFrame frame,
                        String titleBase,
                        Icon image,
                        boolean hasHelp)
Method Detail

getFrame

public JFrame getFrame()

getDialog

public JDialog getDialog()

getButtonID

public int getButtonID()

getCardCount

public int getCardCount()

getCard

public Component getCard(int index)

getCurrentCard

public Component getCurrentCard()

getCardName

public String getCardName(int index)

addCard

public void addCard(String name,
                    Component card)

show

public int show()

hide

public void hide()

center

public void center()

onBack

protected void onBack()

onNext

protected void onNext()

onFinish

protected void onFinish()

onCancel

protected void onCancel()

onHelp

protected void onHelp()

getCurrentCardIndex

protected int getCurrentCardIndex()

getPreviousCardIndex

protected int getPreviousCardIndex()

getNextCardIndex

protected int getNextCardIndex()

showCard

protected void showCard(int index)

updateButtonStates

protected void updateButtonStates()

isBackPossible

protected boolean isBackPossible()

isNextPossible

protected boolean isNextPossible()

isFinishPossible

protected boolean isFinishPossible()

verifyUserInput

protected boolean verifyUserInput()


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.