java.lang.Object
org.gvsig.gui.beans.swing.jComboBoxWithImageIconItems.ImageIconItemInfo
All Implemented Interfaces:
Serializable

public class ImageIconItemInfo extends Object implements Serializable
This class represents the necessary information about each image icon item of 'JPanelWithJComboBoxImageIconItems'
Author:
Pablo Piqueras Bartolomé (p_queras@hotmail.com)
See Also:
  • Constructor Details

    • ImageIconItemInfo

      public ImageIconItemInfo()
      Default constructor without parameters
    • ImageIconItemInfo

      public ImageIconItemInfo(String image_Icon_Path, ImageIcon image_Icon, String text, Object item_Value)
      Default constructor with two parameters
      Parameters:
      image_Icon - The image icon
      text - The tool tip text
      item_Value - A value associated to this item
      path - Path to the image icon
  • Method Details

    • getImageIcon

      public ImageIcon getImageIcon()
      Gets the image icon object reference
      Returns:
      the imageIcon
    • setImageIcon

      public void setImageIcon(ImageIcon imageIcon)
      Sets the image icon object reference
      Parameters:
      imageIcon - the imageIcon to set
    • getPath

      public String getPath()
      Gets the path
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Sets the path
      Parameters:
      path - the path to set
    • getToolTipText

      public String getToolTipText()
      Gets the tool tip text
      Returns:
      text the tool tip text to this icon image
    • setToolTipText

      public void setToolTipText(String text)
      Sets the tool tip text
      Parameters:
      text - the tool tip text to this icon image
    • getItemValue

      public Object getItemValue()
      Gets the associated item value
      Returns:
      a value associated to this item
    • setItemValue

      public void setItemValue(Object item_Value)
      Sets the associated item value
      Parameters:
      item_Value - a value associated to this item