Class ApplicationActionUI
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Dialog
-
- javax.swing.JDialog
-
- org.nuiton.jaxx.application.swing.action.ApplicationActionUI
-
- All Implemented Interfaces:
ImageObserver,MenuContainer,Serializable,Accessible,RootPaneContainer,WindowConstants,JAXXContext,JAXXObject,ApplicationUI<ApplicationActionUIModel,ApplicationActionUIHandler>
public class ApplicationActionUI extends JDialog implements ApplicationUI<ApplicationActionUIModel,ApplicationActionUIHandler>, JAXXObject
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
-
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
-
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow, Window.Type
-
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>$activeBindingsprotected Map<String,JAXXBinding>$bindingsprotected Map<String,Object>$bindingSourcesprotected Map<String,Object>$objectMapprotected Map<?,?>$previousValuesprotected BlockingLayerUIbusyBlockLayerUIprotected JAXXContextdelegateContextprotected JLabelglobalActionLabelprotected JPanelglobalPanelprotected JProgressBarglobalProgressBarprotected ApplicationActionUIHandlerhandlerprotected ApplicationActionUIModelmodelprotected JPanelrootPanelprotected JLabeltaskActionLabelprotected JPaneltaskPanelprotected JProgressBartaskProgressBar-
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
-
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface org.nuiton.jaxx.application.swing.ApplicationUI
DECIMAL1_PATTERN, DECIMAL2_DIGITS_PATTERN, DECIMAL2_PATTERN, DECIMAL3_PATTERN, DECIMAL4_PATTERN, INT_1_DIGITS_PATTERN, INT_10_DIGITS_PATTERN, INT_2_DIGITS_PATTERN, INT_3_DIGITS_PATTERN, INT_4_DIGITS_PATTERN, INT_6_DIGITS_PATTERN, INT_7_DIGITS_PATTERN, SIGNED_INT_2_DIGITS_PATTERN, SIGNED_INT_3_DIGITS_PATTERN
-
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
-
-
Constructor Summary
-
Method Summary
-
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jaxx.runtime.JAXXObject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Field Detail
-
$bindings
protected final Map<String,JAXXBinding> $bindings
-
$previousValues
protected Map<?,?> $previousValues
-
delegateContext
protected final JAXXContext delegateContext
-
busyBlockLayerUI
protected BlockingLayerUI busyBlockLayerUI
-
globalActionLabel
protected JLabel globalActionLabel
-
globalPanel
protected JPanel globalPanel
-
globalProgressBar
protected JProgressBar globalProgressBar
-
handler
protected final ApplicationActionUIHandler handler
-
model
protected ApplicationActionUIModel model
-
rootPanel
protected JPanel rootPanel
-
taskActionLabel
protected JLabel taskActionLabel
-
taskPanel
protected JPanel taskPanel
-
taskProgressBar
protected JProgressBar taskProgressBar
-
-
Constructor Detail
-
ApplicationActionUI
public ApplicationActionUI(JFrame frame, ApplicationUIContext context)
-
ApplicationActionUI
public ApplicationActionUI()
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Frame param1, String param2, boolean param3)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Frame param1, String param2)
-
ApplicationActionUI
public ApplicationActionUI(Frame param0, boolean param1)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Frame param1, boolean param2)
-
ApplicationActionUI
public ApplicationActionUI(Frame param0)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Frame param1)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Dialog param1, String param2, boolean param3)
-
ApplicationActionUI
public ApplicationActionUI(Dialog param0, String param1, boolean param2, GraphicsConfiguration param3)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Dialog param1, String param2, boolean param3, GraphicsConfiguration param4)
-
ApplicationActionUI
public ApplicationActionUI(Window param0)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Window param1)
-
ApplicationActionUI
public ApplicationActionUI(Window param0, Dialog.ModalityType param1)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Window param1, Dialog.ModalityType param2)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Window param1, String param2)
-
ApplicationActionUI
public ApplicationActionUI(Window param0, String param1, Dialog.ModalityType param2)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Window param1, String param2, Dialog.ModalityType param3)
-
ApplicationActionUI
public ApplicationActionUI(Window param0, String param1, Dialog.ModalityType param2, GraphicsConfiguration param3)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Window param1, String param2, Dialog.ModalityType param3, GraphicsConfiguration param4)
-
ApplicationActionUI
public ApplicationActionUI(Frame param0, String param1, boolean param2, GraphicsConfiguration param3)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Frame param1, String param2, boolean param3, GraphicsConfiguration param4)
-
ApplicationActionUI
public ApplicationActionUI(Dialog param0)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Dialog param1)
-
ApplicationActionUI
public ApplicationActionUI(Dialog param0, boolean param1)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Dialog param1, boolean param2)
-
ApplicationActionUI
public ApplicationActionUI(JAXXContext parentContext, Dialog param1, String param2)
-
-
Method Detail
-
open
public void open(AbstractApplicationAction action)
-
close
public void close()
-
$getJAXXObjectDescriptor
public static JAXXObjectDescriptor $getJAXXObjectDescriptor()
-
applyDataBinding
public void applyDataBinding(String $binding)
- Specified by:
applyDataBindingin interfaceJAXXObject
-
firePropertyChange
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
- Specified by:
firePropertyChangein interfaceJAXXObject- Overrides:
firePropertyChangein classComponent
-
get$objectMap
public Map<String,Object> get$objectMap()
- Specified by:
get$objectMapin interfaceJAXXObject
-
getDataBinding
public JAXXBinding getDataBinding(String bindingId)
- Specified by:
getDataBindingin interfaceJAXXObject
-
getDataBindings
public JAXXBinding[] getDataBindings()
- Specified by:
getDataBindingsin interfaceJAXXObject
-
getObjectById
public Object getObjectById(String id)
- Specified by:
getObjectByIdin interfaceJAXXObject
-
processDataBinding
public void processDataBinding(String $binding, boolean $force)
- Specified by:
processDataBindingin interfaceJAXXObject
-
processDataBinding
public void processDataBinding(String $binding)
- Specified by:
processDataBindingin interfaceJAXXObject
-
registerDataBinding
public void registerDataBinding(JAXXBinding binding)
- Specified by:
registerDataBindingin interfaceJAXXObject
-
removeDataBinding
public void removeDataBinding(String $binding)
- Specified by:
removeDataBindingin interfaceJAXXObject
-
getContextValue
public <T> T getContextValue(Class<T> clazz)
- Specified by:
getContextValuein interfaceJAXXContext
-
getContextValue
public <T> T getContextValue(Class<T> clazz, String name)
- Specified by:
getContextValuein interfaceJAXXContext
-
getDelegateContext
public JAXXContext getDelegateContext()
- Specified by:
getDelegateContextin interfaceJAXXObject
-
getParentContainer
public <O extends Container> O getParentContainer(Class<O> clazz)
- Specified by:
getParentContainerin interfaceJAXXObject
-
getParentContainer
public <O extends Container> O getParentContainer(Object source, Class<O> clazz)
- Specified by:
getParentContainerin interfaceJAXXObject
-
removeContextValue
public <T> void removeContextValue(Class<T> clazz)
- Specified by:
removeContextValuein interfaceJAXXContext
-
removeContextValue
public <T> void removeContextValue(Class<T> clazz, String name)
- Specified by:
removeContextValuein interfaceJAXXContext
-
setContextValue
public <T> void setContextValue(T o)
- Specified by:
setContextValuein interfaceJAXXContext
-
setContextValue
public <T> void setContextValue(T o, String name)- Specified by:
setContextValuein interfaceJAXXContext
-
getBusyBlockLayerUI
public BlockingLayerUI getBusyBlockLayerUI()
-
getGlobalActionLabel
public JLabel getGlobalActionLabel()
-
getGlobalPanel
public JPanel getGlobalPanel()
-
getGlobalProgressBar
public JProgressBar getGlobalProgressBar()
-
getHandler
public ApplicationActionUIHandler getHandler()
- Specified by:
getHandlerin interfaceApplicationUI<ApplicationActionUIModel,ApplicationActionUIHandler>
-
getModel
public ApplicationActionUIModel getModel()
- Specified by:
getModelin interfaceApplicationUI<ApplicationActionUIModel,ApplicationActionUIHandler>
-
getRootPanel
public JPanel getRootPanel()
-
getTaskActionLabel
public JLabel getTaskActionLabel()
-
getTaskPanel
public JPanel getTaskPanel()
-
getTaskProgressBar
public JProgressBar getTaskProgressBar()
-
addChildrenToGlobalPanel
protected void addChildrenToGlobalPanel()
-
addChildrenToRootPanel
protected void addChildrenToRootPanel()
-
addChildrenToTaskPanel
protected void addChildrenToTaskPanel()
-
createBusyBlockLayerUI
protected void createBusyBlockLayerUI()
-
createGlobalActionLabel
protected void createGlobalActionLabel()
-
createGlobalPanel
protected void createGlobalPanel()
-
createGlobalProgressBar
protected void createGlobalProgressBar()
-
createHandler
protected ApplicationActionUIHandler createHandler()
-
createModel
protected void createModel()
-
createRootPanel
protected void createRootPanel()
-
createTaskActionLabel
protected void createTaskActionLabel()
-
createTaskPanel
protected void createTaskPanel()
-
createTaskProgressBar
protected void createTaskProgressBar()
-
-