public class SequentialDialog extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ID_BACK |
static int |
ID_CANCEL |
static int |
ID_FINISH |
static int |
ID_HELP |
static int |
ID_NEXT |
Constructor and Description |
---|
SequentialDialog(JFrame frame,
String titleBase) |
SequentialDialog(JFrame frame,
String titleBase,
Icon image,
boolean hasHelp) |
Modifier and Type | Method and 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() |
public static final int ID_BACK
public static final int ID_NEXT
public static final int ID_FINISH
public static final int ID_CANCEL
public static final int ID_HELP
public JFrame getFrame()
public JDialog getDialog()
public int getButtonID()
public int getCardCount()
public Component getCard(int index)
public Component getCurrentCard()
public String getCardName(int index)
public int show()
public void hide()
public void center()
protected void onBack()
protected void onNext()
protected void onFinish()
protected void onCancel()
protected void onHelp()
protected int getCurrentCardIndex()
protected int getPreviousCardIndex()
protected int getNextCardIndex()
protected void showCard(int index)
protected void updateButtonStates()
protected boolean isBackPossible()
protected boolean isNextPossible()
protected boolean isFinishPossible()
protected boolean verifyUserInput()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.