java.lang.Object
com.barteo.emulator.device.applet.AppletDeviceDisplay
- All Implemented Interfaces:
- com.barteo.emulator.device.DeviceDisplay
- public class AppletDeviceDisplay
- extends java.lang.Object
- implements com.barteo.emulator.device.DeviceDisplay
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
device
com.barteo.emulator.device.Device device
displayRectangle
java.awt.Rectangle displayRectangle
displayPaintable
java.awt.Rectangle displayPaintable
isColor
boolean isColor
numColors
int numColors
backgroundColor
java.awt.Color backgroundColor
foregroundColor
java.awt.Color foregroundColor
upImage
PositionedImage upImage
downImage
PositionedImage downImage
mode123Image
PositionedImage mode123Image
modeAbcUpperImage
PositionedImage modeAbcUpperImage
modeAbcLowerImage
PositionedImage modeAbcLowerImage
scrollUp
boolean scrollUp
scrollDown
boolean scrollDown
AppletDeviceDisplay
AppletDeviceDisplay(com.barteo.emulator.device.Device device)
getDisplayImage
public com.barteo.emulator.device.MutableImage getDisplayImage()
- Specified by:
getDisplayImage
in interface com.barteo.emulator.device.DeviceDisplay
getHeight
public int getHeight()
- Specified by:
getHeight
in interface com.barteo.emulator.device.DeviceDisplay
getWidth
public int getWidth()
- Specified by:
getWidth
in interface com.barteo.emulator.device.DeviceDisplay
getFullHeight
public int getFullHeight()
- Specified by:
getFullHeight
in interface com.barteo.emulator.device.DeviceDisplay
getFullWidth
public int getFullWidth()
- Specified by:
getFullWidth
in interface com.barteo.emulator.device.DeviceDisplay
isColor
public boolean isColor()
- Specified by:
isColor
in interface com.barteo.emulator.device.DeviceDisplay
numColors
public int numColors()
- Specified by:
numColors
in interface com.barteo.emulator.device.DeviceDisplay
paint
public void paint(java.awt.Graphics g)
repaint
public void repaint()
- Specified by:
repaint
in interface com.barteo.emulator.device.DeviceDisplay
setScrollDown
public void setScrollDown(boolean state)
- Specified by:
setScrollDown
in interface com.barteo.emulator.device.DeviceDisplay
setScrollUp
public void setScrollUp(boolean state)
- Specified by:
setScrollUp
in interface com.barteo.emulator.device.DeviceDisplay
getDisplayRectangle
public java.awt.Rectangle getDisplayRectangle()
getBackgroundColor
public java.awt.Color getBackgroundColor()
getForegroundColor
public java.awt.Color getForegroundColor()