Class ParametrizedEditorListener<T,​V,​K>

  • All Implemented Interfaces:
    EditorListener<V>

    public abstract class ParametrizedEditorListener<T,​V,​K>
    extends java.lang.Object
    implements EditorListener<V>
    • Constructor Detail

      • ParametrizedEditorListener

        public ParametrizedEditorListener​(EditorListener editorListener,
                                          T lastLocale,
                                          V lastValue)
    • Method Detail

      • getLastParameter

        public T getLastParameter()
      • getLastValue

        public V getLastValue()
      • onParameterChanged

        public void onParameterChanged​(T parameter)
      • onValueChanged

        public void onValueChanged​(V locValue)
        Description copied from interface: EditorListener
        Called when an editor's value has changed.
        Specified by:
        onValueChanged in interface EditorListener<T>
        Parameters:
        locValue - the new value
      • wrapDataBeforeNotification

        public abstract K wrapDataBeforeNotification()
      • onEditorEvent

        public void onEditorEvent​(java.lang.String eventCode)
        Description copied from interface: EditorListener
        Called when an editor event occurred (like enter pressed, escape pressed, focus lost etc.)
        Specified by:
        onEditorEvent in interface EditorListener<T>
        Parameters:
        eventCode - the unique event code
      • sendSocketOutput

        public void sendSocketOutput​(java.lang.String outputId,
                                     java.lang.Object data)
        Description copied from interface: EditorListener
        Called to request the listener to send the given data to the output socket (with the given id) of the containing widget.
        Specified by:
        sendSocketOutput in interface EditorListener<T>
        Parameters:
        outputId - the socket output ID to send the data to
        data - the data to send