oracle.cabo.ui.laf.icon
Class ConfigImageIcon
java.lang.Object
|
+--oracle.cabo.ui.laf.icon.Icon
|
+--oracle.cabo.ui.laf.icon.BaseImageIcon
|
+--oracle.cabo.ui.laf.icon.ConfigImageIcon
- public class ConfigImageIcon
- extends BaseImageIcon
An Icon implementation for icons which are installed under
the directory specified by the Configuration.IMAGES_DIRECTORY key.
Constructor Summary |
ConfigImageIcon(java.lang.String uri,
java.lang.Integer width,
java.lang.Integer height)
Creates a ConfigImageIcon which uses the specified image URI
regardless of the reading direction. |
ConfigImageIcon(java.lang.String uri,
java.lang.String rtlURI,
java.lang.Integer width,
java.lang.Integer height)
Creates an ConfigImageIcon which has a different image URI
depending on the reading direction. |
ConfigImageIcon(java.lang.String uri,
java.lang.String rtlURI,
java.lang.Integer width,
java.lang.Integer height,
java.lang.String styleClass,
Style inlineStyle)
Creates an ConfigImageIcon which has a different image URI
depending on the reading direction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigImageIcon
public ConfigImageIcon(java.lang.String uri,
java.lang.Integer width,
java.lang.Integer height)
- Creates a ConfigImageIcon which uses the specified image URI
regardless of the reading direction.
- Parameters:
uri
- The URI to the image, relative to the
Configuration.IMAGES_DIRECTORY.width
- An Integer representing the width of the icon,
or null if the width is not known.height
- An Integer representing the height of the icon,
or null if the height is not known.
ConfigImageIcon
public ConfigImageIcon(java.lang.String uri,
java.lang.String rtlURI,
java.lang.Integer width,
java.lang.Integer height)
- Creates an ConfigImageIcon which has a different image URI
depending on the reading direction.
- Parameters:
uri
- The URI of the left-to-right version of the image,
relative to the Configuration.IMAGES_DIRECTORY.rtlURI
- The URI of the right-to-left version of the image,
relative to the Configuration.IMAGES_DIRECTORY.width
- An Integer representing the width of the icon,
or null if the width is not known.height
- An Integer representing the height of the icon,
or null if the height is not known.
ConfigImageIcon
public ConfigImageIcon(java.lang.String uri,
java.lang.String rtlURI,
java.lang.Integer width,
java.lang.Integer height,
java.lang.String styleClass,
Style inlineStyle)
- Creates an ConfigImageIcon which has a different image URI
depending on the reading direction.
- Parameters:
uri
- The URI of the left-to-right version of the image,
relative to the Configuration.IMAGES_DIRECTORY.rtlURI
- The URI of the right-to-left version of the image,
relative to the Configuration.IMAGES_DIRECTORY.width
- An Integer representing the width of the icon,
or null if the width is not known.height
- An Integer representing the height of the icon,
or null if the height is not known.styleClass
- The style class for the image iconinlineStyle
- The inline style for the image icon
getBaseURI
protected java.lang.String getBaseURI(RenderingContext context)
- Implementation of BaseURIIcon.getBaseURI().
The base URI for ConfigImageIcon is the URI
of the Configuration.IMAGES_DIRECTORY.
- Overrides:
getBaseURI
in class BaseImageIcon