AMADEUS html plain
This sketchy text is generated by AMADEUS
import java.awt.event.*;
class AmFrameListener
class AmFrameListener implements WindowListener
AmFrame frame;
the frame to be listened to
AmFrameListener(AmFrame fr)
windowOpened
public void windowOpened(WindowEvent e)
//System.out.println("AmFrame:windowOpened");
//View.sizeFactor = frame.sizeFactor;
JK 09-01-06
public void windowClosing(WindowEvent e)
frame.closing();
akna sulgemisel
windowClosed
public void windowClosed(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
public void windowDeiconified(WindowEvent e)
//System.out.println("AmFrame:windowDeiconifiew"+frame);
//View.sizeFactor = frame.sizeFactor;
JK 10-01-07
? frame.contents != null
frame.contents.main.invalidateRest(0);
AmCanvas c = frame.viewArea;
frame.contents.main.invalidate(-c.start.y, c.getSize().height-c.start.y);
public void windowActivated(WindowEvent e)
//System.out.println("AmFrame:windowActivated"+frame);
//View.sizeFactor = frame.sizeFactor;
JK 10-01-07
kui graafiline raam:
AmCanvas c = frame.viewArea;
c.justActivated = true;
? frame.contents != null
frame.contents.main.invalidateRest(0);
frame.contents.main.invalidate(-c.start.y, c.getSize().height-c.start.y);
//frame.show();
public void windowDeactivated(WindowEvent e)
//System.out.println("AmFrame:windowDeactivated"+frame);
? frame.contents != null
frame.contents.main.invalidateRest(0);
AmCanvas c = frame.viewArea;
frame.contents.main.invalidate(-c.start.y, c.getSize().height-c.start.y);