Interface GuiSwingAction.ActionResultHandler
- All Superinterfaces:
GuiSwingElement.FeatureCollection, GuiSwingFeature
- All Known Implementing Classes:
GuiSwingActionDefault.ActionResultHandlerEditStarter, GuiSwingActionDefault.ActionResultTableSelectionConversion, GuiSwingTableColumnCollection.ActionResultHandlerEditStarterForList, GuiSwingTableColumnSetDefault.ActionResultTableSelectionListActionSelectionChange
- Enclosing interface:
GuiSwingAction
the action handler for task after running an action
- Since:
- 1.9
-
Nested Class Summary
Nested classes/interfaces inherited from interface GuiSwingFeature
GuiSwingFeature.TraversalOption, GuiSwingFeature.TraversalPredicate, GuiSwingFeature.TraversalPredicateOnce, GuiSwingFeature.TraversalPredicateOnceContext, GuiSwingFeature.VisitorModifier and TypeInterfaceDescriptionstatic enumstatic interfacestatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(GuiSwingAction.ExecutionActionParameters parameters, Object o) Methods inherited from interface GuiSwingElement.FeatureCollection
getSwingViewSubNodesSameDisplayMethods inherited from interface GuiSwingFeature
addSwingEditFinishHandler, executeContextTask, getPrefsJsonSupported, getSpecifier, getSwingViewContext, getSwingViewSubNodes, isSwingEditable, loadSwingPreferences, loadSwingPreferences, prepareForRefresh, refreshByContext, requestSwingViewFocus, saveSwingPreferences, setKeyStrokeString, setPrefsJsonSupported, shutdownSwingView, updateSwingViewSource, updateSwingViewSourceFromRootModifier and TypeMethodDescriptiondefault voidaddSwingEditFinishHandler(Runnable eventHandler) the method is used for table cell-editors, in order to observe the completion of editing.default <RetType> GuiSwingTaskRunner.ContextTaskResult<RetType> executeContextTask(Supplier<RetType> task, Consumer<GuiSwingTaskRunner.ContextTaskResult<RetType>> afterTask) default ObjectList<?> It returns a list of sub-nodes of the node.default booleandefault voidthe convient method for loading preferences withGuiSwingPrefsApplyOptions.APPLY_OPTIONS_DEFAULT.default voidloadSwingPreferences(GuiPreferences prefs, GuiSwingPrefsApplyOptions options) a sub-class which wraps another value-pane should overrides the method in order to omit needless value setting it can useGuiSwingView.loadPreferencesDefault(JComponent, GuiPreferences)default voidfor each component, the method is called before refreshing in order to clear the view-clock.default voidprepare, clear and update via the contextdefault voiddefault voidonly save the component itself, not including children.default voidsetKeyStrokeString(String keyStrokeString) set the key-stroke info.default voidsetPrefsJsonSupported(Object json) default voidfor each component, at the end of the process, this method will be calleddefault voidnotifies property update to the component.default voidnotifies property update to the component and enclosing other components.
-
Method Details
-
run
-