/** * {@inheritDoc} */ public void actionPerformed(@SuppressWarnings("unused") ActionEvent e) { fireConnectorValueChange(); } });
/** * {@inheritDoc} */ @Override public void writabilityChange() { super.writabilityChange(); getConnectedSComponent().setEnabled(isWritable()); }
/** * Returns a <code>Boolean</code> object mapping the state of the button. * <p> * {@inheritDoc} */ @Override protected Object getConnecteeValue() { return new Boolean(getConnectedSComponent().isSelected()); }
/** * {@inheritDoc} */ @Override public void updateState() { super.updateState(); getConnectedSComponent().setEnabled(isWritable()); }
/** * Set the state of the button depending on the connector value to set. * <p> * {@inheritDoc} */ @Override protected void setConnecteeValue(Object aValue) { if (aValue == null) { getConnectedSComponent().setSelected(false); } else { getConnectedSComponent().setSelected(((Boolean) aValue).booleanValue()); } }
/** * Returns a <code>Boolean</code> object mapping the state of the button. * <p> * {@inheritDoc} */ @Override protected Object getConnecteeValue() { return new Boolean(getConnectedSComponent().isSelected()); }
/** * {@inheritDoc} */ public void actionPerformed(@SuppressWarnings("unused") ActionEvent e) { fireConnectorValueChange(); } });
/** * Set the state of the button depending on the connector value to set. * <p> * {@inheritDoc} */ @Override protected void setConnecteeValue(Object aValue) { if (aValue == null) { getConnectedSComponent().setSelected(false); } else { getConnectedSComponent().setSelected(((Boolean) aValue).booleanValue()); } }
/** * {@inheritDoc} */ @Override protected void bindSComponent() { getConnectedSComponent().addActionListener(new ActionListener() { /** * {@inheritDoc} */ public void actionPerformed(@SuppressWarnings("unused") ActionEvent e) { fireConnectorValueChange(); } }); }
/** * {@inheritDoc} */ @Override protected void bindSComponent() { getConnectedSComponent().addActionListener(new ActionListener() { /** * {@inheritDoc} */ public void actionPerformed(@SuppressWarnings("unused") ActionEvent e) { fireConnectorValueChange(); } }); }