org.lyra.Interface
Class ProfileFrame.Interact

java.lang.Object
  extended by org.lyra.Interface.ProfileFrame.Interact
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener
Enclosing class:
ProfileFrame

private class ProfileFrame.Interact
extends java.lang.Object
implements java.awt.event.MouseListener

The code separation from the user interface. This Class handles all of the complexities of making the interface interactive.

Author:
Martin Foster

Constructor Summary
private ProfileFrame.Interact()
           
 
Method Summary
private  void loadBrowser(java.lang.String link)
          There are two elements that require a browser to load up in order to proceed.
 void mouseClicked(java.awt.event.MouseEvent evt)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileFrame.Interact

private ProfileFrame.Interact()
Method Detail

loadBrowser

private void loadBrowser(java.lang.String link)
There are two elements that require a browser to load up in order to proceed. Since the require a fair amount of similar code we throw it in here.

Parameters:
link - Address to send to browser.

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent evt)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener