Package com.vladsch.plugin.util.ui
Class CheckboxAction
- java.lang.Object
-
- com.intellij.openapi.actionSystem.AnAction
-
- com.intellij.openapi.actionSystem.ToggleAction
-
- com.vladsch.plugin.util.ui.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
-
-
Field Summary
-
Fields inherited from interface com.intellij.openapi.actionSystem.ex.CustomComponentAction
ACTION_KEY, COMPONENT_KEY
-
Fields inherited from interface com.vladsch.plugin.util.ui.CustomComponentAction
CUSTOM_COMPONENT_PROPERTY_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCheckboxAction()protectedCheckboxAction(java.lang.String text)protectedCheckboxAction(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.JComponentcreateCustomComponent(@NotNull com.intellij.openapi.actionSystem.Presentation presentation, @NotNull java.lang.String place)voidupdate(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e)protected static voidupdateCustomComponent(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
-
-
-
-
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:
createCustomComponentin interfacecom.intellij.openapi.actionSystem.ex.CustomComponentAction
-
update
public void update(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e)- Overrides:
updatein classcom.intellij.openapi.actionSystem.ToggleAction
-
updateCustomComponent
protected static void updateCustomComponent(javax.swing.JCheckBox checkBox, com.intellij.openapi.actionSystem.Presentation presentation)
-
-