Skip to content

Commit

Permalink
[minis] javadoc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
akiraly committed Apr 17, 2011
1 parent 1f30db8 commit 56ef3d6
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -32,8 +32,13 @@ public abstract class AbstractImageDimensionProvider extends Behavior
public static final String HEIGHT = "height";

/**
* Gets the image dimension.
* Gets the image dimension. By default it is called by
* {@link #onComponentTag(Component, ComponentTag)}.
*
* @param component
* "the component that renders this tag currently"
* @param tag
* "the tag that is rendered"
* @return image dimension used for width and height, can be null
*/
protected abstract ImageDimension getImageDimension(Component component, ComponentTag tag);
Expand Down

0 comments on commit 56ef3d6

Please sign in to comment.