public class ActionScreenInitializer
extends java.lang.Object
EditAction
, etc.) to initialize a screen builder.Modifier and Type | Field and Description |
---|---|
protected java.util.function.Consumer<Screen.AfterCloseEvent> |
afterCloseHandler |
protected OpenMode |
openMode |
protected java.lang.Class |
screenClass |
protected java.util.function.Consumer<Screen> |
screenConfigurer |
protected java.lang.String |
screenId |
protected java.util.function.Supplier<ScreenOptions> |
screenOptionsSupplier |
Constructor and Description |
---|
ActionScreenInitializer() |
Modifier and Type | Method and Description |
---|---|
OpenMode |
getOpenMode() |
java.lang.Class |
getScreenClass() |
java.lang.String |
getScreenId() |
EditorBuilder |
initBuilder(EditorBuilder builder) |
LookupBuilder |
initBuilder(LookupBuilder builder) |
void |
initScreen(Screen screen) |
void |
setAfterCloseHandler(java.util.function.Consumer<Screen.AfterCloseEvent> afterCloseHandler) |
void |
setOpenMode(OpenMode openMode) |
void |
setScreenClass(java.lang.Class screenClass) |
void |
setScreenConfigurer(java.util.function.Consumer<Screen> screenConfigurer) |
void |
setScreenId(java.lang.String screenId) |
void |
setScreenOptionsSupplier(java.util.function.Supplier<ScreenOptions> screenOptionsSupplier) |
protected OpenMode openMode
protected java.lang.String screenId
protected java.lang.Class screenClass
protected java.util.function.Supplier<ScreenOptions> screenOptionsSupplier
protected java.util.function.Consumer<Screen> screenConfigurer
protected java.util.function.Consumer<Screen.AfterCloseEvent> afterCloseHandler
public OpenMode getOpenMode()
public java.lang.String getScreenId()
public java.lang.Class getScreenClass()
public void setOpenMode(OpenMode openMode)
public void setScreenId(java.lang.String screenId)
public void setScreenClass(java.lang.Class screenClass)
public void setScreenOptionsSupplier(java.util.function.Supplier<ScreenOptions> screenOptionsSupplier)
public void setScreenConfigurer(java.util.function.Consumer<Screen> screenConfigurer)
public void setAfterCloseHandler(java.util.function.Consumer<Screen.AfterCloseEvent> afterCloseHandler)
public EditorBuilder initBuilder(EditorBuilder builder)
public LookupBuilder initBuilder(LookupBuilder builder)
public void initScreen(Screen screen)