org.eclipse.jst.j2ee.common
Interface IconType

All Superinterfaces:
J2EEEObject

public interface IconType
extends J2EEEObject

A representation of the model object 'Icon Type'.

Version:
J2EE1.4 The icon type contains small-icon and large-icon elements that specify the file names for small and large GIF or JPEG 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.

The following features are supported:

See Also:
CommonPackage.getIconType()

Method Summary
 java.lang.String getLang()
          Returns the value of the 'Lang' attribute
 java.lang.String getLargeIcon()
          Returns the value of the 'Large Icon' attribute
 java.lang.String getSmallIcon()
          Returns the value of the 'Small Icon' attribute
 void setLang(java.lang.String value)
          Sets the value of the 'Lang' attribute
 void setLargeIcon(java.lang.String value)
          Sets the value of the 'Large Icon' attribute
 void setSmallIcon(java.lang.String value)
          Sets the value of the 'Small Icon' attribute
 

Method Detail

getSmallIcon

public java.lang.String getSmallIcon()
Returns the value of the 'Small Icon' attribute.

If the meaning of the 'Small Icon' attribute isn't clear, there really should be more of a description here...

The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the Deployment Component's Deployment File. The image may be either in the JPEG or GIF format. The icon can be used by tools. Example: employee-service-icon16x16.jpg

Returns:
the value of the 'Small Icon' attribute.
See Also:
setSmallIcon(String), CommonPackage.getIconType_SmallIcon()

setSmallIcon

public void setSmallIcon(java.lang.String value)
Sets the value of the 'Small Icon' attribute.

Parameters:
value - the new value of the 'Small Icon' attribute.
See Also:
getSmallIcon()

getLargeIcon

public java.lang.String getLargeIcon()
Returns the value of the 'Large Icon' attribute.

If the meaning of the 'Large Icon' attribute isn't clear, there really should be more of a description here...

The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the Deployment Component's Deployment File. The image may be either in the JPEG or GIF format. The icon can be used by tools. Example: employee-service-icon32x32.jpg

Returns:
the value of the 'Large Icon' attribute.
See Also:
setLargeIcon(String), CommonPackage.getIconType_LargeIcon()

setLargeIcon

public void setLargeIcon(java.lang.String value)
Sets the value of the 'Large Icon' attribute.

Parameters:
value - the new value of the 'Large Icon' attribute.
See Also:
getLargeIcon()

getLang

public java.lang.String getLang()
Returns the value of the 'Lang' attribute.

If the meaning of the 'Lang' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Lang' attribute.
See Also:
setLang(String), CommonPackage.getIconType_Lang()

setLang

public void setLang(java.lang.String value)
Sets the value of the 'Lang' attribute.

Parameters:
value - the new value of the 'Lang' attribute.
See Also:
getLang()