id
factoryCreated, factoryProperties
Constructor and Description |
---|
NavItem() |
NavItem(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomStyle()
CSS style name used for this
NavItem . |
java.lang.String |
getIcon()
Icon to show for this
NavItem . |
java.lang.String |
getId()
An optional ID for this
NavItem . |
java.lang.Boolean |
getIsHeader()
If set, this
NavItem will be styled like a header. |
java.lang.Boolean |
getIsSeparator()
If set, this
NavItem will be styled as a separator. |
NavItem[] |
getItems()
Optional subitems of this
NavItem . |
static NavItem |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
Canvas |
getPane()
Component to display in the
NavPanel.navDeck when this
NavItem is selected. |
java.lang.String |
getPaneAsString()
Component to display in the
NavPanel.navDeck when this
NavItem is selected. |
java.lang.String |
getTitle()
Title to show for this
NavItem . |
void |
setCustomStyle(java.lang.String customStyle)
CSS style name used for this
NavItem . |
void |
setIcon(java.lang.String icon)
Icon to show for this
NavItem . |
void |
setId(java.lang.String id)
An optional ID for this
NavItem . |
void |
setIsHeader(java.lang.Boolean isHeader)
If set, this
NavItem will be styled like a header. |
void |
setIsSeparator(java.lang.Boolean isSeparator)
If set, this
NavItem will be styled as a separator. |
void |
setItems(NavItem... items)
Optional subitems of this
NavItem . |
void |
setPane(Canvas pane)
Component to display in the
NavPanel.navDeck when this
NavItem is selected. |
void |
setPane(java.lang.String pane)
Component to display in the
NavPanel.navDeck when this
NavItem is selected. |
void |
setTitle(java.lang.String title)
Title to show for this
NavItem . |
getCanAcceptDrop, getCanDrag, getEnabled, getName, getShowDropIcon, getShowOpenIcon, getShowSelectedIcon, setCanAcceptDrop, setCanDrag, setChildren, setEnabled, setID, setIsFolder, setName, setParentID, setShowDropIcon, setShowOpenIcon, setShowSelectedIcon
get_baseStyle, get_canEdit, get_canRemove, getBackgroundComponent, getCanExpand, getCanSelect, getDetailDS, getEmbeddedComponent, getEmbeddedComponentFields, getEmbeddedComponentPosition, getIncludeInSummary, getIsGridSummary, getIsGroupSummary, getLinkText, getShowRollOver, getSingleCellValue, set_baseStyle, set_canEdit, set_canRemove, setBackgroundComponent, setCanExpand, setCanSelect, setDetailDS, setEmbeddedComponent, setEmbeddedComponentFields, setEmbeddedComponentPosition, setIncludeInSummary, setIsGridSummary, setIsGroupSummary, setLinkText, setShowRollOver, setSingleCellValue
convertToRecordArray, copyAttributes, copyAttributesInto, getAttributeAsRecordArray, getAttributeAsRecordList, getPaletteDefaults, isARecord, toMap
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public NavItem()
public NavItem(com.google.gwt.core.client.JavaScriptObject jsObj)
public static NavItem getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setCustomStyle(java.lang.String customStyle)
NavItem
. If set and this NavItem
is a header
, this overrides the NavPanel
's NavPanel.headerStyle
.setCustomStyle
in class ListGridRecord
customStyle
- New customStyle value. Default value is nullCSSStyleName
public java.lang.String getCustomStyle()
NavItem
. If set and this NavItem
is a header
, this overrides the NavPanel
's NavPanel.headerStyle
.getCustomStyle
in class ListGridRecord
CSSStyleName
public void setIcon(java.lang.String icon)
NavItem
. If not specified, the navGrid's folderIcon
is used.public java.lang.String getIcon()
NavItem
. If not specified, the navGrid's folderIcon
is used.public void setId(java.lang.String id)
NavItem
. If specified, this must be unique within the NavPanel
.id
- New id value. Default value is nullIdentifier
public java.lang.String getId()
NavItem
. If specified, this must be unique within the NavPanel
.Identifier
public void setIsHeader(java.lang.Boolean isHeader)
NavItem
will be styled like a header. In this case pane
is ignored and nothing happens when the header is clicked.
However, items
can still be configured to place items
hierarchically under the header.isHeader
- New isHeader value. Default value is nullpublic java.lang.Boolean getIsHeader()
NavItem
will be styled like a header. In this case pane
is ignored and nothing happens when the header is clicked.
However, items
can still be configured to place items
hierarchically under the header.public void setIsSeparator(java.lang.Boolean isSeparator)
NavItem
will be styled as a separator. A separator does not have a pane
and nothing happens when the separator is clicked.setIsSeparator
in class ListGridRecord
isSeparator
- New isSeparator value. Default value is nullpublic java.lang.Boolean getIsSeparator()
NavItem
will be styled as a separator. A separator does not have a pane
and nothing happens when the separator is clicked.getIsSeparator
in class ListGridRecord
public void setItems(NavItem... items)
NavItem
.items
- New items value. Default value is nullpublic NavItem[] getItems()
NavItem
.public void setPane(Canvas pane)
NavPanel.navDeck
when this
NavItem
is selected. A component can be provided directly, or its ID can be provided.
pane
- New pane value. Default value is nullpublic Canvas getPane()
NavPanel.navDeck
when this
NavItem
is selected. A component can be provided directly, or its ID can be provided.
public void setPane(java.lang.String pane)
NavPanel.navDeck
when this
NavItem
is selected. A component can be provided directly, or its ID can be provided.
pane
- New pane value. Default value is nullIdentifier
public java.lang.String getPaneAsString()
NavPanel.navDeck
when this
NavItem
is selected. A component can be provided directly, or its ID can be provided.
Identifier
public void setTitle(java.lang.String title)
NavItem
.setTitle
in class TreeNode
title
- New title value. Default value is nullHTMLString
public java.lang.String getTitle()
NavItem
.getTitle
in class TreeNode
HTMLString