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 . |
NavItem |
setCustomStyle(java.lang.String customStyle)
CSS style name used for this
NavItem . |
NavItem |
setIcon(java.lang.String icon)
Icon to show for this
NavItem . |
NavItem |
setId(java.lang.String id)
An optional ID for this
NavItem . |
NavItem |
setIsHeader(java.lang.Boolean isHeader)
If set, this
NavItem will be styled like a header. |
NavItem |
setIsSeparator(java.lang.Boolean isSeparator)
If set, this
NavItem will be styled as a separator. |
NavItem |
setItems(NavItem... items)
Optional subitems of this
NavItem . |
NavItem |
setPane(Canvas pane)
Component to display in the
NavPanel.navDeck when this
NavItem is selected. |
NavItem |
setPane(java.lang.String pane)
Component to display in the
NavPanel.navDeck when this
NavItem is selected. |
NavItem |
setTitle(java.lang.String title)
Title to show for this
NavItem . |
getCanAcceptDrop, getCanDrag, getEnabled, getIconPadding, getName, getShowDropIcon, getShowOpenIcon, getShowSelectedIcon, setCanAcceptDrop, setCanDrag, setChildren, setEnabled, setIconPadding, 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 NavItem 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 nullNavItem
instance, for chaining setter callsCSSStyleName
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 NavItem 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 NavItem setId(java.lang.String id)
NavItem
. If specified, this must be unique within the NavPanel
.id
- New id value. Default value is nullNavItem
instance, for chaining setter callsIdentifier
public java.lang.String getId()
NavItem
. If specified, this must be unique within the NavPanel
.Identifier
public NavItem 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 nullNavItem
instance, for chaining setter callspublic 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 NavItem 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 nullNavItem
instance, for chaining setter callspublic 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 NavItem setItems(NavItem... items)
NavItem
.items
- New items value. Default value is nullNavItem
instance, for chaining setter callspublic NavItem[] getItems()
NavItem
.public NavItem 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 nullNavItem
instance, for chaining setter callspublic Canvas getPane()
NavPanel.navDeck
when this
NavItem
is selected. A component can be provided directly, or its ID can be provided.
public NavItem 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 nullNavItem
instance, for chaining setter callsIdentifier
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 NavItem setTitle(java.lang.String title)
NavItem
.setTitle
in class TreeNode
title
- New title value. Default value is nullNavItem
instance, for chaining setter callsHTMLString
public java.lang.String getTitle()
NavItem
.getTitle
in class TreeNode
HTMLString