Module org.autogui

Class GuiSwingView.ContextRefreshAction

java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.GuiSwingView.ContextRefreshAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, PopupCategorized.CategorizedMenuItem, PopupCategorized.CategorizedMenuItemAction, PopupCategorized.CategorizedMenuItemComponent
Enclosing interface:
GuiSwingView

public static class GuiSwingView.ContextRefreshAction extends AbstractAction implements PopupCategorized.CategorizedMenuItemAction
an action for refreshing the value of the context of the pane.

first it calls GuiSwingView.prepareForRefresh(GuiSwingView.ValuePane) which traverses the target pane and calls GuiSwingView.prepareForRefresh(GuiSwingView.ValuePane) for each component.

next clears values by GuiMappingContext.clearSourceSubTree() and calls GuiMappingContext.updateSourceSubTree()

See Also: