Class DhtmlxMenuItem

java.lang.Object
edu.internet2.middleware.grouper.ui.tags.menu.DhtmlxMenuItem

public class DhtmlxMenuItem extends Object
item XML in a menu. see dhtmlx docs: http://docs.dhtmlx.com/doku.php?id=dhtmlxmenu:xml_format_template
  • Constructor Details

    • DhtmlxMenuItem

      public DhtmlxMenuItem()
  • Method Details

    • getTooltip

      public String getTooltip()
      tooltip
      Returns:
      tooltip
    • setTooltip

      public void setTooltip(String tooltip1)
      tooltip
      Parameters:
      tooltip1 -
    • getHref

      public String getHref()
      if this button is an href
      Returns:
      href link
    • setHref

      public void setHref(String href1)
      if this button is an href
      Parameters:
      href1 -
    • getEnabled

      public Boolean getEnabled()
      if enabled
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(Boolean enabled1)
      if enabled
      Parameters:
      enabled1 - the enabled to set
    • getType

      public String getType()
      e.g. radio or checkbox
      Returns:
      the type
    • setType

      public void setType(String type1)
      e.g. radio or checkbox
      Parameters:
      type1 - the type to set
    • getImg

      public String getImg()
      image for item
      Returns:
      the img
    • getImgdis

      public String getImgdis()
      imgdis element image for disabled state
      Returns:
      the imgdis
    • getGroup

      public String getGroup()
      group of element e.g. radio
      Returns:
      the group
    • setGroup

      public void setGroup(String group1)
      group of element e.g. radio
      Parameters:
      group1 - the group to set
    • setChecked

      public void setChecked(Boolean checked1)
      if radio or checkbox is checked
      Parameters:
      checked1 - the checked to set
    • setImgdis

      public void setImgdis(String imgdis1)
      imgdis element image for disabled state
      Parameters:
      imgdis1 - the imgdis to set
    • setImg

      public void setImg(String img1)
      image for item
      Parameters:
      img1 - the img to set
    • getText

      public String getText()
      id attribute
      Returns:
      the text
    • setText

      public void setText(String text1)
      id attribute
      Parameters:
      text1 - the text to set
    • getHotkey

      public String getHotkey()
      hotkey e.g. Ctrl+N
      Returns:
      the hotkey
    • setHotkey

      public void setHotkey(String hotkey1)
      hotkey e.g. Ctrl+N
      Parameters:
      hotkey1 - the hotkey to set
    • getChecked

      public Boolean getChecked()
      Returns:
      the checked
    • getId

      public String getId()
      id attribute sent back on event
      Returns:
      the id
    • setId

      public void setId(String id1)
      id attribute sent back on event
      Parameters:
      id1 - the id to set
    • toXml

      public void toXml(XMLStreamWriter xmlStreamWriter) throws XMLStreamException
      write this to xml
      Parameters:
      xmlStreamWriter -
      Throws:
      XMLStreamException
    • addDhtmlxItem

      public void addDhtmlxItem(DhtmlxMenuItem dhtmlxMenuItem)
      menu items
      Parameters:
      dhtmlxMenuItem - the dhtmlxMenuItem to add
    • getDhtmlxMenuItems

      public List<DhtmlxMenuItem> getDhtmlxMenuItems()
      menu items
      Returns:
      the dhtmlxMenuItems
    • setDhtmlxMenuItems

      public void setDhtmlxMenuItems(List<DhtmlxMenuItem> dhtmlxMenuItems1)
      menu items
      Parameters:
      dhtmlxMenuItems1 - the dhtmlxMenuItems to set