Class BeanShellFunctionMenu

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement

public class BeanShellFunctionMenu extends JPopupMenu
See Also:
Serialized Form
  • Field Details

    • SUM_COUNT_HINTS

      protected static final String[] SUM_COUNT_HINTS
    • SUM_COUNT_MAP_HINTS

      protected static final String[] SUM_COUNT_MAP_HINTS
    • maxScrollItems

      protected static int maxScrollItems
    • configurer

      protected BeanShellExpressionConfigurer configurer
    • target

      protected EditablePiece target
  • Constructor Details

  • Method Details

    • addFunction

      protected void addFunction(JMenu menu, String op, String desc, String[] parms, String parmInfo)
    • addFunction

      protected void addFunction(JMenu menu, String op, String desc, String[] parms, String parmInfo, String[] hints)
    • addFunction

      protected void addFunction(JMenu menu, String op, String desc, String[] parms, String parmInfo, String[] hints, BeanShellExpressionConfigurer.Option[] options)
    • buildFunction

      protected void buildFunction(String op, String desc, String[] parmDesc, String[] hints, BeanShellExpressionConfigurer.Option[] options)
    • buildInteger

      protected void buildInteger()
    • buildString

      protected void buildString()
    • addOperator

      protected void addOperator(JMenu menu, String op, String desc)
    • addProp

      protected void addProp(JMenu menu, String propName)
      Add straight property name to a menu
      Parameters:
      menu - parent menu
      propName - property name to add
    • addProp

      protected void addProp(JMenu menu, String propName, boolean sort)
    • addPieceProps

      protected void addPieceProps(JMenu menu, EditablePiece piece)
      Added the property names from an Editable Piece into their own menu
      Parameters:
      menu - parent menu
      piece - Piece containing property names
    • buildGlobalMenu

      protected void buildGlobalMenu(JMenu parentMenu, AbstractBuildable target, boolean useParentMenu)
      Create a menu of Global Properties recorded in this module, based on the module build structure
    • getMaxScrollItems

      protected int getMaxScrollItems()