com.nqadmin.swingSet.formatting.helpers
Class SelectorElement

java.lang.Object
  extended by com.nqadmin.swingSet.formatting.helpers.SelectorElement

public class SelectorElement
extends java.lang.Object

Author:
dags

Constructor Summary
SelectorElement()
          Creates a default instance of SelectorElement
SelectorElement(java.lang.Object dataValue, java.lang.Object listValue)
          Creates an instance of SelectorElement with the given listValue & dataValue
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds a PropertyChangeListener to the listener list.
 java.lang.Object getDataValue()
          Getter for property dataValue.
 void getFilterStrings(java.util.List list)
           
 java.lang.Object getListValue()
          Getter for property listValue.
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes a PropertyChangeListener from the listener list.
 void setDataValue(java.lang.Object dataValue)
          Setter for property dataValue.
 void setListValue(java.lang.Object listValue)
          Setter for property listValue.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectorElement

public SelectorElement()
Creates a default instance of SelectorElement


SelectorElement

public SelectorElement(java.lang.Object dataValue,
                       java.lang.Object listValue)
Creates an instance of SelectorElement with the given listValue & dataValue

Parameters:
dataValue - - underlying value of the object displayed
listValue - - value to be used for display purpose
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.

Parameters:
l - The listener to add.

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.

Parameters:
l - The listener to remove.

getListValue

public java.lang.Object getListValue()
Getter for property listValue.

Returns:
Value of property listValue.

setListValue

public void setListValue(java.lang.Object listValue)
Setter for property listValue.

Parameters:
listValue - New value of property listValue.

getDataValue

public java.lang.Object getDataValue()
Getter for property dataValue.

Returns:
Value of property dataValue.

setDataValue

public void setDataValue(java.lang.Object dataValue)
Setter for property dataValue.

Parameters:
dataValue - New value of property dataValue.

getFilterStrings

public void getFilterStrings(java.util.List list)