synergynetframework.appsystem.contentsystem.items
Class DropDownList.DropDownListItem

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.items.DropDownList.DropDownListItem
Enclosing class:
DropDownList

public class DropDownList.DropDownListItem
extends java.lang.Object

The Class DropDownListItem.


Constructor Summary
DropDownList.DropDownListItem(java.lang.String title, java.lang.String value)
          Instantiates a new drop down list item.
DropDownList.DropDownListItem(java.net.URL imageResource, int width, int height, java.lang.String value)
          Instantiates a new drop down list item.
DropDownList.DropDownListItem(java.net.URL imageResource, java.lang.String value)
          Instantiates a new drop down list item.
 
Method Summary
 java.net.URL getImageResource()
          Gets the image resource.
 SimpleButton getItemButton()
          Gets the item button.
 java.lang.String getTitle()
          Gets the title.
 java.lang.String getValue()
          Gets the value.
 void setItemButton(SimpleButton itemButton)
          Sets the item button.
 void setTitle(java.lang.String title)
          Sets the title.
 void setValue(java.lang.String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropDownList.DropDownListItem

public DropDownList.DropDownListItem(java.lang.String title,
                                     java.lang.String value)
Instantiates a new drop down list item.

Parameters:
title - the title
value - the value

DropDownList.DropDownListItem

public DropDownList.DropDownListItem(java.net.URL imageResource,
                                     int width,
                                     int height,
                                     java.lang.String value)
Instantiates a new drop down list item.

Parameters:
imageResource - the image resource
width - the width
height - the height
value - the value

DropDownList.DropDownListItem

public DropDownList.DropDownListItem(java.net.URL imageResource,
                                     java.lang.String value)
Instantiates a new drop down list item.

Parameters:
imageResource - the image resource
value - the value
Method Detail

getImageResource

public java.net.URL getImageResource()
Gets the image resource.

Returns:
the image resource

getItemButton

public SimpleButton getItemButton()
Gets the item button.

Returns:
the item button

getTitle

public java.lang.String getTitle()
Gets the title.

Returns:
the title

getValue

public java.lang.String getValue()
Gets the value.

Returns:
the value

setItemButton

public void setItemButton(SimpleButton itemButton)
Sets the item button.

Parameters:
itemButton - the new item button

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - the new title

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the new value