org.nuiton.jaxx.util
Class ShowUIAction<M extends DialogUIModel,U extends DialogUI<H>,H extends DialogUIHandler<M,U>>
java.lang.Object
javax.swing.AbstractAction
org.nuiton.jaxx.util.ShowUIAction<M,U,H>
- Type Parameters:
M - type of modelU - type of uiH - type of handler
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public abstract class ShowUIAction<M extends DialogUIModel,U extends DialogUI<H>,H extends DialogUIHandler<M,U>>
- extends AbstractAction
- Author:
- chemit
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
log
protected static org.apache.commons.logging.Log log
ui
protected transient DialogUI<?> ui
uiDef
protected DialogUIDef<M extends DialogUIModel,U extends DialogUI<H>,H extends DialogUIHandler<M,U>> uiDef
factory
protected transient UIFactory factory
position
protected String position
undecorated
protected boolean undecorated
ShowUIAction
public ShowUIAction(DialogUI<?> ui,
DialogUIDef<M,U,H> uiDef,
UIFactory factory,
boolean showText)
initUI
protected U initUI(ActionEvent e)
getUi
public DialogUI<?> getUi()
getUiDef
public DialogUIDef<M,U,H> getUiDef()
getFactory
public UIFactory getFactory()
setUiDef
public void setUiDef(DialogUIDef<M,U,H> uiDef)
setPosition
public void setPosition(String position)
setUndecorated
public void setUndecorated(boolean undecorated)
actionPerformed
public void actionPerformed(ActionEvent e)
setPosition
protected void setPosition(JDialog parentUI,
JDialog ui,
String position)
checkInit
protected void checkInit()
throws IllegalStateException
- Throws:
IllegalStateException
Copyright © 2008-2010 CodeLutin. All Rights Reserved.