com.vaadin.shared.ui.datefield.
Interface AbstractDateFieldServerRpc
-
All Superinterfaces:
public interface AbstractDateFieldServerRpc extends ServerRpc
RPC interface for calls from client to server.
Since:
8.2
-
-
Method Summary
All Methods Modifier and Type Method Description void
blur()
Indicates to the server that the client-side has lost focus.
void
focus()
Indicates to the server that the client-side has acquired focus.
void
update(String newDateString, Map<String,Integer> resolutions)
Updates the typed data string and resolution names and values.
void
updateValueWithDelay(String newDateString, Map<String,Integer> resolutions)
Updates the typed data string and resolution names and values with delayed rpc.
-
-
-
Method Detail
-
update
void update(String newDateString, Map<String,Integer> resolutions)
Updates the typed data string and resolution names and values.
Parameters:
newDateString
- the value of the text field part. It enables analyzing invalid input on the server.null
if the date was chosen with popup calendar or contains user-typed stringresolutions
- map of time unit (resolution) name and value, the key is the resolution name e.g. "HOUR", "MINUTE", the value can benull
. If the map is empty, that means thenewDateString
is invalid
-
updateValueWithDelay
@Delayed(lastOnly=true) void updateValueWithDelay(String newDateString, Map<String,Integer> resolutions)
Updates the typed data string and resolution names and values with delayed rpc. The rpc will be sent by triggering another non
Delayed
annotated rpc.Parameters:
newDateString
- the value of the text field part. It enables analyzing invalid input on the server.null
if the date was chosen with popup calendar or contains user-typed stringresolutions
- map of time unit (resolution) name and value, the key is the resolution name e.g. "HOUR", "MINUTE", the value can benull
. If the map is empty, that means thenewDateString
is invalidSince:
8.9
-
blur
void blur()
Indicates to the server that the client-side has lost focus.
-
focus
void focus()
Indicates to the server that the client-side has acquired focus.
-
-