Replaces the button at the specified index.
public final void setButton( int index, ToolBarButton button )
index
The index at which to set the button.
button
A ToolBarButton object that specifies the button to set.
See Also getButton