Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.app.ui.swing
Class SwingDisplayComponent  view SwingDisplayComponent download SwingDisplayComponent.java

java.lang.Object
  extended bycom.barteo.emulator.app.ui.swing.SwingDisplayComponent
All Implemented Interfaces:
com.barteo.emulator.DisplayComponent

public class SwingDisplayComponent
extends java.lang.Object
implements com.barteo.emulator.DisplayComponent


Field Summary
private  java.awt.Component deviceCanvas
           
private  com.barteo.emulator.device.j2se.J2SEMutableImage displayImage
           
private  com.barteo.emulator.app.ui.DisplayRepaintListener displayRepaintListener
           
 
Constructor Summary
(package private) SwingDisplayComponent(java.awt.Component deviceCanvas)
           
 
Method Summary
 void addDisplayRepaintListener(com.barteo.emulator.app.ui.DisplayRepaintListener l)
           
private  void fireDisplayRepaint(com.barteo.emulator.device.MutableImage image)
           
 com.barteo.emulator.device.MutableImage getDisplayImage()
           
 void paint(java.awt.Graphics g)
           
 void removeDisplayRepaintListener(com.barteo.emulator.app.ui.DisplayRepaintListener l)
           
 void repaint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deviceCanvas

private java.awt.Component deviceCanvas

displayImage

private com.barteo.emulator.device.j2se.J2SEMutableImage displayImage

displayRepaintListener

private com.barteo.emulator.app.ui.DisplayRepaintListener displayRepaintListener
Constructor Detail

SwingDisplayComponent

SwingDisplayComponent(java.awt.Component deviceCanvas)
Method Detail

addDisplayRepaintListener

public void addDisplayRepaintListener(com.barteo.emulator.app.ui.DisplayRepaintListener l)
Specified by:
addDisplayRepaintListener in interface com.barteo.emulator.DisplayComponent

removeDisplayRepaintListener

public void removeDisplayRepaintListener(com.barteo.emulator.app.ui.DisplayRepaintListener l)
Specified by:
removeDisplayRepaintListener in interface com.barteo.emulator.DisplayComponent

getDisplayImage

public com.barteo.emulator.device.MutableImage getDisplayImage()
Specified by:
getDisplayImage in interface com.barteo.emulator.DisplayComponent

paint

public void paint(java.awt.Graphics g)

repaint

public void repaint()
Specified by:
repaint in interface com.barteo.emulator.DisplayComponent

fireDisplayRepaint

private void fireDisplayRepaint(com.barteo.emulator.device.MutableImage image)