|
Not all attributes of a tag are listed as it is rather a huge task for one person to really write a full documentation for the Swing. Just the ones that I did something special are listed. For the rest, you may find the tag reference of SwiXml, another cool XML to Swing toolkit, helpful. As always, Java JDK is the best source of the information. Basically, for a class, any functions (static or non-static) start with "set" prefix and only has one parameter can be used
as an attribute which does not have the "set" prefix and in lower case. For example, if you see a Notes:
appletInherited from tag: window-constants Class: JApplet dialogInherited from tag: window-constants Class: JDialog
frameInherited from tag: window-constants Class: JFrame
internalframeInherited from tag: window-constants Class: JInternalFrame windowInherited from tag: window-constants Class: JWindow componentInherited from tag: listeners Class: JComponent
menubarInherited from tag: component Class: JMenuBar popupmenuInherited from tag: component Class: JPopupMenu menuInherited from tag: abstractbutton Class: JMenu menuitemInherited from tag: abstractbutton Class: JMenuItem menusplitThis tag is a way to insert a menu separator into the parent menu or popupmenu objects. Another way is to use the separator tag. checkboxmenuitemInherited from tag: abstractbutton Class: JCheckBoxMenuItem radiobuttonmenuitemInherited from tag: abstractbutton Class: JRadioButtonMenuItem separatorInherited from tag: component Class: JSeparator toolbarInherited from tag: component Class: JToolBar toolbar-separatorInherited from tag: component Class: JToolBar.Separator buttonInherited from tag: abstractbutton Class: JButton togglebuttonInherited from tag: abstractbutton Class: JToggleButton radiobuttonInherited from tag: abstractbutton Class: JRadioButton checkboxInherited from tag: abstractbutton Class: JCheckBox labelInherited from tag: component Class: JLabel
textfieldInherited from tag: textcomponent Class: JTextField formattedtextfieldInherited from tag: textfield Class: JFormattedTextField passwordfieldInherited from tag: textfield Class: JPasswordField textareaInherited from tag: textcomponent Class: JTextArea textpaneInherited from tag: textcomponent Class: JTextPane editorpaneInherited from tag: textcomponent Class: JEditorPane panelInherited from tag: component Class: JPanel desktoppaneInherited from tag: component Class: JDesktopPane splitpaneInherited from tag: component Class: JSplitPane scrollpaneInherited from tag: component Class: JScrollPane
rootpaneInherited from tag: component Class: JRootPane
tabbedpaneInherited from tag: component Class: JTabbedPane tabHelper: TabHelper This tag is used to add a component to the parent tabbedpane element with specified title, icon, etc.
filechooserInherited from tag: component Class: JFileChooser
colorchooserInherited from tag: component Class: JColorChooser tableInherited from tag: component Class: JTable defaulttablemodelClass: DefaultTableModel
tableheaderInherited from tag: component Class: JTableHeader This tag does not create a JTableHeader object, but rather it takes the JTableHeader from the JTable parent object. listInherited from tag: component Class: JList defaultlistmodelClass: DefaultListModel
treeInherited from tag: component Class: JTree comboboxInherited from tag: component Class: JComboBox
defaultcomboboxmodelClass: DefaultComboBoxModel
progressbarInherited from tag: component Class: JProgressBar scrollbarInherited from tag: component Class: JScrollBar sliderInherited from tag: component Class: JSlider spinnerInherited from tag: component Class: JSpinner tooltipInherited from tag: component Class: JToolTip uimanager
listenersinternal Basically this internal tag redirect the setting of listener attributes to functions that add listeners. For example, an attribute setting actionlistener="myActionListener" would become addActionListener (myActionListener), where myActionListener is the variable name. All listeners defined in JDK are included. window-constantsinternal Inherited from tag: listeners
abstractbuttoninternal Inherited from tag: component
textcomponentinternal Inherited from tag: component buttongroupClass: ButtonGroup
syncbuttonstateHelper: SyncButtonStateHelper
|