Ontimize 5.2072EN

com.ontimize.gui.field
Class ComboDataField.InnerListener

java.lang.Object
  extended bycom.ontimize.gui.field.ComboDataField.InnerListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
ComboDataField

protected class ComboDataField.InnerListener
extends java.lang.Object
implements java.awt.event.ActionListener

This class implements a inner listener for field.

Author:
Imatia Innovation

Field Summary
protected  boolean innerListenerEnabled
          The condition about inner listener activation.
protected  java.lang.Object storeInnerValue
          Stores the inner value.
 
Constructor Summary
protected ComboDataField.InnerListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.lang.Object getInnerValue()
          Gets the inner value.
protected  boolean isEqualInnerValue(java.lang.Object newValue)
          Compares the inner value with parameter.
 void setInnerListenerEnabled(boolean enabled)
          Sets enable the inner listener in function of condition.
 void setInnerValue(java.lang.Object o)
          Sets the inner value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

innerListenerEnabled

protected boolean innerListenerEnabled
The condition about inner listener activation. By default, true


storeInnerValue

protected java.lang.Object storeInnerValue
Stores the inner value. By default, null.

Constructor Detail

ComboDataField.InnerListener

protected ComboDataField.InnerListener()
Method Detail

setInnerListenerEnabled

public void setInnerListenerEnabled(boolean enabled)
Sets enable the inner listener in function of condition.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getInnerValue

public java.lang.Object getInnerValue()
Gets the inner value.

Returns:
the stored inner value

setInnerValue

public void setInnerValue(java.lang.Object o)
Sets the inner value.

Parameters:
o - the object to set

isEqualInnerValue

protected boolean isEqualInnerValue(java.lang.Object newValue)
Compares the inner value with parameter.

Parameters:
newValue - the value to compare
Returns:
the condition

Ontimize