Applet"

From Documentation
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{ZKComponentReferencePageHeader}}
 
{{ZKComponentReferencePageHeader}}
 +
 +
{{Deprecated_Content}}
  
 
= Applet =
 
= Applet =
Line 6: Line 8:
 
*Java API: <javadoc>org.zkoss.zul.Applet</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Applet</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.med.Applet</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.med.Applet</javadoc>
 +
*Style Guide: N/A
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 11: Line 14:
 
A generic applet component.
 
A generic applet component.
  
If the properties are not enough, you can use [http://docs.zkoss.org/wiki/ZK5:_Client_Computing_with_ZUML#The_Client-Attribute_Namespace:_http:.2F.2Fwww.zkoss.org.2F2005.2Fzk.2Fclient.2Fattribute the Client-Attribute namespace] to specify them.
+
If the properties are not enough, you can use [[ZUML Reference/ZUML/Namespaces/Client Attribute| the Client-Attribute namespace]] to specify them.
  
 
<source lang="xml">
 
<source lang="xml">
<applet  xmlns:ca="http://www.zkoss.org/2005/zk/client/attribute"
+
<applet  xmlns:ca="client/attribute"
 
   ca:whatever_name="whatever_value"/>
 
   ca:whatever_name="whatever_value"/>
 
</source>
 
</source>
  
  
=== archive and codebase ===
+
=== Archive and Codebase ===
  
Since 5.0.3, both <code>archive</code> and <code>codebase</code> properties are encoded with the application's context path and URL rewriting, so you don't and shall not encode it again.
+
Since 5.0.3, both <code>archive</code> and <code>codebase</code> properties are encoded with the application's context path and URL rewriting, so you don't and should not have to encode it again.
  
 
= Example =
 
= Example =
Line 31: Line 34:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
{| border="1" | width="100%"
+
{| class='wikitable' | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
 
! <center>Event Type</center>
 
! <center>Event Type</center>
Line 40: Line 43:
 
| None
 
| None
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/HtmlBasedComponent#Supported_Events | HtmlBasedComponent]]
  
 
=Supported Children=
 
=Supported Children=
Line 45: Line 49:
 
  *NONE
 
  *NONE
  
=Use cases=
+
=Use Cases=
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Description !! Example Location
 
! Version !! Description !! Example Location
 
|-
 
|-
Line 56: Line 60:
  
 
=Version History=
 
=Version History=
 
+
{{LastUpdated}}
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-
 
| 5.0.3
 
| 5.0.3
| June 201
+
| June 2010
 
| The archive, myscript, align, hspace, and vspace properties are supported
 
| The archive, myscript, align, hspace, and vspace properties are supported
 
|}
 
|}
  
 
{{ZKComponentReferencePageFooter}}
 
{{ZKComponentReferencePageFooter}}

Latest revision as of 01:44, 23 August 2023

Icon info.png Note: The content of this page has been deprecated/removed in the latest version.

Applet

  • Demonstration: N/A
  • Java API: Applet
  • JavaScript API: Applet
  • Style Guide: N/A

Employment/Purpose

A generic applet component.

If the properties are not enough, you can use the Client-Attribute namespace to specify them.

<applet  xmlns:ca="client/attribute"
  ca:whatever_name="whatever_value"/>


Archive and Codebase

Since 5.0.3, both archive and codebase properties are encoded with the application's context path and URL rewriting, so you don't and should not have to encode it again.

Example

ZKComRef Applet Examples.PNG

    <applet codebase="img/" code="ticker.class" msg="ZK is Simple and Rich!" width="580px" />

Supported Events

Name
Event Type
None None

Supported Children

*NONE

Use Cases

Version Description Example Location
     

Version History

Last Update : 2023/08/23


Version Date Content
5.0.3 June 2010 The archive, myscript, align, hspace, and vspace properties are supported



Last Update : 2023/08/23

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.