You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/07 09:19:21 UTC
cvs commit: jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing SwingTagLibrary.java
dion 2004/09/07 00:19:21
Modified: jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing
SwingTagLibrary.java
Log:
detab
Revision Changes Path
1.26 +9 -9 jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java
Index: SwingTagLibrary.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- SwingTagLibrary.java 7 Sep 2004 06:41:34 -0000 1.25
+++ SwingTagLibrary.java 7 Sep 2004 07:19:21 -0000 1.26
@@ -110,10 +110,10 @@
return new TagScript(
new TagFactory() {
public Tag createTag(String name, Attributes attributes) throws JellyException {
- if ( factory instanceof TagFactory ) {
- return ((TagFactory) factory).createTag(name, attributes);
+ if ( factory instanceof TagFactory ) {
+ return ((TagFactory) factory).createTag(name, attributes);
}
- else {
+ else {
return new ComponentTag(factory);
}
}
@@ -139,14 +139,14 @@
*/
protected void registerFactories() {
registerBeanFactory( "button", JButton.class );
- registerBeanFactory( "buttonGroup", ButtonGroup.class );
+ registerBeanFactory( "buttonGroup", ButtonGroup.class );
registerBeanFactory( "checkBox", JCheckBox.class );
registerBeanFactory( "checkBoxMenuItem", JCheckBoxMenuItem.class );
registerBeanFactory( "comboBox", JComboBox.class );
- // how to add content there ?
- // Have a ComboBoxModel (just one should have a Table or Tree Model objects) ?
- // can the element control it's children ?
- // but children should also be able to be any component (as Swing comps. are all container)
+ // how to add content there ?
+ // Have a ComboBoxModel (just one should have a Table or Tree Model objects) ?
+ // can the element control it's children ?
+ // but children should also be able to be any component (as Swing comps. are all container)
registerBeanFactory( "desktopPane", JDesktopPane.class );
registerBeanFactory( "editorPane", JEditorPane.class );
registerBeanFactory( "fileChooser", JFileChooser.class );
@@ -160,7 +160,7 @@
registerBeanFactory( "panel", JPanel.class );
registerBeanFactory( "passwordField", JPasswordField.class );
registerBeanFactory( "popupMenu", JPopupMenu.class );
- registerBeanFactory( "progressBar", JProgressBar.class );
+ registerBeanFactory( "progressBar", JProgressBar.class );
registerBeanFactory( "radioButton", JRadioButton.class );
registerBeanFactory( "radioButtonMenuItem", JRadioButtonMenuItem.class );
registerBeanFactory( "optionPane", JOptionPane.class );
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org