Skip to content
Snippets Groups Projects
Commit d377d3db authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

removed deprecated methods and constants

parent 41809111
No related branches found
No related tags found
No related merge requests found
......@@ -245,35 +245,6 @@ public interface IChartViewer extends IDataArrayTarget, IMultiFormatableTarget,
/** Drag can occur only on both X and Y */
public static final int DRAG_XY = 2;
/**
* Curves offset through user drag disabled.
*
* @deprecated Use {@link #DRAG_NONE} instead.
*/
@Deprecated
public static final int DRAG_OFFSET_NONE = DRAG_NONE;
/**
* Curves can receive x offset through user drag.
*
* @deprecated Use {@link #DRAG_OFFSET_X} instead.
*/
@Deprecated
public static final int DRAG_OFFSET_X = DRAG_X;
/**
* Curves can receive y offset through user drag.
*
* @deprecated Use {@link #DRAG_Y} instead.
*/
@Deprecated
public static final int DRAG_OFFSET_Y = DRAG_Y;
/**
* Curves can receive both x and y offsets through user drag.
*
* @deprecated Use {@link #DRAG_XY} instead.
*/
@Deprecated
public static final int DRAG_OFFSET_XY = DRAG_XY;
/**
* Default amount of pixels before considering a scale drag occurred.
*/
......
......@@ -104,7 +104,6 @@ public interface IPlayer extends ISnapshotableComponent {
*
* @return An {@link ISlider}
*/
@Deprecated
public ISlider getSlider();
/**
......
......@@ -244,24 +244,6 @@ public class ChartProperties implements Cloneable, Serializable {
this.legendPlacement = legendPlacement;
}
/**
* @return Returns the legendsPlacement.
* @deprecated Use {@link #getLegendPlacement()} instead.
*/
@Deprecated
public int getLegendsPlacement() {
return getLegendPlacement();
}
/**
* @param legendsPlacement The legendsPlacement to set.
* @deprecated use {@link #setLegendPlacement(int)} instead.
*/
@Deprecated
public void setLegendsPlacement(int legendsPlacement) {
setLegendPlacement(legendsPlacement);
}
/**
* Returns the proportion of the legend in the chart, i.e. the amount of space in width or height <i>(depending on
* {@link #getLegendPlacement()})</i> accorded to the legend.
......
......@@ -41,27 +41,6 @@ public class DragPropertiesXmlManager extends PropertiesXmlManager {
public static final String DRAG_Y = "y";
public static final String DRAG_XY = "xy";
/**
* @deprecated USe {@link #DRAG_NONE} instead.
*/
@Deprecated
public static final String DRAG_OFFSET_NONE = DRAG_NONE;
/**
* @deprecated USe {@link #DRAG_X} instead.
*/
@Deprecated
public static final String DRAG_OFFSET_X = DRAG_X;
/**
* @deprecated USe {@link #DRAG_Y} instead.
*/
@Deprecated
public static final String DRAG_OFFSET_Y = DRAG_Y;
/**
* @deprecated USe {@link #DRAG_XY} instead.
*/
@Deprecated
public static final String DRAG_OFFSET_XY = DRAG_XY;
protected static String dragTypeToString(int type) {
String result;
switch (type) {
......
......@@ -23,18 +23,6 @@ import fr.soleil.comete.definition.widget.IImageViewer;
*/
public class WidgetUtils {
/**
* Returns whether an {@link IImageViewer} is in monochrome mode
*
* @param viewer The {@link IImageViewer}
* @return A <code>boolean</code> value
* @deprecated Use {@link #isMonochrome(IImageViewer)} instead
*/
@Deprecated
public static boolean isMonochrom(IImageViewer viewer) {
return isMonochrome(viewer);
}
/**
* Returns whether an {@link IImageViewer} is in monochrome mode
*
......@@ -74,18 +62,6 @@ public class WidgetUtils {
return monochrome;
}
/**
* Sets an {@link IImageViewer} in monochrome or rainbow colors mode
*
* @param imageViewer The concerned {@link IImageViewer}
* @param monochrom Whether to use monochrome mode
* @deprecated use {@link #setMonochrome(IImageViewer, boolean)} instead
*/
@Deprecated
public static void setMonochrom(IImageViewer imageViewer, boolean monochrom) {
setMonochrome(imageViewer, monochrom);
}
/**
* Sets an {@link IImageViewer} in monochrome or rainbow colors mode
*
......@@ -100,19 +76,6 @@ public class WidgetUtils {
}
}
/**
* Sets an {@link IImageViewer} in monochrome mode
*
* @param imageViewer The concerned {@link IImageViewer}
* @deprecated use {@link #setMonochrome(IImageViewer)} instead
*/
@Deprecated
public static void setMonochrom(IImageViewer imageViewer) {
if (imageViewer != null) {
imageViewer.setGradient(new Gradient());
}
}
/**
* Sets an {@link IImageViewer} in monochrome mode
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment