com.sdm.quasar.client.showcase.swing.embedding.modal
Interface ValueService

All Superinterfaces:
Service

public interface ValueService
extends Service

Service offered by the ModalDialog that allows the controlling dialog to access the user input and the committed state.

Version:
1.0
Author:
Thomas Wolf, sd&m AG, Martin Haft, sd&m AG, Bernd Olleck, sd&m AG

Method Summary
 java.lang.String getValue()
           
 boolean isCommitted()
           
 void setValue(java.lang.String value)
          Sets the current input value
 

Method Detail

getValue

public java.lang.String getValue()
Returns:
the value input by the user

setValue

public void setValue(java.lang.String value)
Sets the current input value

Parameters:
value - the new value

isCommitted

public boolean isCommitted()
Returns:
true if the user pressed the commit button