Class ToggleModel

java.lang.Object
org.eclipse.draw2d.ButtonModel
org.eclipse.draw2d.ToggleModel

public class ToggleModel extends ButtonModel
ButtonModel that supports toggle buttons.
  • Constructor Details

    • ToggleModel

      public ToggleModel()
  • Method Details

    • fireActionPerformed

      public void fireActionPerformed()
      Notifies any ActionListeners on this ButtonModel that an action has been performed. Sets this ButtonModel's selection to be the opposite of what it was.
      Overrides:
      fireActionPerformed in class ButtonModel
      Since:
      2.0