public class ConfigurableSwingWindowDisplayHandler extends ConfigurableWindowDisplayHandler<java.awt.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(java.lang.String name,
java.awt.Window window) |
protected boolean |
handleShowByInjectedHandler(java.lang.String name,
java.awt.Window window) |
void |
hide(java.lang.String name,
javax.swing.JInternalFrame window) |
protected SwingWindowDisplayHandler |
resolveSwingWindowDisplayHandler(java.lang.String name) |
protected void |
run(java.lang.Object handler,
java.lang.String name,
javax.swing.JInternalFrame window) |
void |
show(java.lang.String name,
javax.swing.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 java.lang.String name, @Nonnull javax.swing.JInternalFrame window)
show
in interface SwingWindowDisplayHandler
public void hide(@Nonnull java.lang.String name, @Nonnull javax.swing.JInternalFrame window)
hide
in interface SwingWindowDisplayHandler
protected void run(@Nonnull java.lang.Object handler, @Nonnull java.lang.String name, @Nonnull javax.swing.JInternalFrame window)
@Nonnull protected SwingWindowDisplayHandler fetchDefaultWindowDisplayHandler()
fetchDefaultWindowDisplayHandler
in class ConfigurableWindowDisplayHandler<java.awt.Window>
protected boolean handleShowByInjectedHandler(@Nonnull java.lang.String name, @Nonnull java.awt.Window window)
handleShowByInjectedHandler
in class ConfigurableWindowDisplayHandler<java.awt.Window>
protected boolean handleHideByInjectedHandler(@Nonnull java.lang.String name, @Nonnull java.awt.Window window)
handleHideByInjectedHandler
in class ConfigurableWindowDisplayHandler<java.awt.Window>
protected SwingWindowDisplayHandler resolveSwingWindowDisplayHandler(@Nonnull java.lang.String name)