Class ModelKitPopup

All Implemented Interfaces:
GenericMenuInterface
Direct Known Subclasses:
AwtModelKitPopup, JSModelKitPopup

public abstract class ModelKitPopup extends JmolGenericPopup
An abstract popup class that is instantiated for a given platform and context as one of:
  -- abstract ModelKitPopup
     -- AwtModelKitPopup
     -- JSModelKitPopup
  • Field Details

    • bondRotationCheckBox

      protected SC bondRotationCheckBox
    • prevBondCheckBox

      protected SC prevBondCheckBox
  • Constructor Details

    • ModelKitPopup

      public ModelKitPopup()
  • Method Details

    • getBundle

      protected PopupResource getBundle(String menu)
      ///////////// menu creation and update ///////////////
      Specified by:
      getBundle in class JmolGenericPopup
    • jpiShow

      public void jpiShow(int x, int y)
      Specified by:
      jpiShow in interface GenericMenuInterface
      Overrides:
      jpiShow in class JmolGenericPopup
    • jpiUpdateComputedMenus

      public void jpiUpdateComputedMenus()
    • appUpdateForShow

      protected void appUpdateForShow()
      Specified by:
      appUpdateForShow in class GenericPopup
    • clearLastModelSet

      public void clearLastModelSet()
    • updateOperatorMenu

      protected void updateOperatorMenu()
    • updateAllXtalMenuOptions

      protected void updateAllXtalMenuOptions()
    • setActiveMenu

      public String setActiveMenu(String name)
      Set the active menu and request a repaint.
      Parameters:
      name -
      Returns:
      activeMenu or null
    • appUpdateSpecialCheckBoxValue

      protected void appUpdateSpecialCheckBoxValue(SC source, String actionCommand, boolean selected)
      Set the active menu based on updating a value -- usually by the user, but also during setup (ignored).
      Specified by:
      appUpdateSpecialCheckBoxValue in class GenericPopup
    • exitBondRotation

      protected void exitBondRotation()
    • appGetBooleanProperty

      protected boolean appGetBooleanProperty(String name)
      //////////////// menu execution //////////////
      Overrides:
      appGetBooleanProperty in class JmolGenericPopup
    • getUnknownCheckBoxScriptToRun

      public String getUnknownCheckBoxScriptToRun(SC item, String name, String what, boolean TF)
      Specified by:
      getUnknownCheckBoxScriptToRun in class GenericPopup
    • getScriptForCallback

      protected String getScriptForCallback(SC source, String id, String script)
      Secondary processing of menu item click
      Specified by:
      getScriptForCallback in class GenericPopup
    • appRunSpecialCheckBox

      protected boolean appRunSpecialCheckBox(SC item, String basename, String script, boolean TF)
      Overrides:
      appRunSpecialCheckBox in class JmolGenericPopup
    • updateCheckBoxesForModelKit

      public void updateCheckBoxesForModelKit(String menuName)