Attribute Name |
Attribute Type (after conversion) |
---|---|
bundle |
String (resource bundle name) root element attribute Example: bundle='locale.GermanStrings' |
constraints |
layout constraint, descr. how to place this object into its parent container Example: constraints='BorderLayout.CENTER' |
id |
String unique id to find this component after rendering Example: id='Lbl_OK' |
include |
String (file#id) Includes the content of a tag defined in an external xml document. (works in compliance with W3C XLink and XPointer specs.) Example: <mytag include="tags.xml#xyz"/> The content of the tag with the id="xyz" in the external document "tags.xml" gets added at run-time into mytag's content. |
initclass |
String Class to deliver initialization object to be passed into tag object constructor. If the class implements a static getInstance() method then this will be used instead of constructing a parameter object. Example: <table initclass='myPackage.MyTableModel'> with MyTableModel extends TableModel .. |
locale |
String (used to construct a Locale object)
Example: locale='de' |
![]() |
String (true or false) flags an action to be the default
about action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_about='true' |
![]() |
String (true or false) flags an action to be the default
openApplication action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_openapp='true' |
![]() |
String (true or false) flags an action to be the default
openFile action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_openfile='true' |
![]() |
String (true or false) flags an action to be the default
Print action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_print='true' |
![]() |
String (true or false) flags an action to be the default
Preferences action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_preferences='true' |
![]() |
String (true or false) flags an action to be the default
Quit action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_quit='true' |
![]() |
String (true or false) flags an action to be the default
application Reopen action (used only on MAC OS X) requires an Action attribute in the same tag Example: macos_reopen='true' |
plaf |
String (PLAF class name) (ignored on MAC OS X) root element attribute Example: plaf='com.sun.java.swing.plaf.windows.WindowsLookAndFeel' |
refid |
String (id)
Example: refid='LBL_OK'
The refid attribute can be used to clone
attributes from another tag. While this doesn't work
recursively, it doesn't matter what the tag name is
and will just clone all the attributes that are not
already defined for the tag. |
Copyright © 2002 - 2007 - Wolf Paulus swixml.org. All Rights Reserved.