예제 #1
0
 public void setActualDepth(int actualDepth) {
   if (!safeEquals(myActualDepth, actualDepth)) {
     myActualDepth = actualDepth;
     myListener.actualDepthChanged();
     myThresholdHelper.depthOnThresholdMayBeChanged();
   }
 }
예제 #2
0
 public void setDepthThreshold(int depthThreshold) {
   if (!safeEquals(myDepthThreshold, depthThreshold)) {
     myDepthThreshold = depthThreshold;
     // no such method in listener -- see also below
     myThresholdHelper.depthOnThresholdMayBeChanged();
   }
 }
예제 #3
0
 public void setIgnoreDemandedDepth(boolean ignore) {
   if (myIgnoreDemandedDepth != ignore) {
     myIgnoreDemandedDepth = ignore;
     myListener.demandedDepthChanged();
     myThresholdHelper.depthOnThresholdMayBeChanged();
   }
 }
예제 #4
0
 public void setDemandedDepth(int demandedDepth) {
   if (!safeEquals(myDemandedDepth, demandedDepth)) {
     myDemandedDepth = demandedDepth;
     myListener.demandedDepthChanged();
     myThresholdHelper.depthOnThresholdMayBeChanged();
   }
 }