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:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public abstract class ShowUIAction<M extends DialogUIModel,U extends DialogUI<H>,H extends DialogUIHandler<M,U>>
- extends javax.swing.AbstractAction
- Author:
- chemit
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| 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 |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.String position
undecorated
protected boolean undecorated
ShowUIAction
public ShowUIAction(DialogUI<?> ui,
DialogUIDef<M,U,H> uiDef,
UIFactory factory,
boolean showText)
initUI
protected U initUI(java.awt.event.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(java.lang.String position)
setUndecorated
public void setUndecorated(boolean undecorated)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
setPosition
protected void setPosition(javax.swing.JDialog parentUI,
javax.swing.JDialog ui,
java.lang.String position)
checkInit
protected void checkInit()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
Copyright © 2008-2010 CodeLutin. All Rights Reserved.