se.entitymanager.presentation.swing
Class SwingIcon

java.lang.Object
  extended by se.entitymanager.presentation.swing.SwingIcon
All Implemented Interfaces:
Icon

public class SwingIcon
extends java.lang.Object
implements Icon

An se.entitymanager.presentation.Icon which encapsulates an javax.swing.Icon iconObject as iconObject.


Field Summary
private  javax.swing.Icon iconObject
          The encapsulated object.
 
Constructor Summary
SwingIcon(javax.swing.Icon iconObject)
          Constructs a SwingIcon with given iconObject.
 
Method Summary
 java.lang.Object getIconObject()
          Returns the encapsulated icon object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iconObject

private javax.swing.Icon iconObject
The encapsulated object.

Constructor Detail

SwingIcon

public SwingIcon(javax.swing.Icon iconObject)
Constructs a SwingIcon with given iconObject.

Parameters:
iconObject - the icon to encapsulate
Method Detail

getIconObject

public java.lang.Object getIconObject()
Description copied from interface: Icon
Returns the encapsulated icon object.

Specified by:
getIconObject in interface Icon
Returns:
the icon object