noiseMonitor
Class NoiseMeasurementBand

java.lang.Object
  extended by noiseMonitor.NoiseMeasurementBand
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class NoiseMeasurementBand
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
private  boolean canEdit
           
private  boolean canRemove
           
 double f1
           
 double f2
           
 java.lang.String name
           
static long serialVersionUID
           
private  int type
           
static int TYPE_THIRDOCTAVE
           
static int TYPE_USER
           
 
Constructor Summary
NoiseMeasurementBand(int type)
           
NoiseMeasurementBand(int type, java.lang.String name, double f1, double f2)
           
 
Method Summary
private  void autoEnable()
           
protected  NoiseMeasurementBand clone()
           
 java.lang.String getLongName()
           
 int getType()
           
 boolean isCanEdit()
           
 boolean isCanRemove()
           
 void setCanEdit(boolean canEdit)
           
 void setCanRemove(boolean canRemove)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_USER

public static final int TYPE_USER
See Also:
Constant Field Values

TYPE_THIRDOCTAVE

public static final int TYPE_THIRDOCTAVE
See Also:
Constant Field Values

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

f1

public double f1

f2

public double f2

name

public java.lang.String name

canEdit

private boolean canEdit

canRemove

private boolean canRemove

type

private int type
Constructor Detail

NoiseMeasurementBand

public NoiseMeasurementBand(int type,
                            java.lang.String name,
                            double f1,
                            double f2)

NoiseMeasurementBand

public NoiseMeasurementBand(int type)
Method Detail

getType

public int getType()

setType

public void setType(int type)

autoEnable

private void autoEnable()

clone

protected NoiseMeasurementBand clone()
Overrides:
clone in class java.lang.Object

setCanEdit

public void setCanEdit(boolean canEdit)
Parameters:
canEdit - the canEdit to set

isCanEdit

public boolean isCanEdit()
Returns:
the canEdit

setCanRemove

public void setCanRemove(boolean canRemove)
Parameters:
canRemove - the canRemove to set

isCanRemove

public boolean isCanRemove()
Returns:
the canRemove

getLongName

public java.lang.String getLongName()