Package org.esa.snap.ui
Class SequentialDialog
- java.lang.Object
-
- org.esa.snap.ui.SequentialDialog
-
public class SequentialDialog extends Object
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description SequentialDialog(JFrame frame, String titleBase)
SequentialDialog(JFrame frame, String titleBase, Icon image, boolean hasHelp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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
-
-
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)
-
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()
-
-