mirror of
https://github.com/processing/processing4.git
synced 2026-02-23 23:35:41 +01:00
changing package for this feller
This commit is contained in:
36
pdex/src/processing/mode/experimental/ErrorMarker.java
Executable file
36
pdex/src/processing/mode/experimental/ErrorMarker.java
Executable file
@@ -0,0 +1,36 @@
|
||||
package processing.mode.experimental;
|
||||
/**
|
||||
* Error markers displayed on the Error Bar.
|
||||
*
|
||||
* @author Manindra Moharana <me@mkmoharana.com>
|
||||
*
|
||||
*/
|
||||
public class ErrorMarker {
|
||||
/**
|
||||
* y co-ordinate of the marker
|
||||
*/
|
||||
public int y;
|
||||
/**
|
||||
* Type of marker: Error or Warning?
|
||||
*/
|
||||
public int type = -1;
|
||||
/**
|
||||
* Error Type constant
|
||||
*/
|
||||
public static final int Error = 1;
|
||||
/**
|
||||
* Warning Type constant
|
||||
*/
|
||||
public static final int Warning = 2;
|
||||
/**
|
||||
* Problem that the error marker represents
|
||||
* @see Problem
|
||||
*/
|
||||
public Problem problem;
|
||||
|
||||
public ErrorMarker(Problem problem, int y, int type) {
|
||||
this.problem = problem;
|
||||
this.y = y;
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user