Documentation API of the 'vmm3d.actions.ToggleAction' Java class

Class ToggleAction

  • All Implemented Interfaces:
    ActionListener, Serializable, Cloneable, EventListener, Action, ActionItem

    public class ToggleActionextends AbstractActionVMM
    A ToggleAction is an Action that has a boolean-valued property named "ToggleState". The createCheckBox() and createCheckBoxMenuItem() methods return components whose state is synchronized with each other and with the state of this ToggleAction. When one of these components generates an ActionEvent, the states of the ToggleAction and of all the synchronized components are changed to match. A getState() method is provided as a convenience to make it possible to determine the current state. (Note that this is a concrete subclass of AbstractAction, but its actionPerformed method is defined to do nothing. It is still possible to override this method if you want to perform some action when the state changes.)
    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.