List of usage examples for com.vaadin.client.communication StateChangeEvent StateChangeEvent
public StateChangeEvent(ServerConnector connector, JsonObject stateJson, boolean initialStateChange)
From source file:org.vaadin.alump.offlinebuilder.client.conn.OButtonConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (OButtonState) state; // TODO: replace with offline handler checks if (offlineState.disableInOfflineMode) { offlineState.enabled = false;/* ww w . ja v a2 s .com*/ } fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OCheckBoxConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (OCheckBoxState) state; fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OCssLayoutConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (CssLayoutState) state; fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OFormLayoutConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (AbstractOrderedLayoutState) state; fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OHorizontalLayoutConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (HorizontalLayoutState) state; fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OImageConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (ImageState) state;//from ww w. j a va 2 s . com fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OLabelConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (LabelState) state;/*from ww w . j a va 2s. c om*/ fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OLinkConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (OLinkState) state;//from w w w . j a v a2 s. c om fireEvent(new StateChangeEvent(this, jsonState, true)); }
From source file:org.vaadin.alump.offlinebuilder.client.conn.OVerticalLayoutConnector.java
License:Open Source License
@Override public void onOfflineState(SharedState state, JSONObject jsonState) { offlineState = (VerticalLayoutState) state; StateChangeEvent event = new StateChangeEvent(this, jsonState, true); fireEvent(event);/*from ww w . j av a 2 s.c o m*/ }