/** Set the current state. * Fires a change event, which should be used to affect other components when * its state is toggled. * @param value <code>true</code> to turn on, <code>false</code> to turn off */ public void setBooleanState(boolean value) { Boolean newValue = value ? Boolean.TRUE : Boolean.FALSE; Boolean oldValue = (Boolean) putProperty(PROP_BOOLEAN_STATE, newValue); firePropertyChange(PROP_BOOLEAN_STATE, oldValue, newValue); }
/** Set the current state. * Fires a change event, which should be used to affect other components when * its state is toggled. * @param value <code>true</code> to turn on, <code>false</code> to turn off */ public void setBooleanState(boolean value) { Boolean newValue = value ? Boolean.TRUE : Boolean.FALSE; Boolean oldValue = (Boolean) putProperty(PROP_BOOLEAN_STATE, newValue); firePropertyChange(PROP_BOOLEAN_STATE, oldValue, newValue); }
/** Set the current state. * Fires a change event, which should be used to affect other components when * its state is toggled. * @param value <code>true</code> to turn on, <code>false</code> to turn off */ public void setBooleanState(boolean value) { Boolean newValue = value ? Boolean.TRUE : Boolean.FALSE; Boolean oldValue = (Boolean)putProperty (PROP_BOOLEAN_STATE, newValue); firePropertyChange(PROP_BOOLEAN_STATE, oldValue, newValue); }
/** Set the current state. * Fires a change event, which should be used to affect other components when * its state is toggled. * @param value <code>true</code> to turn on, <code>false</code> to turn off */ public void setBooleanState(boolean value) { Boolean newValue = value ? Boolean.TRUE : Boolean.FALSE; Boolean oldValue = (Boolean)putProperty (PROP_BOOLEAN_STATE, newValue); firePropertyChange(PROP_BOOLEAN_STATE, oldValue, newValue); }
/** Set the current state. * Fires a change event, which should be used to affect other components when * its state is toggled. * @param value <code>true</code> to turn on, <code>false</code> to turn off */ public void setBooleanState(boolean value) { Boolean newValue = value ? Boolean.TRUE : Boolean.FALSE; Boolean oldValue = (Boolean) putProperty(PROP_BOOLEAN_STATE, newValue); firePropertyChange(PROP_BOOLEAN_STATE, oldValue, newValue); }
/** Set the current state. * Fires a change event, which should be used to affect other components when * its state is toggled. * @param value <code>true</code> to turn on, <code>false</code> to turn off */ public void setBooleanState(boolean value) { Boolean newValue = value ? Boolean.TRUE : Boolean.FALSE; Boolean oldValue = (Boolean) putProperty(PROP_BOOLEAN_STATE, newValue); firePropertyChange(PROP_BOOLEAN_STATE, oldValue, newValue); }