edu.internet2.middleware.grouper.ui.tags.menu
Class DhtmlxMenuItem

java.lang.Object
  extended by 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 Summary
DhtmlxMenuItem()
           
 
Method Summary
 void addDhtmlxItem(DhtmlxMenuItem dhtmlxMenuItem)
          menu items
 Boolean getChecked()
           
 List<DhtmlxMenuItem> getDhtmlxMenuItems()
          menu items
 Boolean getEnabled()
          if enabled
 String getGroup()
          group of element e.g.
 String getHotkey()
          hotkey e.g.
 String getId()
          id attribute sent back on event
 String getImg()
          image for item
 String getImgdis()
          imgdis element image for disabled state
 String getText()
          id attribute
 String getTooltip()
          tooltip
 String getType()
          e.g.
 void setChecked(Boolean checked1)
          if radio or checkbox is checked
 void setDhtmlxMenuItems(List<DhtmlxMenuItem> dhtmlxMenuItems1)
          menu items
 void setEnabled(Boolean enabled1)
          if enabled
 void setGroup(String group1)
          group of element e.g.
 void setHotkey(String hotkey1)
          hotkey e.g.
 void setId(String id1)
          id attribute sent back on event
 void setImg(String img1)
          image for item
 void setImgdis(String imgdis1)
          imgdis element image for disabled state
 void setText(String text1)
          id attribute
 void setTooltip(String tooltip1)
          tooltip
 void setType(String type1)
          e.g.
 void toXml(javax.xml.stream.XMLStreamWriter xmlStreamWriter)
          write this to xml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DhtmlxMenuItem

public DhtmlxMenuItem()
Method Detail

getTooltip

public String getTooltip()
tooltip

Returns:
tooltip

setTooltip

public void setTooltip(String tooltip1)
tooltip

Parameters:
tooltip1 -

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(javax.xml.stream.XMLStreamWriter xmlStreamWriter)
           throws javax.xml.stream.XMLStreamException
write this to xml

Parameters:
xmlStreamWriter -
Throws:
javax.xml.stream.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