|
org.netbeans.modules.j2ee.dd/1 1.13.0 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IconInterface
Super interface for all DD elements having the icon property/properties.
Important note: Do not provide an implementation of this interface unless you are a DD API provider!
| Method Summary | |
|---|---|
Map |
getAllIcons()
Returns all icon elements in the form of <@link java.util.Map>. |
Icon |
getDefaultIcon()
Returns the icon element value for default locale. |
String |
getLargeIcon()
Returns the large-icon element value for default locale. |
String |
getLargeIcon(String locale)
Returns the large-icon element value for particular locale. If locale=null method returns large-icon for default locale. |
String |
getSmallIcon()
Returns the small-icon element value for default locale. |
String |
getSmallIcon(String locale)
Returns the small-icon element value for particular locale. If locale=null method returns small-icon for default locale. |
void |
removeAllIcons()
Removes all icon elements from DD element. |
void |
removeIcon()
Removes icon element for default locale. |
void |
removeIcon(String locale)
Removes the icon element for particular locale. |
void |
removeLargeIcon()
Removes large-icon element for default locale. |
void |
removeLargeIcon(String locale)
Removes the large-icon element for particular locale. |
void |
removeSmallIcon()
Removes small-icon element for default locale. |
void |
removeSmallIcon(String locale)
Removes the small-icon element for particular locale. |
void |
setAllIcons(String[] locales,
String[] smallIcons,
String[] largeIcons)
Sets the multiple icon elements. |
void |
setIcon(Icon icon)
Sets the icon element. |
void |
setLargeIcon(String icon)
Sets the large-icon element value for icon element where xml:lang attribute is not specified. |
void |
setLargeIcon(String locale,
String icon)
Sets the large-icon element value for particular locale. If locale=null the method sets the large-icon value for icon element where xml:lang attribute is not specified. If icon=null method removes the large-icon element for a specified locale. |
void |
setSmallIcon(String icon)
Sets the small-icon element value for icon element where xml:lang attribute is not specified. |
void |
setSmallIcon(String locale,
String icon)
Sets the small-icon element value for particular locale. If locale=null the method sets the small-icon value for icon element where xml:lang attribute is not specified. If icon=null method removes the small-icon element for a specified locale. |
| Method Detail |
|---|
void setSmallIcon(String locale,
String icon)
throws VersionNotSupportedException
locale - string representing the locale - the value for xml:lang attribute e.g. "fr"icon - value for small-icon element
VersionNotSupportedExceptionvoid setSmallIcon(String icon)
icon - value for small-icon element
void setLargeIcon(String locale,
String icon)
throws VersionNotSupportedException
locale - string representing the locale - the value for xml:lang attribute e.g. "fr"icon - value for large-icon element
VersionNotSupportedExceptionvoid setLargeIcon(String icon)
icon - value for large-icon element
void setAllIcons(String[] locales,
String[] smallIcons,
String[] largeIcons)
throws VersionNotSupportedException
locales - array of locales (xml:lang attribute values for icon elements)smallIcons - array of values for small-icon elementslargeIcons - array of values for large-icon elements
VersionNotSupportedExceptionvoid setIcon(Icon icon)
icon - value for icon element
String getSmallIcon(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr".
VersionNotSupportedExceptionString getSmallIcon()
String getLargeIcon(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr".
VersionNotSupportedExceptionString getLargeIcon()
Icon getDefaultIcon()
Map getAllIcons()
void removeSmallIcon(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr"
VersionNotSupportedException
void removeLargeIcon(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr"
VersionNotSupportedException
void removeIcon(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr"
VersionNotSupportedExceptionvoid removeSmallIcon()
void removeLargeIcon()
void removeIcon()
void removeAllIcons()
|
org.netbeans.modules.j2ee.dd/1 1.13.0 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||