[Libreoffice-commits] core.git: wizards/com

rbuj robert.buj at gmail.com
Tue Sep 2 00:14:53 PDT 2014


 wizards/com/sun/star/wizards/common/ConfigNode.java         |    6 ++--
 wizards/com/sun/star/wizards/common/Configuration.java      |   16 ++++++------
 wizards/com/sun/star/wizards/common/NumberFormatter.java    |    4 +--
 wizards/com/sun/star/wizards/ui/UnoDialog2.java             |   10 +++----
 wizards/com/sun/star/wizards/ui/event/AbstractListener.java |    4 +--
 wizards/com/sun/star/wizards/ui/event/MethodInvocation.java |   14 +++++-----
 6 files changed, 27 insertions(+), 27 deletions(-)

New commits:
commit f09d060b1b3c053ec08ff02e51db39230623bcd1
Author: rbuj <robert.buj at gmail.com>
Date:   Mon Sep 1 17:40:03 2014 +0200

    wizards: fix javadoc error: self-closing element not allowed
    
    Change-Id: I1ffe498da5fa1410832312b38343aae7bca77203
    Reviewed-on: https://gerrit.libreoffice.org/11236
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/wizards/com/sun/star/wizards/common/ConfigNode.java b/wizards/com/sun/star/wizards/common/ConfigNode.java
index 69cd96f..0d2abd8 100644
--- a/wizards/com/sun/star/wizards/common/ConfigNode.java
+++ b/wizards/com/sun/star/wizards/common/ConfigNode.java
@@ -20,9 +20,9 @@ package com.sun.star.wizards.common;
 /**
  * This Interface specifies a method of an object which is
  * capable of reading and writing its data out of the
- * OO Configuration. <br/>
- * There are 2 direct implementations: ConfigGroup and ConfigSet.
- * The root is the first Java Object in the configuration hirarchie.
+ * OO Configuration.
+ * <p>There are 2 direct implementations: ConfigGroup and ConfigSet.
+ * The root is the first Java Object in the configuration hierarchies.</p>
  */
 public interface ConfigNode
 {
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java
index 2a2d8c0..bed4b9c 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.java
+++ b/wizards/com/sun/star/wizards/common/Configuration.java
@@ -28,15 +28,15 @@ import com.sun.star.uno.UnoRuntime;
 import com.sun.star.lang.Locale;
 
 /**
- * This class gives access to the OO configuration api.
- * It contains 4 get and 4 set convenience methods for getting and settings properties
- * in the configuration. <br/>
- * For the get methods, two parameters must be given: name and parent, where name is the
- * name of the property, parent is a HierarchyElement (::com::sun::star::configuration::HierarchyElement)<br/>
- * The get and set methods support hieryrchical property names like "options/gridX". <br/>
- * NOTE: not yet supported, but sometime later,
+ * This class gives access to the OO configuration API.
+ * <p>It contains 4 get and 4 set convenience methods for getting and settings properties
+ * in the configuration.</p>
+ * <p>For the get methods, two parameters must be given: name and parent, where name is the
+ * name of the property, parent is a HierarchyElement (::com::sun::star::configuration::HierarchyElement)</p>
+ * <p>The get and set methods support hierarchical property names like "options/gridX". </p>
+ * <p>NOTE: not yet supported, but sometime later,
  * If you will omit the "parent" parameter, then the "name" parameter must be in hierarchy form from
- * the root of the registry.
+ * the root of the registry.</p>
  */
 public abstract class Configuration
 {
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java
index 83a51bc..1d9a9c3 100644
--- a/wizards/com/sun/star/wizards/common/NumberFormatter.java
+++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java
@@ -82,8 +82,8 @@ public class NumberFormatter
 
 
     /**
-     * gives a key to pass to a NumberFormat object. <br/>
-     * example: <br/>
+     * gives a key to pass to a NumberFormat object.
+     * <p>example:</p>
      * <pre>
      * XNumberFormatsSupplier nsf = (XNumberFormatsSupplier)UnoRuntime.queryInterface(...,document);
      * int key = Desktop.getNumberFormatterKey( nsf, ...star.i18n.NumberFormatIndex.DATE...);
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog2.java b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
index 9259425..6fcf825 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog2.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog2.java
@@ -29,11 +29,11 @@ import com.sun.star.wizards.ui.event.*;
 
 /**
  * This class contains convenience methods for inserting components to a dialog.
- * It was created for use with the automatic conversion of Basic XML Dialog
- * description files to a Java class which builds the same dialog through the UNO API.<br/>
- * It uses an Event-Listener method, which calls a method through reflection
- * wenn an event on a component is trigered.
- * see the classes AbstractListener, CommonListener, MethodInvocation for details.
+ * <p>It was created for use with the automatic conversion of Basic XML Dialog
+ * description files to a Java class which builds the same dialog through the UNO API.</p>
+ * <p>It uses an Event-Listener method, which calls a method through reflection
+ * when an event on a component is triggered.
+ * see the classes AbstractListener, CommonListener, MethodInvocation for details.</p>
  */
 public class UnoDialog2 extends UnoDialog
 {
diff --git a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
index 2ebbb67..2fec29e 100644
--- a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
+++ b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java
@@ -28,8 +28,8 @@ import java.util.HashMap;
 
 /**
  * This class is a base class for listener classes.
- * It uses a hashtable to map between a ComponentName, EventName and a MethodInvokation Object.
- * To use this class do the following:<br/>
+ * <p>It uses a hashtable to map between a ComponentName, EventName and a MethodInvokation Object.
+ * To use this class do the following:</p>
  * <ul>
  * <li>Write a subclass which implements the needed Listener(s).</li>
  * <li>In the even methods, use invoke(...).</li>
diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
index ab9e78f..2606155 100644
--- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
+++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
@@ -22,13 +22,13 @@ import java.lang.reflect.Method;
 
 /**
  * Encapsulate a Method invocation.
- * In the constructor one defines a method, a target object and an optional
- * Parameter.
- * Then one calls "invoke", with or without a parameter. <br/>
- * Limitations: I do not check anything myself. If the param is not ok, from the
- * wrong type, or the mothod doesnot exist on the given object.
- * You can trick this class howmuch you want: it will all throw exceptions
- * on the java level. i throw no error warnings or my own excceptions...
+ * <p>In the constructor one defines a method, a target object and an optional
+ * Parameter.</p>
+ * <p>Then one calls "invoke", with or without a parameter.</p>
+ * <p>Limitations: I do not check anything myself. If the param is not ok, from the
+ * wrong type, or the method does not exist on the given object.
+ * You can trick this class how much you want: it will all throw exceptions
+ * on the java level. i throw no error warnings or my own exceptions...</p>
  */
 public class MethodInvocation
 {


More information about the Libreoffice-commits mailing list