org.qdwizard
Class ScreenState
public class ScreenState
extends Observable
A screen state:
- can cancel ?
- can finish ?
- can go next ?
- can go previous ?
ScreenState() - Construct a ScreenState
|
ScreenState(boolean bCanGoNext, boolean bCanGoPrevious, boolean bCanCancel, boolean bCanFinish, String sProblem) - Construct a ScreenState
|
ScreenState
public ScreenState()
Construct a ScreenState
ScreenState
public ScreenState(boolean bCanGoNext,
boolean bCanGoPrevious,
boolean bCanCancel,
boolean bCanFinish,
String sProblem)
Construct a ScreenState
bCanGoNext
- next button is enabledbCanGoPrevious
- previous button is enabledbCanCancel
- cancel button is enabledbCanFinish
- cancel button is enabledsProblem
- problem text
getCanCancel
public boolean getCanCancel()
getCanFinish
public boolean getCanFinish()
getCanGoNext
public boolean getCanGoNext()
getCanGoPrevious
public boolean getCanGoPrevious()
getProblem
public String getProblem()
setCanCancel
public void setCanCancel(boolean bCanCancel)
Set whether the cancel (or System menu close) button should be enabled
setCanFinish
public void setCanFinish(boolean bCanFinish)
Set whether the finish button should be enabled
setCanGoNext
public void setCanGoNext(boolean bCanGoNext)
Set whether the next button should be enabled
setCanGoPrevious
public void setCanGoPrevious(boolean bCanGoPrevious)
Set whether the previous button should be enabled
setProblem
public void setProblem(String sProblem)
Set a problem (set to null if problem is fixed)
sProblem
- Problem string or null if no more problem