/** * Gets the value out of the connector. * <p> * {@inheritDoc} */ @Override protected Object protectedGetConnecteeValue() { return getConnectedJComponent().getText(); }
/** * Gets the value out of the connector. * <p> * {@inheritDoc} */ @Override protected Object getConnecteeValue() { return getConnectedJComponent().getText(); }
/** * Sets the value to the connector text. * <p> * {@inheritDoc} */ @Override protected void protectedSetConnecteeValue(Object aValue) { if (aValue == null) { getConnectedJComponent().setText(null); } else { getConnectedJComponent().setText(aValue.toString()); } }
/** * Sets the value to the connector text. * <p> * {@inheritDoc} */ @Override protected void protectedSetConnecteeValue(Object aValue) { if (aValue == null) { getConnectedJComponent().setText(null); } else { getConnectedJComponent().setText(aValue.toString()); } }
/** * {@inheritDoc} */ @Override protected void bindJComponent() { getConnectedJComponent().addFocusListener(new FocusAdapter() { /** * {@inheritDoc} */ @Override public void focusLost(FocusEvent e) { if (!e.isTemporary()) { fireConnectorValueChange(); } } }); }
/** * {@inheritDoc} */ @Override protected void bindJComponent() { getConnectedJComponent().addFocusListener(new FocusAdapter() { /** * {@inheritDoc} */ @Override public void focusLost(FocusEvent e) { if (!e.isTemporary()) { fireConnectorValueChange(); } } }); }
/** * {@inheritDoc} */ @Override protected void protectedWritabilityChange() { super.protectedWritabilityChange(); getConnectedJComponent().setEditable(isWritable()); } }
/** * {@inheritDoc} */ @Override protected void protectedUpdateState() { super.protectedUpdateState(); getConnectedJComponent().setEditable(isWritable()); } }