Class CheckboxAction

  • All Implemented Interfaces:
    com.intellij.openapi.actionSystem.ex.CustomComponentAction, com.intellij.openapi.actionSystem.Toggleable, com.intellij.openapi.project.PossiblyDumbAware, CustomComponentAction

    public abstract class CheckboxAction
    extends com.intellij.openapi.actionSystem.ToggleAction
    implements CustomComponentAction
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.intellij.openapi.actionSystem.AnAction

        com.intellij.openapi.actionSystem.AnAction.TransparentUpdate
    • Field Summary

      • Fields inherited from class com.intellij.openapi.actionSystem.AnAction

        ACTIONS_KEY, EMPTY_ARRAY
      • Fields inherited from interface com.intellij.openapi.actionSystem.ex.CustomComponentAction

        ACTION_KEY, COMPONENT_KEY
      • Fields inherited from interface com.intellij.openapi.actionSystem.Toggleable

        SELECTED_PROPERTY
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CheckboxAction()  
      protected CheckboxAction​(java.lang.String text)  
      protected CheckboxAction​(java.lang.String text, java.lang.String description, javax.swing.Icon icon)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull javax.swing.JComponent createCustomComponent​(@NotNull com.intellij.openapi.actionSystem.Presentation presentation, @NotNull java.lang.String place)  
      void update​(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e)  
      protected static void updateCustomComponent​(javax.swing.JCheckBox checkBox, com.intellij.openapi.actionSystem.Presentation presentation)  
      • Methods inherited from class com.intellij.openapi.actionSystem.ToggleAction

        actionPerformed, isSelected, setSelected
      • Methods inherited from class com.intellij.openapi.actionSystem.AnAction

        addSynonym, addTextOverride, addTextOverride, applyTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyActionTextOverride, copyActionTextOverrides, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getSynonyms, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.intellij.openapi.actionSystem.ex.CustomComponentAction

        createCustomComponent, createCustomComponent
      • Methods inherited from interface com.intellij.openapi.project.PossiblyDumbAware

        isDumbAware
    • Constructor Detail

      • CheckboxAction

        protected CheckboxAction()
      • CheckboxAction

        protected CheckboxAction​(java.lang.String text)
      • CheckboxAction

        protected CheckboxAction​(java.lang.String text,
                                 java.lang.String description,
                                 javax.swing.Icon icon)
    • Method Detail

      • createCustomComponent

        @NotNull
        public @NotNull javax.swing.JComponent createCustomComponent​(@NotNull
                                                                     @NotNull com.intellij.openapi.actionSystem.Presentation presentation,
                                                                     @NotNull
                                                                     @NotNull java.lang.String place)
        Specified by:
        createCustomComponent in interface com.intellij.openapi.actionSystem.ex.CustomComponentAction
      • update

        public void update​(@NotNull
                           @NotNull com.intellij.openapi.actionSystem.AnActionEvent e)
        Overrides:
        update in class com.intellij.openapi.actionSystem.ToggleAction
      • updateCustomComponent

        protected static void updateCustomComponent​(javax.swing.JCheckBox checkBox,
                                                    com.intellij.openapi.actionSystem.Presentation presentation)