com.eteks.awt
Class PJADesktopPeer
java.lang.Object
com.eteks.awt.PJADesktopPeer
- All Implemented Interfaces:
- java.awt.peer.DesktopPeer
public class PJADesktopPeer
- extends java.lang.Object
- implements java.awt.peer.DesktopPeer
Pure Java AWT Desktop Peer. This implementation enables to create
dummy components.
- Since:
- PJA2.6
- Version:
- 2.6
- Author:
- Emmanuel Puybaret
- See Also:
PJAToolkit
Method Summary |
void |
browse(java.net.URI url)
|
void |
edit(java.io.File file)
|
boolean |
isSupported(java.awt.Desktop.Action action)
|
void |
mail(java.net.URI mailtoURL)
|
void |
open(java.io.File file)
|
void |
print(java.io.File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PJADesktopPeer
public PJADesktopPeer(java.awt.Desktop target)
browse
public void browse(java.net.URI url)
throws java.io.IOException
- Specified by:
browse
in interface java.awt.peer.DesktopPeer
- Throws:
java.io.IOException
edit
public void edit(java.io.File file)
throws java.io.IOException
- Specified by:
edit
in interface java.awt.peer.DesktopPeer
- Throws:
java.io.IOException
isSupported
public boolean isSupported(java.awt.Desktop.Action action)
- Specified by:
isSupported
in interface java.awt.peer.DesktopPeer
mail
public void mail(java.net.URI mailtoURL)
throws java.io.IOException
- Specified by:
mail
in interface java.awt.peer.DesktopPeer
- Throws:
java.io.IOException
open
public void open(java.io.File file)
throws java.io.IOException
- Specified by:
open
in interface java.awt.peer.DesktopPeer
- Throws:
java.io.IOException
print
public void print(java.io.File file)
throws java.io.IOException
- Specified by:
print
in interface java.awt.peer.DesktopPeer
- Throws:
java.io.IOException
© Copyrights 1997-2008 eTeks - All rights reserved