com.vaadin.terminal
Class Page.FragmentChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.terminal.Page.FragmentChangedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Page

public class Page.FragmentChangedEvent
extends EventObject

Event fired when uri fragment changes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Page.FragmentChangedEvent(Page source, String fragment)
          Creates a new instance of UriFragmentReader change event.
 
Method Summary
 String getFragment()
          Get the new fragment
 Page getPage()
          Gets the root in which the fragment has changed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Page.FragmentChangedEvent

public Page.FragmentChangedEvent(Page source,
                                 String fragment)
Creates a new instance of UriFragmentReader change event.

Parameters:
source - the Source of the event.
Method Detail

getPage

public Page getPage()
Gets the root in which the fragment has changed.

Returns:
the root in which the fragment has changed

getFragment

public String getFragment()
Get the new fragment

Returns:
the new fragment


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