Java Doc for AppletViewerPanel.java in  » 6.0-JDK-Modules » j2me » sun » applet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » sun.applet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Panel
            sun.applet.AppletPanel
               sun.applet.AppletViewerPanel

AppletViewerPanel
class AppletViewerPanel extends AppletPanel (Code)
Sample applet panel class. The panel manages and manipulates the applet as it is being loaded. It forks a seperate thread in a new thread group to call the applet's init(), start(), stop(), and destroy() methods.
version:
   1.29, 08/19/02
author:
   Arthur van Hoff


Field Summary
 Hashtableatts
     The attributes of the applet.
 URLbaseURL
     The base url.
static  booleandebug
    
 URLdocumentURL
     The document url.

Constructor Summary
 AppletViewerPanel(URL documentURL, Hashtable atts)
     Construct an applet viewer and start the applet.

Method Summary
static  voiddebug(String s)
    
static  voiddebug(String s, Throwable t)
    
public  AppletContextgetAppletContext()
     Get the applet context.
public  StringgetCode()
    
public  URLgetCodeBase()
     Get the base url.
public  URLgetDocumentBase()
     Get the document url.
public  intgetHeight()
     Get the height.
public  StringgetJarFiles()
     Return the list of jar files if specified.
public  StringgetParameter(String name)
     Get an applet parameter.
public  StringgetSerializedObject()
    
public  intgetWidth()
     Get the width.

Field Detail
atts
Hashtable atts(Code)
The attributes of the applet.



baseURL
URL baseURL(Code)
The base url.



debug
static boolean debug(Code)



documentURL
URL documentURL(Code)
The document url.




Constructor Detail
AppletViewerPanel
AppletViewerPanel(URL documentURL, Hashtable atts)(Code)
Construct an applet viewer and start the applet.




Method Detail
debug
static void debug(String s)(Code)



debug
static void debug(String s, Throwable t)(Code)



getAppletContext
public AppletContext getAppletContext()(Code)
Get the applet context. For now this is also implemented by the AppletPanel class.



getCode
public String getCode()(Code)
Get the code parameter



getCodeBase
public URL getCodeBase()(Code)
Get the base url.



getDocumentBase
public URL getDocumentBase()(Code)
Get the document url.



getHeight
public int getHeight()(Code)
Get the height.



getJarFiles
public String getJarFiles()(Code)
Return the list of jar files if specified. Otherwise return null.



getParameter
public String getParameter(String name)(Code)
Get an applet parameter.



getSerializedObject
public String getSerializedObject()(Code)
Return the value of the object param



getWidth
public int getWidth()(Code)
Get the width.



Fields inherited from sun.applet.AppletPanel
final public static int APPLET_DESTROY(Code)(Java Doc)
final public static int APPLET_DISPOSE(Code)(Java Doc)
final public static int APPLET_ERROR(Code)(Java Doc)
final public static int APPLET_INIT(Code)(Java Doc)
final public static int APPLET_LOAD(Code)(Java Doc)
final public static int APPLET_LOADING(Code)(Java Doc)
final public static int APPLET_LOADING_COMPLETED(Code)(Java Doc)
final public static int APPLET_QUIT(Code)(Java Doc)
final public static int APPLET_RESIZE(Code)(Java Doc)
final public static int APPLET_START(Code)(Java Doc)
final public static int APPLET_STOP(Code)(Java Doc)
Applet applet(Code)(Java Doc)
Dimension currentAppletSize(Code)(Java Doc)
Dimension defaultAppletSize(Code)(Java Doc)
protected boolean doInit(Code)(Java Doc)
Thread handler(Code)(Java Doc)
boolean loadAbortRequest(Code)(Java Doc)
AppletClassLoader loader(Code)(Java Doc)
Thread loaderThread(Code)(Java Doc)
MessageUtils mu(Code)(Java Doc)
protected int status(Code)(Java Doc)

Methods inherited from sun.applet.AppletPanel
public synchronized void addAppletListener(AppletListener l)(Code)(Java Doc)
public void appletResize(int width, int height)(Code)(Java Doc)
protected synchronized void clearLoadAbortRequest()(Code)(Java Doc)
protected Applet createApplet(AppletClassLoader loader) throws ClassNotFoundException, IllegalAccessException, IOException, InstantiationException, InterruptedException(Code)(Java Doc)
synchronized void createAppletThread()(Code)(Java Doc)
protected AppletClassLoader createClassLoader(URL codebase)(Code)(Java Doc)
public void dispatchAppletEvent(int id, Object argument)(Code)(Java Doc)
boolean emptyEventQueue()(Code)(Java Doc)
public static synchronized void flushClassLoader(URL codebase)(Code)(Java Doc)
public static synchronized void flushClassLoaders()(Code)(Java Doc)
public Applet getApplet()(Code)(Java Doc)
public Thread getAppletHandlerThread()(Code)(Java Doc)
public int getAppletHeight()(Code)(Java Doc)
public int getAppletWidth()(Code)(Java Doc)
synchronized AppletClassLoader getClassLoader(URL codebase)(Code)(Java Doc)
abstract protected String getCode()(Code)(Java Doc)
abstract public int getHeight()(Code)(Java Doc)
abstract protected String getJarFiles()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
synchronized AppletEvent getNextEvent() throws InterruptedException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
abstract protected String getSerializedObject()(Code)(Java Doc)
abstract public int getWidth()(Code)(Java Doc)
public void init()(Code)(Java Doc)
public boolean isActive()(Code)(Java Doc)
void joinAppletThread() throws InterruptedException(Code)(Java Doc)
protected void loadJarFiles(AppletClassLoader loader) throws IOException, InterruptedException(Code)(Java Doc)
protected synchronized boolean okToLoad()(Code)(Java Doc)
void release()(Code)(Java Doc)
public synchronized void removeAppletListener(AppletListener l)(Code)(Java Doc)
public void run()(Code)(Java Doc)
public void sendEvent(int id)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
protected synchronized void setLoadAbortRequest()(Code)(Java Doc)
protected void showAppletException(Throwable t)(Code)(Java Doc)
protected void showAppletLog(String msg)(Code)(Java Doc)
protected void showAppletLog(String msg, Object arg)(Code)(Java Doc)
protected void showAppletStatus(String status)(Code)(Java Doc)
protected void showAppletStatus(String status, Object arg)(Code)(Java Doc)
protected void showAppletStatus(String status, Object arg1, Object arg2)(Code)(Java Doc)
protected synchronized void stopLoading()(Code)(Java Doc)


Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public synchronized void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected synchronized void enableEvents(long eventsToEnable)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h)(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
public synchronized void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public synchronized void setCursor(Cursor cursor)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.