public class NavigationBarViewState extends DataClass
NavigationBar
's view. A
NavigationBarViewState
object is created to pass to NavigationBar.setViewState()
so that multiple properties
of the NavigationBar
can be changed at once.factoryCreated, factoryProperties
Constructor and Description |
---|
NavigationBarViewState() |
NavigationBarViewState(com.google.gwt.core.client.JavaScriptObject jsObj) |
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, 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 NavigationBarViewState()
public NavigationBarViewState(com.google.gwt.core.client.JavaScriptObject jsObj)
public static NavigationBarViewState getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public NavigationBarViewState setAlwaysShowLeftButtonTitle(java.lang.Boolean alwaysShowLeftButtonTitle)
NavigationBar.alwaysShowLeftButtonTitle
setting. If unset, the alwaysShowLeftButtonTitle
setting is not
changed.alwaysShowLeftButtonTitle
- New alwaysShowLeftButtonTitle value. Default value is nullNavigationBarViewState
instance, for chaining setter callspublic java.lang.Boolean getAlwaysShowLeftButtonTitle()
NavigationBar.alwaysShowLeftButtonTitle
setting. If unset, the alwaysShowLeftButtonTitle
setting is not
changed.public NavigationBarViewState setControls(java.lang.String... controls)
NavigationBar.controls
setting. If unset,
the controls
array is not changed.controls
- New controls value. Default value is nullNavigationBarViewState
instance, for chaining setter callspublic java.lang.String[] getControls()
NavigationBar.controls
setting. If unset,
the controls
array is not changed.public NavigationBarViewState setControls(Canvas... controls)
NavigationBar.controls
setting. If unset,
the controls
array is not changed.controls
- New controls value. Default value is nullNavigationBarViewState
instance, for chaining setter callspublic Canvas[] getControlsAsCanvasArray()
NavigationBar.controls
setting. If unset,
the controls
array is not changed.public NavigationBarViewState setLeftButtonTitle(java.lang.String leftButtonTitle)
NavigationBar.leftButtonTitle
setting. If unset, the leftButtonTitle
is not changed.leftButtonTitle
- New leftButtonTitle value. Default value is nullNavigationBarViewState
instance, for chaining setter callsHTMLString
public java.lang.String getLeftButtonTitle()
NavigationBar.leftButtonTitle
setting. If unset, the leftButtonTitle
is not changed.HTMLString
public NavigationBarViewState setShortLeftButtonTitle(java.lang.String shortLeftButtonTitle)
NavigationBar.shortLeftButtonTitle
setting. If unset, the shortLeftButtonTitle
is not changed.shortLeftButtonTitle
- New shortLeftButtonTitle value. Default value is nullNavigationBarViewState
instance, for chaining setter callsHTMLString
public java.lang.String getShortLeftButtonTitle()
NavigationBar.shortLeftButtonTitle
setting. If unset, the shortLeftButtonTitle
is not changed.HTMLString
public NavigationBarViewState setShowLeftButton(java.lang.Boolean showLeftButton)
NavigationBar.showLeftButton
setting.
If unset, the showLeftButton
setting is not changed.showLeftButton
- New showLeftButton value. Default value is nullNavigationBarViewState
instance, for chaining setter callspublic java.lang.Boolean getShowLeftButton()
NavigationBar.showLeftButton
setting.
If unset, the showLeftButton
setting is not changed.public NavigationBarViewState setTitle(java.lang.String title)
NavigationBar.title
setting. If unset, the
title
is not changed.title
- New title value. Default value is nullNavigationBarViewState
instance, for chaining setter callsHTMLString
public java.lang.String getTitle()
NavigationBar.title
setting. If unset, the
title
is not changed.HTMLString
public void unsetShowLeftButton()
public void unsetLeftButtonTitle()
public void unsetShortLeftButtonTitle()
public void unsetAlwaysShowLeftButtonTitle()
public void unsetTitle()
public void unsetControls()