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