Class ContextMenu

  • All Implemented Interfaces:
    TagBase, GlobalAttributable, java.io.Serializable, java.lang.Cloneable


    public class ContextMenu
    extends AbstractAttribute
    implements GlobalAttributable
    <element contextmenu="menu_id">
    
     The contextmenu attribute specifies a context menu for an element. The context menu appears when a user right-clicks on the element.
    
     The value of the contextmenu attribute is the id of the  element to open.
    
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextMenu

        public ContextMenu​(java.lang.String menuId)
        Parameters:
        menuId -
        Since:
        1.0.0
    • Method Detail

      • init

        protected void init​()
        invokes only once per object
        Since:
        1.0.0
      • getMenuId

        public java.lang.String getMenuId​()
        Returns:
        the menuId
        Since:
        1.0.0
      • setMenuId

        public void setMenuId​(java.lang.String menuId)
        Parameters:
        menuId - the menuId to set
        Since:
        1.0.0