code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
package fr.upmf.animaths.client.events;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
public class DropEvent extends GwtEvent<DropHandler>{
private static final Type<DropHandler> TYPE = new Type<DropHa... | Java |
package fr.upmf.animaths.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface LoadEquationServiceAsync {
void loadEquation(String id, AsyncCallback<String> callback);
}
| Java |
package fr.upmf.animaths.client;
import java.util.List;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface LoadPathNamesServiceAsync{
void loadPathNames(String path, AsyncCallback<List<String>> callback);
}
| Java |
package fr.upmf.animaths.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.RootPanel;
import fr.upmf.animaths.client.gin.AniMathsGinjector;
import fr.upmf.animaths.client.gin.AppPresente... | Java |
package fr.upmf.animaths.client.interaction;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyUpEvent;
import com.google.gwt.event.dom.client.KeyUpHandler;
import com... | Java |
package fr.upmf.animaths.client.interaction;
import com.google.gwt.user.client.ui.FlowPanel;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOEquation;
import fr.upmf.animaths.client.mvp.MathObject.MOMul... | Java |
package fr.upmf.animaths.client.interaction;
import com.google.gwt.user.client.ui.FlowPanel;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.M... | Java |
package fr.upmf.animaths.client.interaction;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.Label;
import com.google... | Java |
package fr.upmf.animaths.client.interaction;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOEquation;
import fr.upmf.animaths.client.mvp.Math... | Java |
package fr.upmf.animaths.client.interaction;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOSignedElement;
public final class SEs_AC_Commut... | Java |
package fr.upmf.animaths.client.interaction;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOMultiplyContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOMultiplyElement;
public class MEs_MC_Commu... | Java |
package fr.upmf.animaths.client.interaction;
import com.google.gwt.user.client.ui.FlowPanel;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.M... | Java |
package fr.upmf.animaths.client.interaction;
import com.google.gwt.user.client.ui.FlowPanel;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOMultiplyContainer;
import fr.upmf.animaths.client.mvp.MathObj... | Java |
package fr.upmf.animaths.client.interaction;
import com.google.gwt.user.client.ui.FlowPanel;
import fr.upmf.animaths.client.mvp.MOWordingWidget;
import fr.upmf.animaths.client.mvp.MathObject.IMOHasOneChild;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObj... | Java |
package fr.upmf.animaths.client.interaction;
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.presenter.client.EventBus;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.shared.EventHandler;
import c... | Java |
package fr.upmf.animaths.client.interaction;
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.presenter.client.EventBus;
import com.google.gwt.dom.client.Element;
import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.goo... | Java |
package fr.upmf.animaths.client;
import java.io.IOException;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
* The RPC api available to the client. The asynchronous version that is used
* directly by the client is {@link LoadEquationService... | Java |
package fr.upmf.animaths.server;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import fr.upmf.animaths.client.LoadPathNamesService;
/**
* @description server-side load and save current exercice
*/
... | Java |
//package fr.upmf.animaths.server;
//
//import java.io.BufferedReader;
//import java.io.File;
//import java.io.FileNotFoundException;
//import java.io.FileReader;
//import java.io.IOException;
//import java.util.ArrayList;
//import java.util.List;
//
//import com.google.gwt.user.server.rpc.RemoteServiceServlet;
//
//im... | Java |
package fr.upmf.animaths.server;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import com.google.gwt.user.se... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOEquation extends MOElement<MOEquation.Di... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLFrac;
import... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOSignedElement extends MOElement<MOSigned... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public interface IMOHasSign {
public void setSign(MMLOperator sign);
public MMLOperator getSign();
}
| Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOHasValue<T> {
public void setValue(T value);
public T getValue();
}
| Java |
package fr.upmf.animaths.client.mvp.MathObject;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOMultiplyElement extends MOElement<MOMult... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOHasSeveralChildren<T extends MOElement<?>> {
public void add(T child);
public void add(T child, T refChild, boolean after);
public void remove(T child);
}
| Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLIdentifier;
public class MOIdentifierDisplay implements MOIdentifier.Display {
MMLIdentifier element;
public MOIdentifierDisplay() { }
@Override
public void setElement(MMLIdentifier element) {
this.elem... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOEquationDisplay implements MOEquation.Display {
private MMLOperator sign;
public MOEquationDisplay() { }
@Override
public MMLOperator getSign() {
return sign;
}
@Override... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import net.customware.gwt.presenter.client.Display;
public interface MOElementDisplay extends Display {
}
| Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOSignedElementDisplay implements MOSignedElement.Display {
private MMLOperator lFence;
private MMLOperator rFence;
private MMLOperator sign;
public MOSignedElementDisplay() { }
@Ove... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLFrac;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
import fr.upmf.animaths.client.mvp.MathML.MMLRow;
public class MOMultiplyContainerDisplay implements MOMultiplyContainer.Display {
private MMLOperator lFe... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOHasStyleClass {
public static final short STYLE_CLASS_NONE = 0;
public static final short STYLE_CLASS_SELECTABLE = 1;
public static final short STYLE_CLASS_SELECTED = 2;
public static final short STYLE_CLASS_DRAGGED = 3;
public static fi... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOMultiplyElementDisplay implements MOMultiplyElement.Display {
private MMLOperator sign;
public MOMultiplyElementDisplay() {}
@Override
public MMLOperator getSign() {
return sign;
... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOHasType {
public static final short MATH_OBJECT_WRAPPER = 0;
public static final short MATH_OBJECT_EQUATION = 1;
public static final short MATH_OBJECT_NUMBER = 2;
public static final short MATH_OBJECT_IDENTIFIER = 3;
public static final ... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public class MOAddContainerDisplay implements MOAddContainer.Display {
private MMLOperator lFence;
private MMLOperator rFence;
public MOAddContainerDisplay() { }
@Override
public MMLOperator getL... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOHasZones {
public static final short ZONE_CENTER = 0;
public static final short ZONE_NNN = -3;
public static final short ZONE_NN = -2;
public static final short ZONE_N = -1;
public static final short ZONE_S = 1;
public static fin... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOHasOneChild {
public MOElement<?> getChild();
public void setChild(MOElement<?> child);
}
| Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLOperator;
public interface IMOHasFence {
public void setLFence(MMLOperator lFence);
public void setRFence(MMLOperator rFence);
public MMLOperator getLFence();
public MMLOperator getRFence();
}
| Java |
package fr.upmf.animaths.client.mvp.MathObject;
public interface IMOSelection {
public MOElement<?> getMathObjectSelectableElement();
public MOElement<?> getMathObjectFirstSelectableParent();
public MOElement<?> getMathObjectFirstSelectableChild();
public MOElement<?> getMathObjectPreviousSelectableChild... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLIdentifier;
public class MOIdentifier extends MOElement<MOIdent... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import com.google.gwt.dom.client.Element;
import fr.upmf.animaths.client.mvp.MOAbtractPresenter;
import fr.upmf.animaths.client.mvp.MathML.MMLElement;
import fr.upmf.animaths.client.mvp.MathML.MMLNumber;
public class MONumber extends MOElement<MONumber.Displa... | Java |
package fr.upmf.animaths.client.mvp.MathObject;
import fr.upmf.animaths.client.mvp.MathML.MMLNumber;
public class MONumberDisplay implements MONumber.Display {
private MMLNumber element;
public MONumberDisplay() { }
@Override
public void setElement(MMLNumber element) {
this.element = element;
... | Java |
package fr.upmf.animaths.client.mvp;
public class MOStaticPresenter extends MOAbtractPresenter<MOStaticPresenter.Display> {
public interface Display extends MOAbstractDisplay {
}
public MOStaticPresenter() {
super(new MOStaticDisplay());
}
}
| Java |
package fr.upmf.animaths.client.mvp;
import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseDownHandler;
import com.google.gwt.event.dom.client.MouseUpEvent;
import com.google.gwt.event.dom.client.MouseUpHandler;
import com.google.gwt.event.shared.HandlerRegistration;
... | Java |
package fr.upmf.animaths.client.mvp;
//package fr.upmf.animaths.client.mvp.modele;
//
//import fr.upmf.animaths.client.mvp.MathObject.MathObjectAddContainerPresenter;
//import fr.upmf.animaths.client.mvp.MathObject.MathObjectElement;
//import fr.upmf.animaths.client.mvp.MathObject.MathObjectMultiplyContainerPresen... | Java |
package fr.upmf.animaths.client.mvp;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
im... | Java |
package fr.upmf.animaths.client.mvp;
import net.customware.gwt.presenter.client.widget.WidgetDisplay;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.MouseMoveEvent;
import com.google.gwt.event.dom.client.MouseMoveHandler;
import com.google.gwt.event.shared.HandlerRegistration;
i... | Java |
package fr.upmf.animaths.client.mvp;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
im... | Java |
package fr.upmf.animaths.client.mvp;
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.presenter.client.place.Place;
import net.customware.gwt.presenter.client.place.PlaceRequest;
import net.customware.gwt.presenter.client.widget.WidgetPresenter;
import com.google.gwt.dom.client.Elem... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARR... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITH... | Java |
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WAR... | Java |
package fr.upmf.animaths.client.mvp;
import fr.upmf.animaths.client.mvp.MathML.MMLMath;
import net.customware.gwt.presenter.client.widget.WidgetDisplay;
public interface MOAbstractDisplay extends WidgetDisplay {
public MMLMath getWrapper();
public void clearWrapper();
}
| Java |
package fr.upmf.animaths.client.mvp;
import java.util.List;
import net.customware.gwt.presenter.client.EventBus;
import net.customware.gwt.presenter.client.place.Place;
import net.customware.gwt.presenter.client.place.PlaceRequest;
import net.customware.gwt.presenter.client.widget.WidgetDisplay;
import net.cu... | Java |
package fr.upmf.animaths.client.mvp;
import net.customware.gwt.presenter.client.place.Place;
import net.customware.gwt.presenter.client.place.PlaceRequest;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.EventTarget;
import com.google.gwt.event.dom.client.HasMouseDownHandlers;
impor... | Java |
package fr.upmf.animaths.client.mvp;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import fr.upmf.animaths.client.mvp.MathML.MMLMath;
public class MOStaticDisplay extends Composite implements MOStaticPresenter.Display {
protected MMLMath wrapper;
public M... | Java |
package fr.upmf.animaths.client.gin;
import java.util.List;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.SplitLayoutPanel;
import co... | Java |
package fr.upmf.animaths.client.gin;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
@GinModules(AniMathsClientModule.class)
public interface AniMathsGinjector extends Ginjector {
AppPresenter getAppPresenter();
}
| Java |
package fr.upmf.animaths.client.gin;
import net.customware.gwt.presenter.client.DefaultEventBus;
import net.customware.gwt.presenter.client.EventBus;
import net.customware.gwt.presenter.client.gin.AbstractPresenterModule;
import com.google.inject.Singleton;
import fr.upmf.animaths.client.mvp.AniMathsDisplay;... | Java |
package fr.upmf.animaths.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiTemplate;
i... | Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.shared.GwtEvent;
public class GrabEvent extends GwtEvent<GrabHandler>{
private static final Type<GrabHandler> TYPE = new Type<GrabHandler>();
private short styleCla... | Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
public class DragEvent extends GwtEvent<DragHandler>{
private static final Type<DragHandler> TYPE = new... | Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.EventHandler;
public interface SelectionHandler extends EventHandler {
void onSelect( SelectionEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.GwtEvent;
public class SelectionChangeEvent extends GwtEvent<SelectionChangeHandler>{
private static final Type<SelectionChangeHandler> TYPE = new Type<SelectionChangeHandler>();
public static final int CHANGE_TO_... | Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.EventHandler;
public interface GrabHandler extends EventHandler {
void onGrab( GrabEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
public class SelectionEvent extends GwtEvent<SelectionHandler>{
private static final Type<SelectionHandler> TYPE = new Type<SelectionHandler>();
... | Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
public class FlyOverEvent extends GwtEvent<FlyOverHandler>{
private static final Type<FlyOverHandler> TYPE = new Type<FlyOverHandler>();
privat... | Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.EventHandler;
public interface DropHandler extends EventHandler {
void onDrop( DropEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.EventHandler;
public interface SelectionChangeHandler extends EventHandler {
void onSelectionChange( SelectionChangeEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.EventHandler;
public interface DragHandler extends EventHandler {
void onDrag( DragEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.event.shared.EventHandler;
public interface FlyOverHandler extends EventHandler {
void onFlyOver( FlyOverEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.events;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
public class DropEvent extends GwtEvent<DropHandler>{
private static final Type<DropHandler> TYPE = new... | Java |
package fr.upmf.animaths.client.interaction.process;
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.presenter.client.EventBus;
import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.GwtEvent.Type;... | Java |
package fr.upmf.animaths.client.interaction.process.core;
import fr.upmf.animaths.client.interaction.process.MOAbstractProcess;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOMultiplyElement;
import fr.upmf.animaths.client.mvp.MathObject.MOSignedElement;
... | Java |
package fr.upmf.animaths.client.interaction.process.core;
import fr.upmf.animaths.client.interaction.process.MOAbstractProcess;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOEquation;
import f... | Java |
//package fr.upmf.animaths.client.interaction.process.core;
//
//import java.util.List;
//
//import fr.upmf.animaths.client.interaction.process.event.DragSelectedEvent;
//import fr.upmf.animaths.client.interaction.process.event.DropSelectedEvent;
//
//public final class Xs_E_ChangeCopied extends MOProcess{
//
... | Java |
package fr.upmf.animaths.client.interaction.process.core;
import fr.upmf.animaths.client.interaction.process.MOAbstractProcess;
import fr.upmf.animaths.client.mvp.MathObject.MOAddContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOSignedElement;
p... | Java |
package fr.upmf.animaths.client.interaction.process.core;
import fr.upmf.animaths.client.interaction.process.MOAbstractProcess;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
import fr.upmf.animaths.client.mvp.MathObject.MOMultiplyContainer;
import fr.upmf.animaths.client.mvp.MathObject.MOMultiplyElemen... | Java |
package fr.upmf.animaths.client.interaction.process.event;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.interaction.MOCoreInteraction;
public class GrabSelectedEvent extends GwtEvent<GrabSelectedHandler> {
private static final Type<GrabSelectedHandler> TYPE = new Type<GrabSel... | Java |
package fr.upmf.animaths.client.interaction.process.event;
import com.google.gwt.event.shared.EventHandler;
public interface DropSelectedHandler extends EventHandler {
void onDropSelected( DropSelectedEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.process.event;
import com.google.gwt.event.shared.GwtEvent;
import fr.upmf.animaths.client.mvp.MathObject.MOElement;
public class DragSelectedEvent extends GwtEvent<DragSelectedHandler>{
private static final Type<DragSelectedHandler> TYPE = new Type<DragSelect... | Java |
package fr.upmf.animaths.client.interaction.process.event;
import com.google.gwt.event.shared.EventHandler;
public interface GrabSelectedHandler extends EventHandler {
void onGrabSelected( GrabSelectedEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction.process.event;
import com.google.gwt.event.shared.GwtEvent;
public class DropSelectedEvent extends GwtEvent<DropSelectedHandler>{
private static final Type<DropSelectedHandler> TYPE = new Type<DropSelectedHandler>();
public static Type<DropSelectedHandler>... | Java |
package fr.upmf.animaths.client.interaction.process.event;
import com.google.gwt.event.shared.EventHandler;
public interface DragSelectedHandler extends EventHandler {
void onDragSelected( DragSelectedEvent event );
}
| Java |
package fr.upmf.animaths.client.interaction;
import java.util.HashMap;
import java.util.Map;
import net.customware.gwt.presenter.client.EventBus;
import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.GwtEvent.Type;
import... | Java |
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
class employee implements Comparable<employee>{
Integer id;
String address;
Character gender;
employee(Integer id,String add,char gen){
this.id=id;
this.address=add;
this.gender=gen;
}
public Integer getid()
... | Java |
class test1{
public static void main(String[] args){
char[] str={'g','o','d'};
char[] rev = calculator.revChar(str);
calculator.printCharArray(rev);
System.out.println("even numbers\n");
//even num
calculator.printIntArray(calculator.even(0,10));
//odd num
System.out.println("odd numbers\n");
calculato... | Java |
import java.util.*;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
public class SendEmail implements Runnable ... | Java |
import java.util.*;
class calculator{
public static char[] revChar(char[] chArray){
char[] res = new char[chArray.length];
int last = chArray.length-1;
for(int i=0; i<chArray.length; i++){
res[last] = chArray[i];
last--;
}
return res;
}
public static int[] revInt(int[] chArray){
int[] res = new ... | Java |
import java.util.*;
public class benchmarkDemo {
public static void main(String args[]) {
//array list
long start=System.currentTimeMillis();
List<String> arr = new ArrayList<String>();
for(int i=0;i<100000;++i){
arr.add(Integer.toString(i));
}
arr.add(90... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.