Package net.anwiba.commons.swing.dialog
Class ConfigurableDialogToValueDialogAdapter<T>
- java.lang.Object
-
- net.anwiba.commons.swing.dialog.ConfigurableDialogToValueDialogAdapter<T>
-
- All Implemented Interfaces:
IValueDialog<T>
public final class ConfigurableDialogToValueDialogAdapter<T> extends java.lang.Object implements IValueDialog<T>
-
-
Constructor Summary
Constructors Constructor Description ConfigurableDialogToValueDialogAdapter(ConfigurableDialog dialog, IObjectModel<T> model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDialogResultgetResult()TgetValue()voidsetVisible(boolean is)
-
-
-
Constructor Detail
-
ConfigurableDialogToValueDialogAdapter
public ConfigurableDialogToValueDialogAdapter(ConfigurableDialog dialog, IObjectModel<T> model)
-
-
Method Detail
-
getResult
public IDialogResult getResult()
- Specified by:
getResultin interfaceIValueDialog<T>
-
setVisible
public void setVisible(boolean is)
- Specified by:
setVisiblein interfaceIValueDialog<T>
-
getValue
public T getValue()
- Specified by:
getValuein interfaceIValueDialog<T>
-
-