net.xoetrope.awt
Class XMetaContent

java.lang.Object
  extended by java.awt.Component
      extended by net.xoetrope.awt.XMetaContent
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, XStyleComponent, XMetaContentHolder

public class XMetaContent
extends java.awt.Component

    
implements XMetaContentHolder, XStyleComponent

    

This component renders XML based content. A simple set of tags for layout and formatting are used. Styles can be used to control attributes such as fonts and colors

For example the following taken from the Xui Zoo sample application shows some formatted paragraphs of text:

   Congratulations!

You have just been appointed general manager of the XUI Zoo.

Unfortunately your predescessor wasted most of his time struggling with his Java code. To keep the zoo in business you must buy some new animals quickly. You need to buy 100 animals, including Monkies, Elephants and to get new visitors to the zoo you need to have at least one amazing Unicorn.

Monkies are common enough and only cost 0.05 $XML, Elephants on the other hand are big animals and cost a full 1.00 $XML. And the most rare Unicorns cost the princely sum of 5.00 $XML

Please fill in your order quantities below.

The tag supported by this class are listed below and play a similar role to their html equivalents: