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) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAlwaysShowLeftButtonTitle()
The new
NavigationBar.alwaysShowLeftButtonTitle setting. |
java.lang.String[] |
getControls()
The new
NavigationBar.controls setting. |
Canvas[] |
getControlsAsCanvasArray()
The new
NavigationBar.controls setting. |
java.lang.String |
getLeftButtonTitle()
The new
NavigationBar.leftButtonTitle
setting. |
static NavigationBarViewState |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getShortLeftButtonTitle()
The new
NavigationBar.shortLeftButtonTitle setting. |
java.lang.Boolean |
getShowLeftButton()
The new
NavigationBar.showLeftButton setting. |
java.lang.String |
getTitle()
The new
NavigationBar.title setting. |
void |
setAlwaysShowLeftButtonTitle(java.lang.Boolean alwaysShowLeftButtonTitle)
The new
NavigationBar.alwaysShowLeftButtonTitle setting. |
void |
setControls(Canvas... controls)
The new
NavigationBar.controls setting. |
void |
setControls(java.lang.String... controls)
The new
NavigationBar.controls setting. |
void |
setLeftButtonTitle(java.lang.String leftButtonTitle)
The new
NavigationBar.leftButtonTitle
setting. |
void |
setShortLeftButtonTitle(java.lang.String shortLeftButtonTitle)
The new
NavigationBar.shortLeftButtonTitle setting. |
void |
setShowLeftButton(java.lang.Boolean showLeftButton)
The new
NavigationBar.showLeftButton setting. |
void |
setTitle(java.lang.String title)
The new
NavigationBar.title setting. |
void |
unsetAlwaysShowLeftButtonTitle() |
void |
unsetControls() |
void |
unsetLeftButtonTitle() |
void |
unsetShortLeftButtonTitle() |
void |
unsetShowLeftButton() |
void |
unsetTitle() |
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 NavigationBarViewState()
public NavigationBarViewState(com.google.gwt.core.client.JavaScriptObject jsObj)
public static NavigationBarViewState getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setAlwaysShowLeftButtonTitle(java.lang.Boolean alwaysShowLeftButtonTitle)
NavigationBar.alwaysShowLeftButtonTitle
setting. If unset, the alwaysShowLeftButtonTitle
setting is not
changed.alwaysShowLeftButtonTitle
- New alwaysShowLeftButtonTitle value. Default value is nullpublic java.lang.Boolean getAlwaysShowLeftButtonTitle()
NavigationBar.alwaysShowLeftButtonTitle
setting. If unset, the alwaysShowLeftButtonTitle
setting is not
changed.public void setControls(java.lang.String... controls)
NavigationBar.controls
setting. If unset,
the controls
array is not changed.controls
- New controls value. Default value is nullpublic java.lang.String[] getControls()
NavigationBar.controls
setting. If unset,
the controls
array is not changed.public void setControls(Canvas... controls)
NavigationBar.controls
setting. If unset,
the controls
array is not changed.controls
- New controls value. Default value is nullpublic Canvas[] getControlsAsCanvasArray()
NavigationBar.controls
setting. If unset,
the controls
array is not changed.public void setLeftButtonTitle(java.lang.String leftButtonTitle)
NavigationBar.leftButtonTitle
setting. If unset, the leftButtonTitle
is not changed.leftButtonTitle
- New leftButtonTitle value. Default value is nullHTMLString
public java.lang.String getLeftButtonTitle()
NavigationBar.leftButtonTitle
setting. If unset, the leftButtonTitle
is not changed.HTMLString
public void setShortLeftButtonTitle(java.lang.String shortLeftButtonTitle)
NavigationBar.shortLeftButtonTitle
setting. If unset, the shortLeftButtonTitle
is not changed.shortLeftButtonTitle
- New shortLeftButtonTitle value. Default value is nullHTMLString
public java.lang.String getShortLeftButtonTitle()
NavigationBar.shortLeftButtonTitle
setting. If unset, the shortLeftButtonTitle
is not changed.HTMLString
public void setShowLeftButton(java.lang.Boolean showLeftButton)
NavigationBar.showLeftButton
setting.
If unset, the showLeftButton
setting is not changed.showLeftButton
- New showLeftButton value. Default value is nullpublic java.lang.Boolean getShowLeftButton()
NavigationBar.showLeftButton
setting.
If unset, the showLeftButton
setting is not changed.public void setTitle(java.lang.String title)
NavigationBar.title
setting. If unset, the
title
is not changed.title
- New title value. Default value is nullHTMLString
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()