public class PackageIcon extends Object implements Icon
ResourceReference
as icon
source.Constructor and Description |
---|
PackageIcon(Class<?> scope,
String name)
Creates a new icon instance.
|
PackageIcon(org.apache.wicket.request.resource.ResourceReference reference)
Creates a new icon instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the icon height.
|
CharSequence |
getUrl()
Returns the URL of icon image.
|
int |
getWidth()
Returns the icon width.
|
public PackageIcon(org.apache.wicket.request.resource.ResourceReference reference)
reference
- resource reference that can be used to get the iconpublic int getHeight()
public int getWidth()
public CharSequence getUrl()
Copyright © 2015. All rights reserved.