id
factoryCreated, factoryProperties, readOnly
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, setCanAcceptDrop, setCanDrag, setChildren, setEnabled, setID, setIsFolder, setName, setParentID, setShowDropIcon, setShowOpenIcon
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, 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, getReadOnly, isFactoryCreated, logConfiguration, 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, setReadOnly
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
- CSSStyleName . Default value is null
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.setIcon
in class TreeNode
icon
- SCImgURL . Default value is null
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
- Default value is nullpublic java.lang.String getId()
NavItem
. If specified, this must be unique within the NavPanel
.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
- 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
- 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
- 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
- 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
- Default value is nullpublic java.lang.String getPaneAsString()
NavPanel.navDeck
when this
NavItem
is selected. A component can be provided directly, or its ID can be provided.
public void setTitle(java.lang.String title)
NavItem
.setTitle
in class TreeNode
title
- HTMLString . Default value is null
public java.lang.String getTitle()
NavItem
.getTitle
in class TreeNode
HTMLString