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 voidsessionChanged(Session s)This method is called when the session changes.voidsessionDataChanged(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:SessionListenerThis method is called when the session changes.- Specified by:
sessionChangedin interfaceSessionListener- Parameters:
s- the new Session.
-
sessionDataChanged
Description copied from interface:SessionListenerThis method is called when the data (except the graph data) are changed.- Specified by:
sessionDataChangedin interfaceSessionListener
-