package hirondelle.movies.util.ui;
import static javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE;
import static javax.swing.WindowConstants.HIDE_ON_CLOSE;
import static javax.swing.WindowConstants.DISPOSE_ON_CLOSE;
import static javax.swing.WindowConstants.EXIT_ON_CLOSE;
public enum OnClose {
DISPOSE(DISPOSE_ON_CLOSE),
DO_NOTHING(DO_NOTHING_ON_CLOSE),
HIDE(HIDE_ON_CLOSE),
EXIT(EXIT_ON_CLOSE);
public int getIntValue(){ return fOption; }
private OnClose(int aUnderlyingOption){
fOption = aUnderlyingOption;
}
private int fOption;
}