public class ImageIconItemInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ImageIconItemInfo()
Default constructor without parameters
|
ImageIconItemInfo(java.lang.String image_Icon_Path,
javax.swing.ImageIcon image_Icon,
java.lang.String text,
java.lang.Object item_Value)
Default constructor with two parameters
|
Modifier and Type | Method and Description |
---|---|
javax.swing.ImageIcon |
getImageIcon()
Gets the image icon object reference
|
java.lang.Object |
getItemValue()
Gets the associated item value
|
java.lang.String |
getPath()
Gets the path
|
java.lang.String |
getToolTipText()
Gets the tool tip text
|
void |
setImageIcon(javax.swing.ImageIcon imageIcon)
Sets the image icon object reference
|
void |
setItemValue(java.lang.Object item_Value)
Sets the associated item value
|
void |
setPath(java.lang.String path)
Sets the path
|
void |
setToolTipText(java.lang.String text)
Sets the tool tip text
|
public ImageIconItemInfo()
public ImageIconItemInfo(java.lang.String image_Icon_Path, javax.swing.ImageIcon image_Icon, java.lang.String text, java.lang.Object item_Value)
path
- Path to the image iconimage_Icon
- The image icontext
- The tool tip textitem_Value
- A value associated to this itempublic javax.swing.ImageIcon getImageIcon()
public void setImageIcon(javax.swing.ImageIcon imageIcon)
imageIcon
- the imageIcon to setpublic java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the path to setpublic java.lang.String getToolTipText()
public void setToolTipText(java.lang.String text)
text
- the tool tip text to this icon imagepublic java.lang.Object getItemValue()
public void setItemValue(java.lang.Object item_Value)
item_Value
- a value associated to this item