INTRO SPECS TUTORIALS RESOURCES TOOLS ABOUT US CONTACT US
UIML v1.0 UIML v2.0
 

UIML v2.0
Draft Spec
DTD
Examples
Vocabularies

UIML v1.0
Tags
Components
Attributes

UIML Interface Components (UIML 1.0)

MenuItem

Toolkit:

java.awt

Description:

A single item in a menu.

CONTENT

Allowed Values Meaning
A string In Button, Checkbox, Label, Menu, MenuItem, HWrappingLabel, JButton, JCheckbox, JLabel, JRadioButton, JToggleButton: the text to appear in the component.

ENABLED

Allowed Values Meaning
true, false If true, enables the component; otherwise, disables it. Default is true.

FONT_NAME

Allowed Values Meaning
Dialog, DialogInput, Monospaced, SansSerif, Serif Generic name of font, which is mapped to a specific font on the platform on which Render runs (e.g., sansserif might be mapped to Helvetica).

FONT_SIZE

Allowed Values Meaning
A positive integer Font size, in points.

FONT_STYLE

Allowed Values Meaning
PLAIN, BOLD, ITALIC, BOLDITALIC Font style (bold, italic, etc.)

RENDERING

Allowed Values Meaning
MenuItem Inserts a MenuItem into a menu. The parent component must be rendered as a Menu.

 

© 1999-2000 UIML.org (all rights reserved)