Class DhtmlxMenuItem
java.lang.Object
edu.internet2.middleware.grouper.ui.tags.menu.DhtmlxMenuItem
item XML in a menu.
see dhtmlx docs: http://docs.dhtmlx.com/doku.php?id=dhtmlxmenu:xml_format_template
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDhtmlxItem
(DhtmlxMenuItem dhtmlxMenuItem) menu itemsmenu itemsif enabledgetGroup()
group of element e.g.hotkey e.g.getHref()
if this button is an hrefgetId()
id attribute sent back on eventgetImg()
image for itemimgdis element image for disabled stategetText()
id attributetooltipgetType()
e.g.void
setChecked
(Boolean checked1) if radio or checkbox is checkedvoid
setDhtmlxMenuItems
(List<DhtmlxMenuItem> dhtmlxMenuItems1) menu itemsvoid
setEnabled
(Boolean enabled1) if enabledvoid
group of element e.g.void
hotkey e.g.void
if this button is an hrefvoid
id attribute sent back on eventvoid
image for itemvoid
imgdis element image for disabled statevoid
id attributevoid
setTooltip
(String tooltip1) tooltipvoid
e.g.void
toXml
(XMLStreamWriter xmlStreamWriter) write this to xml
-
Constructor Details
-
DhtmlxMenuItem
public DhtmlxMenuItem()
-
-
Method Details
-
getTooltip
tooltip- Returns:
- tooltip
-
setTooltip
tooltip- Parameters:
tooltip1
-
-
getHref
if this button is an href- Returns:
- href link
-
setHref
if this button is an href- Parameters:
href1
-
-
getEnabled
if enabled- Returns:
- the enabled
-
setEnabled
if enabled- Parameters:
enabled1
- the enabled to set
-
getType
e.g. radio or checkbox- Returns:
- the type
-
setType
e.g. radio or checkbox- Parameters:
type1
- the type to set
-
getImg
image for item- Returns:
- the img
-
getImgdis
imgdis element image for disabled state- Returns:
- the imgdis
-
getGroup
group of element e.g. radio- Returns:
- the group
-
setGroup
group of element e.g. radio- Parameters:
group1
- the group to set
-
setChecked
if radio or checkbox is checked- Parameters:
checked1
- the checked to set
-
setImgdis
imgdis element image for disabled state- Parameters:
imgdis1
- the imgdis to set
-
setImg
image for item- Parameters:
img1
- the img to set
-
getText
id attribute- Returns:
- the text
-
setText
id attribute- Parameters:
text1
- the text to set
-
getHotkey
hotkey e.g. Ctrl+N- Returns:
- the hotkey
-
setHotkey
hotkey e.g. Ctrl+N- Parameters:
hotkey1
- the hotkey to set
-
getChecked
- Returns:
- the checked
-
getId
id attribute sent back on event- Returns:
- the id
-
setId
id attribute sent back on event- Parameters:
id1
- the id to set
-
toXml
write this to xml- Parameters:
xmlStreamWriter
-- Throws:
XMLStreamException
-
getDhtmlxMenuItems
menu items- Returns:
- the dhtmlxMenuItems
-
setDhtmlxMenuItems
menu items- Parameters:
dhtmlxMenuItems1
- the dhtmlxMenuItems to set
-