Coverage Report - com.sun.javafx.runtime.location.SimpleIntVariable
 
Classes in this File Line Coverage Branch Coverage Complexity
SimpleIntVariable
0%
0/18
0%
0/4
0
 
 1  
 package com.sun.javafx.runtime.location;
 2  
 
 3  
 /**
 4  
  * SimpleIntVariable
 5  
  *
 6  
  * @author Brian Goetz
 7  
  */
 8  0
 public class SimpleIntVariable extends AbstractSimpleVariable implements IntLocation {
 9  
     private int value;
 10  
 
 11  0
     public SimpleIntVariable(int value) {
 12  0
         this.value = value;
 13  0
     }
 14  
 
 15  
     public int getAsInt() {
 16  0
         return value;
 17  
     }
 18  
 
 19  
     public int setAsInt(int value) {
 20  0
         int oldValue = this.value;
 21  0
         this.value = value;
 22  0
         if (dependencies != null && oldValue != value)
 23  0
             notifyDependencies();
 24  0
         return value;
 25  
     }
 26  
 
 27  
     public void setDefault() {
 28  0
         setAsInt(0);
 29  0
     }
 30  
 
 31  
     public Integer get() {
 32  0
         return getAsInt();
 33  
     }
 34  
 
 35  
     public Integer set(Integer value) {
 36  0
         return setAsInt(value);
 37  
     }
 38  
 
 39  
     public void addChangeListener(IntChangeListener listener) {
 40  0
         throw new UnsupportedOperationException();
 41  
     }
 42  
 
 43  
     public int setAsIntFromLiteral(int value) {
 44  0
         throw new UnsupportedOperationException();
 45  
     }
 46  
 
 47  
     public Integer setFromLiteral(Integer value) {
 48  0
         throw new UnsupportedOperationException();
 49  
     }
 50  
 
 51  
     public void addChangeListener(ObjectChangeListener<Integer> listener) {
 52  0
         throw new UnsupportedOperationException();
 53  
     }
 54  
 }