Package rma.util
Class Clipping
java.lang.Object
rma.util.Clipping
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
getColor()
boolean
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.double
getValue()
void
void
setEnabled
(boolean tf) boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.void
setValue
(double d)
-
Field Details
-
_enabled
protected boolean _enabled -
_clipColor
-
_val
protected double _val
-
-
Constructor Details
-
Clipping
public Clipping()
-
-
Method Details
-
clone
-
getColor
-
setColor
-
getValue
public double getValue() -
setValue
public void setValue(double d) -
getEnabled
public boolean getEnabled() -
setEnabled
public void setEnabled(boolean tf) -
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in interfaceFieldAccessor
- Parameters:
fld
- The java field object representing the member field to be setfobj
- The data to set in that field- Returns:
- returns true if successful
-