Package org.graffiti.session
Class SessionAdapter
java.lang.Object
org.graffiti.session.SessionAdapter
- All Implemented Interfaces:
SessionListener
- Direct Known Subclasses:
GraphScaler
public class SessionAdapter extends Object implements SessionListener
Adapter for the SessionListener interface, providing default
empty implementation. Useful, given you don't need all interface methods.
- Since:
- 2.7.0
- Author:
- D. Garkov
-
Constructor Summary
Constructors Constructor Description SessionAdapter()
-
Method Summary
Modifier and Type Method Description void
sessionChanged(Session s)
This method is called when the session changes.void
sessionDataChanged(Session s)
This method is called when the data (except the graph data) are changed.
-
Constructor Details
-
SessionAdapter
public SessionAdapter()
-
-
Method Details
-
sessionChanged
Description copied from interface:SessionListener
This method is called when the session changes.- Specified by:
sessionChanged
in interfaceSessionListener
- Parameters:
s
- the new Session.
-
sessionDataChanged
Description copied from interface:SessionListener
This method is called when the data (except the graph data) are changed.- Specified by:
sessionDataChanged
in interfaceSessionListener
-