Example usage for java.util Observer interface-usage

List of usage examples for java.util Observer interface-usage

Introduction

In this page you can find the example usage for java.util Observer interface-usage.

Usage

From source file com.fallahpoor.infocenter.fragments.bluetooth.BluetoothFragment.java

/**
 * BluetoothFragment displays some information about the Bluetooth of the
 * device including its status, name, address and so on.
 *
 * @author Masood Fallahpoor
 */

From source file org.sakaiproject.component.common.edu.person.SakaiPersonObserver.java

/**
 * This observer watches for user.del events and removes the profiles associated with the user
 * @author dhorwitz
 *
 */
public class SakaiPersonObserver implements Observer {

From source file it.unibo.torsello.bluetoothpositioning.fragment.DeviceListFragment.java

/**
 * Created by Federico Torsello.
 * federico.torsello@studio.unibo.it
 */
public class DeviceListFragment extends Fragment implements Observer {

From source file org.aerogear.diffsync.android.demo.DiffSyncMainActivity.java

public class DiffSyncMainActivity extends Activity implements Observer {

    private ProgressDialog dialog;
    private SyncClient<JsonNode, JsonPatchEdit> syncClient;
    private String documentId;
    private String clientId;

From source file org.sakaiproject.user.impl.AuthnCacheWatcher.java

/**
 * This observer watches for user.add and user.upd events to invalidate the Authn cache
 * 
 * @author dhorwitz
 *
 */

From source file es.uvigo.ei.sing.adops.datatypes.BatchProjectOutput.java

public class BatchProjectOutput extends Observable implements Observer {
    private final static Logger LOG = Logger.getLogger(BatchProjectOutput.class);

    private static final String STATUS_FILE = "status.txt";

    private final BatchProject project;

From source file it.unibas.spicygui.controllo.datasource.ActionViewInstances.java

public class ActionViewInstances extends CallableSystemAction implements Observer {

    private static Log logger = LogFactory.getLog(ActionViewInstances.class);
    private Modello modello;
    private ComponentAdapter componentAdapter;
    private LastActionBean lastActionBean;

From source file com.hackerati.android.starter_app.sign_in.SignInFragment.java

public class SignInFragment extends RoboFragment implements Observer {

    public static final String TAG = SignInFragment.class.getSimpleName();
    private static final HLog LOG = new HLog(SignInFragment.class);

    @InjectView(R.id.user_name_edit_text)

From source file ca.sfu.federation.model.ParametricModel.java

/**
 * Parametric Model is the top level model object and acts as a container for
 * all other model objects and the view state.
 *
 * @author Davis Marques
 */

From source file de.tuilmenau.ics.graph.RoutableGraph.java

/**
 * Stores graph and allows routing operations.
 */
public class RoutableGraph<NodeObject, LinkObject> extends Observable implements Observer {
    public enum EventType {
        ADDED, REMOVED, UPDATED