Class GuiSwingActionDefault.ActionResultRootPane
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.autogui.swing.GuiSwingRootPane
org.autogui.swing.GuiSwingActionDefault.ActionResultRootPane
- All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, GuiSwingElement.FeatureCollection, GuiSwingFeature, GuiSwingPreferences.RootView
- Enclosing class:
GuiSwingActionDefault
root-pane for an editor object
- Since:
- 1.9
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class GuiSwingRootPane
GuiSwingRootPane.GuiSwingRootPaneCreator, GuiSwingRootPane.ShowPreferencesAction, GuiSwingRootPane.WindowCloseAction, GuiSwingRootPane.WindowMenuBuilder, GuiSwingRootPane.WindowMenuMinimizeAction, GuiSwingRootPane.WindowMenuToFromAction, GuiSwingRootPane.WindowMenuZoomActionModifier and TypeClassDescriptionstatic classa creator ofGuiSwingRootPane, can be obtained byGuiSwingRootPane.creator().static classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyNested 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
Fields inherited from class GuiSwingRootPane
applicationRoot, closeAction, context, fileDialogPreferencesUpdater, keyBinding, logPreferencesUpdater, logStatus, logWindow, menuBar, objectMenu, preferences, prefsApplyMenu, prefsApplyOptions, settingsWindow, showPreferencesAction, title, view, viewComponent, windowMenuBuilderModifier and TypeFieldDescriptionprotected booleanprotected GuiSwingRootPane.WindowCloseActionprotected GuiMappingContextprotected GuiSwingKeyBindingprotected booleanprotected GuiSwingLogManager.GuiSwingLogWindowprotected JMenuBarprotected JMenuprotected GuiSwingPreferencesprotected GuiSwingPreferences.PrefsApplyMenuprotected GuiSwingPrefsApplyOptionsprotected SettingsWindowprotected GuiSwingRootPane.ShowPreferencesActionprotected Stringprotected GuiSwingViewprotected JComponentprotected GuiSwingRootPane.WindowMenuBuilderFields inherited from class JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidloadSwingPreferences(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)voidonly save the component itself, not including children.Methods inherited from class GuiSwingRootPane
cleanUp, createForObject, createForObjectRelaxed, creator, getActiveFrame, getContentPane, getContextForPreferences, getFileDialogPreferencesUpdater, getKeyBinding, getLogPreferencesUpdater, getLogWindow, getMenuBar, getObjectMenu, getPreferences, getPrefsApplyOptions, getSettingsWindow, getSpecifier, getSwingViewContext, getSwingViewSubNodes, getTitle, getView, getViewComponent, getViewComponentForPreferences, getViewValuePane, getWindowMenuBuilder, init, initContextUpdate, initDefaultSize, initFileDialogPrefsUpdater, initKeyBinding, initLog, initMenu, initPrefs, initPrefsLoad, initSettingWindow, initSwingLogManager, initTitle, initToolTipManager, initViewComponent, initViewComponentSet, isApplicationRoot, loadPreferences, loadPreferences, prepareForRefresh, refreshByContext, savePreferences, savePreferences, setApplicationRoot, setContentPane, setMenuBar, setTitle, setupObjectMenu, updateSwingLogManager, withErrorModifier and TypeMethodDescriptionvoidcleanUp()cleaning up the pane and related components.static GuiSwingRootPanestatic GuiSwingRootPanecreator()create and return a creator of root-panestatic FrameList<?> It returns a list of sub-nodes of the node.getTitle()getView()protected voidinit()protected voidprotected voidaccessGuiInitWindowof the type of the context and set preferredSize if it has valid valuesprotected voidprotected voidprotected voidinitLog()protected voidinitMenu()protected voidprotected voidprotected voidprotected GuiSwingLogManagerprotected voidprotected voidprotected voidprotected voidbooleanvoidloadPreferences(GuiPreferences prefs, GuiSwingPrefsApplyOptions options) voidloadPreferences(GuiPreferences prefs, GuiSwingPrefsApplyOptions options, boolean recursive) voidfor each component, the method is called before refreshing in order to clear the view-clock.voidthe convenient method for refreshing the panevoidsavePreferences(GuiPreferences prefs) voidsavePreferences(GuiPreferences prefs, boolean recursive) voidsetApplicationRoot(boolean applicationRoot) voidsetContentPane(JComponent comp) voidsetMenuBar(JMenuBar menuBar) voidvoidstatic GuiSwingLogManagervoidMethods inherited from class JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIMethods inherited from class Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GuiSwingElement.FeatureCollection
getSwingViewSubNodesSameDisplayMethods inherited from interface GuiSwingFeature
addSwingEditFinishHandler, executeContextTask, getPrefsJsonSupported, isSwingEditable, loadSwingPreferences, requestSwingViewFocus, 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 Objectdefault booleandefault voidthe convient method for loading preferences withGuiSwingPrefsApplyOptions.APPLY_OPTIONS_DEFAULT.default voiddefault 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.
-
Constructor Details
-
ActionResultRootPane
-
-
Method Details
-
loadSwingPreferences
Description copied from interface:GuiSwingFeaturea sub-class which wraps another value-pane should overrides the method in order to omit needless value setting it can useGuiSwingView.loadPreferencesDefault(JComponent, GuiPreferences)- Parameters:
prefs- target prefsoptions- options for applying
-
saveSwingPreferences
Description copied from interface:GuiSwingFeatureonly save the component itself, not including children. it can useGuiSwingView.savePreferencesDefault(JComponent, GuiPreferences)- Parameters:
prefs- target prefs or ancestor of the target; actual target can be obtained byGuiPreferences.getDescendant(GuiMappingContext)
-