org.objectweb.jonas_lib.deployment.xml
Class Icon
java.lang.Object
org.objectweb.jonas_lib.deployment.xml.AbsElement
org.objectweb.jonas_lib.deployment.xml.Icon
- All Implemented Interfaces:
- java.io.Serializable, Element
public class Icon
- extends AbsElement
This class defines the implementation of the element icon.
- Author:
- Florent Benoit
- See Also:
- Serialized Form
Constructor Summary |
Icon()
|
Method Summary |
java.lang.String |
getLargeIcon()
|
java.lang.String |
getSmallIcon()
|
void |
setLargeIcon(java.lang.String largeIcon)
Sets the large icon name |
void |
setSmallIcon(java.lang.String smallIcon)
Sets the small icon name |
java.lang.String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Icon
public Icon()
setSmallIcon
public void setSmallIcon(java.lang.String smallIcon)
- Sets the small icon name
- Parameters:
smallIcon
- the name of the file for small GIF or JPEG icon image
setLargeIcon
public void setLargeIcon(java.lang.String largeIcon)
- Sets the large icon name
- Parameters:
largeIcon
- the name of the file for large GIF or JPEG icon image
getSmallIcon
public java.lang.String getSmallIcon()
- Returns:
- the small icon name
getLargeIcon
public java.lang.String getLargeIcon()
- Returns:
- the large icon name
toXML
public java.lang.String toXML(int indent)
- Represents this element by it's XML description.
- Specified by:
toXML
in interface Element
- Specified by:
toXML
in class AbsElement
- Parameters:
indent
- use this indent for prexifing XML representation.
- Returns:
- the XML description of this object.