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 voidaddCard(String name, Component card)voidcenter()intgetButtonID()ComponentgetCard(int index)intgetCardCount()StringgetCardName(int index)ComponentgetCurrentCard()protected intgetCurrentCardIndex()JDialoggetDialog()JFramegetFrame()protected intgetNextCardIndex()protected intgetPreviousCardIndex()voidhide()protected booleanisBackPossible()protected booleanisFinishPossible()protected booleanisNextPossible()protected voidonBack()protected voidonCancel()protected voidonFinish()protected voidonHelp()protected voidonNext()intshow()protected voidshowCard(int index)protected voidupdateButtonStates()protected booleanverifyUserInput()
-
-
-
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()
-
-