Class GuiSwingTableColumnCollection.ActionResultHandlerEditStarterForList
java.lang.Object
org.autogui.swing.GuiSwingActionDefault.ActionResultHandlerEditStarter
org.autogui.swing.table.GuiSwingTableColumnCollection.ActionResultHandlerEditStarterForList
- All Implemented Interfaces:
GuiSwingAction.ActionResultHandler, GuiSwingElement.FeatureCollection, GuiSwingFeature
- Enclosing class:
GuiSwingTableColumnCollection
public static class GuiSwingTableColumnCollection.ActionResultHandlerEditStarterForList
extends GuiSwingActionDefault.ActionResultHandlerEditStarter
a sub-class of
GuiSwingActionDefault.ActionResultHandlerEditStarter
for list selection actions- 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 -
Field Summary
FieldsFields inherited from class GuiSwingActionDefault.ActionResultHandlerEditStarter
actionContext, currentTarget, editorContext, frame, objectSpecifier, rootContentPane, rootPane, showenModifier and TypeFieldDescriptionprotected GuiMappingContextprotected Objectprotected GuiMappingContextprotected JFrameprotected GuiReprValue.ObjectSpecifierprotected JComponentprotected GuiSwingRootPaneprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionActionResultHandlerEditStarterForList(GuiMappingContext actionContext, GuiMappingContext editorContext, JComponent rootPane) ActionResultHandlerEditStarterForList(GuiMappingContext actionContext, GuiMappingContext editorContext, GuiSwingView view) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinishEditCurrentTarget(boolean ok, Object currentTarget) protected voidsetupObject(GuiReprValue.ObjectSpecifier objectSpecifier, Object o) Methods inherited from class GuiSwingActionDefault.ActionResultHandlerEditStarter
addAction, addKeyStroke, finishEdit, getFrame, getSpecifier, getSwingViewContext, getSwingViewSubNodes, initButtonPane, initFrame, keyStrokeString, prepareForRefresh, run, show, shutdownSwingViewModifier and TypeMethodDescriptionprotected KeyStrokeprotected KeyStrokeaddKeyStroke(String name, KeyStroke stroke) voidfinishEdit(boolean ok) getFrame()List<?> It returns a list of sub-nodes of the node.protected voidinitButtonPane(JPanel content) protected voidprotected StringkeyStrokeString(KeyStroke stroke) voidfor each component, the method is called before refreshing in order to clear the view-clock.voidrun(GuiSwingAction.ExecutionActionParameters parameters, Object o) protected voidshow(ActionEvent e) voidfor each component, at the end of the process, this method will be calledMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GuiSwingElement.FeatureCollection
getSwingViewSubNodesSameDisplayMethods inherited from interface GuiSwingFeature
addSwingEditFinishHandler, executeContextTask, getPrefsJsonSupported, isSwingEditable, loadSwingPreferences, loadSwingPreferences, refreshByContext, requestSwingViewFocus, saveSwingPreferences, setKeyStrokeString, setPrefsJsonSupported, 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 Objectdefault 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 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 voidnotifies property update to the component.default voidnotifies property update to the component and enclosing other components.
-
Field Details
-
currentCompletionTarget
-
-
Constructor Details
-
ActionResultHandlerEditStarterForList
public ActionResultHandlerEditStarterForList(GuiMappingContext actionContext, GuiMappingContext editorContext, GuiSwingView view) -
ActionResultHandlerEditStarterForList
public ActionResultHandlerEditStarterForList(GuiMappingContext actionContext, GuiMappingContext editorContext, JComponent rootPane)
-
-
Method Details
-
setupObject
- Overrides:
setupObjectin classGuiSwingActionDefault.ActionResultHandlerEditStarter
-
finishEditCurrentTarget
- Overrides:
finishEditCurrentTargetin classGuiSwingActionDefault.ActionResultHandlerEditStarter
-