|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee5.IconTypeImpl<T>
public class IconTypeImpl<T>
This class implements the iconType
xsd type
Original Documentation:
The icon type contains small-icon and large-icon elements
that specify the file names for small and large GIF, JPEG,
or PNG icon images used to represent the parent element in a
GUI tool.
The xml:lang attribute defines the language that the
icon file names are provided in. Its value is "en" (English)
by default.
Constructor Summary | |
---|---|
IconTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
IconTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.lang.String |
getLargeIcon()
Returns the large-icon element |
java.lang.String |
getSmallIcon()
Returns the small-icon element |
IconType<T> |
removeLargeIcon()
Removes the large-icon element |
IconType<T> |
removeSmallIcon()
Removes the small-icon element |
IconType<T> |
setLargeIcon(java.lang.String largeIcon)
If not already created, a new large-icon element with the given value will be created. |
IconType<T> |
setSmallIcon(java.lang.String smallIcon)
If not already created, a new small-icon element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public IconTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public IconType<T> setSmallIcon(java.lang.String smallIcon)
small-icon
element with the given value will be created.
Otherwise, the existing small-icon
element will be updated with the given value.
setSmallIcon
in interface IconType<T>
IconType
public IconType<T> removeSmallIcon()
small-icon
element
removeSmallIcon
in interface IconType<T>
IconType
public java.lang.String getSmallIcon()
small-icon
element
getSmallIcon
in interface IconType<T>
small-icon
public IconType<T> setLargeIcon(java.lang.String largeIcon)
large-icon
element with the given value will be created.
Otherwise, the existing large-icon
element will be updated with the given value.
setLargeIcon
in interface IconType<T>
IconType
public IconType<T> removeLargeIcon()
large-icon
element
removeLargeIcon
in interface IconType<T>
IconType
public java.lang.String getLargeIcon()
large-icon
element
getLargeIcon
in interface IconType<T>
large-icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |