public class ConfigurableSwingWindowDisplayHandler extends ConfigurableWindowDisplayHandler<Window> implements SwingWindowDisplayHandler
ERROR_NAME_BLANK, ERROR_WINDOW_NULL
Constructor and Description |
---|
ConfigurableSwingWindowDisplayHandler(GriffonApplication application,
SwingWindowDisplayHandler delegateWindowsDisplayHandler) |
Modifier and Type | Method and Description |
---|---|
protected SwingWindowDisplayHandler |
fetchDefaultWindowDisplayHandler() |
protected boolean |
handleHideByInjectedHandler(String name,
Window window) |
protected boolean |
handleShowByInjectedHandler(String name,
Window window) |
void |
hide(String name,
JInternalFrame window) |
protected SwingWindowDisplayHandler |
resolveSwingWindowDisplayHandler(String name) |
protected void |
run(Object handler,
String name,
JInternalFrame window) |
void |
show(String name,
JInternalFrame window) |
canBeRun, getApplication, getDelegateWindowsDisplayHandler, hide, run, show, windowBlock, windowManagerBlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hide, show
@Inject public ConfigurableSwingWindowDisplayHandler(@Nonnull GriffonApplication application, @Nonnull@Named(value="defaultWindowDisplayHandler") SwingWindowDisplayHandler delegateWindowsDisplayHandler)
public void show(@Nonnull String name, @Nonnull JInternalFrame window)
show
in interface SwingWindowDisplayHandler
public void hide(@Nonnull String name, @Nonnull JInternalFrame window)
hide
in interface SwingWindowDisplayHandler
protected void run(@Nonnull Object handler, @Nonnull String name, @Nonnull JInternalFrame window)
@Nonnull protected SwingWindowDisplayHandler fetchDefaultWindowDisplayHandler()
fetchDefaultWindowDisplayHandler
in class ConfigurableWindowDisplayHandler<Window>
protected boolean handleShowByInjectedHandler(@Nonnull String name, @Nonnull Window window)
handleShowByInjectedHandler
in class ConfigurableWindowDisplayHandler<Window>
protected boolean handleHideByInjectedHandler(@Nonnull String name, @Nonnull Window window)
handleHideByInjectedHandler
in class ConfigurableWindowDisplayHandler<Window>
protected SwingWindowDisplayHandler resolveSwingWindowDisplayHandler(@Nonnull String name)