com.vaadin.navigator
Interface FragmentManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
Navigator.UriFragmentManager

public interface FragmentManager
extends Serializable

Fragment manager that handles interaction between Navigator and URI fragments or other similar view identification and bookmarking system. Alternative implementations can be created for HTML5 pushState, for portlet URL navigation and other similar systems. This interface is mostly for internal use by Navigator.

Since:
7.0
Author:
Vaadin Ltd

Method Summary
 String getFragment()
          Return the current fragment (location string) including view name and any optional parameters.
 void setFragment(String fragment)
          Set the current fragment (location string) in the application URL or similar location, including view name and any optional parameters.
 

Method Detail

getFragment

String getFragment()
Return the current fragment (location string) including view name and any optional parameters.

Returns:
current view and parameter string, not null

setFragment

void setFragment(String fragment)
Set the current fragment (location string) in the application URL or similar location, including view name and any optional parameters.

Parameters:
fragment - new view and parameter string, not null


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.