| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfigUIHandler.ChangeCategoryCallBack
To be able to veto a change of a category.
|
static interface |
ConfigUIHandler.ConfigCallBackUICustomizer
To customize config call back ui.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CALLBACKS |
static String |
CALLBACKS_WITH_OPTIONS |
static org.apache.commons.logging.Log |
log |
static String |
QUIT_ACTION |
| Constructor and Description |
|---|
ConfigUIHandler(ConfigUI ui) |
| Modifier and Type | Method and Description |
|---|---|
int |
askUser(String title,
String message,
int typeMessage,
Object[] options,
int defaultOption) |
protected boolean |
canQuitCategory() |
void |
changeCategory(ChangeEvent e) |
protected void |
closeUI(Window parentWindow,
ConfigUIModel model) |
protected Action |
createQuitAction() |
void |
destroy() |
void |
displayUI(Frame parentUI,
boolean undecorated) |
void |
initUI(String defaultCategory) |
void |
setChangeCategoryCallBack(ConfigUIHandler.ChangeCategoryCallBack changeCategoryCallBack) |
void |
setConfigCallBackUICustomizer(ConfigUIHandler.ConfigCallBackUICustomizer configCallBackUICustomizer) |
void |
setTopContainer(Container topContainer) |
public static final org.apache.commons.logging.Log log
public static final String CALLBACKS_WITH_OPTIONS
public static final String CALLBACKS
public static final String QUIT_ACTION
public ConfigUIHandler(ConfigUI ui)
public void setChangeCategoryCallBack(ConfigUIHandler.ChangeCategoryCallBack changeCategoryCallBack)
public void initUI(String defaultCategory)
public void destroy()
public void changeCategory(ChangeEvent e)
public void displayUI(Frame parentUI, boolean undecorated)
protected Action createQuitAction()
public void setConfigCallBackUICustomizer(ConfigUIHandler.ConfigCallBackUICustomizer configCallBackUICustomizer)
protected void closeUI(Window parentWindow, ConfigUIModel model)
protected boolean canQuitCategory()
public int askUser(String title, String message, int typeMessage, Object[] options, int defaultOption)
public void setTopContainer(Container topContainer)
Copyright © 2008–2016 CodeLutin. All rights reserved.