org.apache.openejb.jee
Class Icon

java.lang.Object
  extended by org.apache.openejb.jee.Icon
All Implemented Interfaces:
Keyable<String>

public class Icon
extends Object
implements Keyable<String>

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.


Field Summary
protected  String id
           
protected  String lang
           
protected  String largeIcon
           
protected  String smallIcon
           
 
Constructor Summary
Icon()
           
 
Method Summary
 String getId()
           
 String getKey()
          Gets the immutable key for this object.
 String getLang()
           
 String getLargeIcon()
           
 String getSmallIcon()
           
 void setId(String value)
           
 void setLang(String value)
           
 void setLargeIcon(String value)
           
 void setSmallIcon(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

smallIcon

protected String smallIcon

largeIcon

protected String largeIcon

id

protected String id

lang

protected String lang
Constructor Detail

Icon

public Icon()
Method Detail

getSmallIcon

public String getSmallIcon()

setSmallIcon

public void setSmallIcon(String value)

getLargeIcon

public String getLargeIcon()

setLargeIcon

public void setLargeIcon(String value)

getId

public String getId()

setId

public void setId(String value)

getLang

public String getLang()

setLang

public void setLang(String value)

getKey

public String getKey()
Description copied from interface: Keyable
Gets the immutable key for this object.

Specified by:
getKey in interface Keyable<String>
Returns:
gets the immutable key for this object


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.