Repository: wicket Updated Branches: refs/heads/master 52afdbdd2 -> ff26ad8e4
corrected and improved javadoc Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ff26ad8e Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ff26ad8e Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ff26ad8e Branch: refs/heads/master Commit: ff26ad8e4993ce02b44d05e89171f90fd57a5bc8 Parents: e509c5c Author: Sven Meier <[email protected]> Authored: Fri Jun 24 08:51:39 2016 +0200 Committer: Sven Meier <[email protected]> Committed: Fri Jun 24 08:51:57 2016 +0200 ---------------------------------------------------------------------- .../wicket/ajax/markup/html/AjaxLink.java | 2 +- .../ajax/markup/html/form/AjaxButton.java | 9 +++---- .../ajax/markup/html/form/AjaxCheckBox.java | 2 +- .../ajax/markup/html/form/AjaxSubmitLink.java | 8 +++--- .../java/org/apache/wicket/lambda/Lambdas.java | 27 ++++++++------------ .../apache/wicket/markup/html/link/Link.java | 2 +- 6 files changed, 19 insertions(+), 31 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/ff26ad8e/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/AjaxLink.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/AjaxLink.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/AjaxLink.java index a431ef9..1355872 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/AjaxLink.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/AjaxLink.java @@ -174,7 +174,7 @@ public abstract class AjaxLink<T> extends AbstractLink implements IAjaxLink, IGe * @param id * the id of the ajax link * @param onClick - * the {@link WicketConsumer} which accepts the {@link AjaxRequestTarget} + * the consumer of the clicked link and an {@link AjaxRequestTarget} * @return the {@link AjaxLink} */ public static <T> AjaxLink<T> onClick(String id, WicketBiConsumer<AjaxLink<T>, AjaxRequestTarget> onClick) http://git-wip-us.apache.org/repos/asf/wicket/blob/ff26ad8e/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java index 99e279a..cb9f911 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java @@ -236,8 +236,7 @@ public abstract class AjaxButton extends Button * @param id * the id of the ajax button * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link AjaxButton} + * the consumer which accepts the button and an {@link AjaxRequestTarget} * @return the {@link AjaxButton} */ public static AjaxButton onSubmit(String id, WicketBiConsumer<AjaxButton, AjaxRequestTarget> onSubmit) @@ -262,11 +261,9 @@ public abstract class AjaxButton extends Button * @param id * the id of the ajax button * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link AjaxButton} + * the consumer of the submitted button and an {@link AjaxRequestTarget} * @param onError - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link AjaxButton} + * the consumer of the button in error and an {@link AjaxRequestTarget} * @return the {@link AjaxButton} */ public static AjaxButton onSubmit(String id, http://git-wip-us.apache.org/repos/asf/wicket/blob/ff26ad8e/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java index 657f166..bd21f74 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxCheckBox.java @@ -99,7 +99,7 @@ public abstract class AjaxCheckBox extends CheckBox * @param id * the id of ajax check box * @param onUpdate - * the {@link WicketConsumer} which accepts the {@link AjaxRequestTarget} + * the consumer of the updated checkbox and an {@link AjaxRequestTarget} * @return the {@link AjaxCheckBox} */ public static AjaxCheckBox onUpdate(String id, WicketBiConsumer<AjaxCheckBox, AjaxRequestTarget> onUpdate) http://git-wip-us.apache.org/repos/asf/wicket/blob/ff26ad8e/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java index f65a4a3..1e5538a 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java @@ -236,7 +236,7 @@ public abstract class AjaxSubmitLink extends AbstractSubmitLink * @param id * the id of ajax submit link * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxSubmitLink\ and the {@link AjaxRequestTarget} + * the consumer which accepts the link and an {@link AjaxRequestTarget} * @return the {@link AjaxSubmitLink} */ public static AjaxSubmitLink onSubmit(String id, WicketBiConsumer<AjaxSubmitLink, AjaxRequestTarget> onSubmit) @@ -261,11 +261,9 @@ public abstract class AjaxSubmitLink extends AbstractSubmitLink * @param id * the id of ajax submit link * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link Form} + * the consumer of the submitted link and an {@link AjaxRequestTarget} * @param onError - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link Form} + * the consumer of the link in error and an {@link AjaxRequestTarget} * @return the {@link AjaxSubmitLink} */ public static AjaxSubmitLink onSubmit(String id, http://git-wip-us.apache.org/repos/asf/wicket/blob/ff26ad8e/wicket-core/src/main/java/org/apache/wicket/lambda/Lambdas.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/lambda/Lambdas.java b/wicket-core/src/main/java/org/apache/wicket/lambda/Lambdas.java index 268f5d0..6341a93 100644 --- a/wicket-core/src/main/java/org/apache/wicket/lambda/Lambdas.java +++ b/wicket-core/src/main/java/org/apache/wicket/lambda/Lambdas.java @@ -32,7 +32,6 @@ import org.apache.wicket.ajax.markup.html.form.AjaxCheckBox; import org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink; import org.apache.wicket.behavior.Behavior; import org.apache.wicket.markup.ComponentTag; -import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.protocol.http.request.WebClientInfo; import org.apache.wicket.util.time.Duration; @@ -298,7 +297,7 @@ public class Lambdas * @param attributeName * the name of the attribute to manipulate * @param onAttribute - * the {@link WicketFunction} that is applied to the attribute value + * the function that is applied to the attribute value * @return The created behavior * * @see Behavior#onAttribute(String, WicketFunction) @@ -314,7 +313,7 @@ public class Lambdas * @param id * the id of the ajax link * @param onClick - * the {@link WicketConsumer} which accepts the {@link AjaxRequestTarget} + * the consumer of the clicked link and an {@link AjaxRequestTarget} * @return the {@link AjaxLink} * * @see AjaxLink#onClick(String, WicketConsumer) @@ -330,8 +329,7 @@ public class Lambdas * @param id * the id of the ajax button * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link Form} + * the consumer of the submitted button and an {@link AjaxRequestTarget} * @return the {@link AjaxButton} * * @see AjaxButton#onSubmit(String, WicketBiConsumer) @@ -348,11 +346,9 @@ public class Lambdas * @param id * the id of the ajax button * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link AjaxButton} + * the consumer of the submitted button and an {@link AjaxRequestTarget} * @param onError - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link AjaxButton} + * the consumer of the button in error and an {@link AjaxRequestTarget} * @return the {@link AjaxButton} * * @see AjaxButton#onSubmit(String, WicketBiConsumer, WicketBiConsumer) @@ -370,7 +366,7 @@ public class Lambdas * @param id * the id of ajax check box * @param onUpdate - * the {@link WicketConsumer} which accepts the {@link AjaxRequestTarget} + * the consumer of the updated checkbox and an {@link AjaxRequestTarget} * @return the {@link AjaxCheckBox} * * @see AjaxCheckBox#onUpdate(String, WicketConsumer) @@ -386,8 +382,7 @@ public class Lambdas * @param id * the id of ajax submit link * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link Form} + * the consumer of the submitted button and an {@link AjaxRequestTarget} * @return the {@link AjaxSubmitLink} * * @see AjaxSubmitLink#onSubmit(String, WicketBiConsumer) @@ -404,11 +399,9 @@ public class Lambdas * @param id * the id of ajax submit link * @param onSubmit - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link Form} + * the consumer of the submitted link and an {@link AjaxRequestTarget} * @param onError - * the {@link WicketBiConsumer} which accepts the {@link AjaxRequestTarget} and the - * {@link Form} + * the consumer of the link in error and an {@link AjaxRequestTarget} * @return the {@link AjaxSubmitLink} * * @see AjaxSubmitLink#onSubmit(String, WicketBiConsumer, WicketBiConsumer) @@ -426,7 +419,7 @@ public class Lambdas * @param id * the id of the link * @param onClick - * the {@link WicketConsumer} which accepts the {@link Void} + * the consumer of the clicked link * @return the {@link Link} * * @see Link#onClick(String, WicketConsumer) http://git-wip-us.apache.org/repos/asf/wicket/blob/ff26ad8e/wicket-core/src/main/java/org/apache/wicket/markup/html/link/Link.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/link/Link.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/link/Link.java index abfcb54..eaeb77a 100644 --- a/wicket-core/src/main/java/org/apache/wicket/markup/html/link/Link.java +++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/link/Link.java @@ -425,7 +425,7 @@ public abstract class Link<T> extends AbstractLink implements IRequestListener, * @param id * the id of the link * @param onClick - * the {@link WicketConsumer} which accepts the {@link Void} + * the consumer of the clicked link * @return the {@link Link} */ public static <T> Link<T> onClick(String id, WicketConsumer<Link<T>> onClick)
