Package rma.services.units
Interface UnitsComponent
- All Known Implementing Classes:
AccessTable,AxisLabel,ColorContourJPanel,ColorTable,G2dBarPlot,G2dPanel,HecDataTable,HotPlotPanel,JLayerSelectorTreePanel,RmaJCheckBox,RmaJDecimalField,RmaJIntegerField,RmaJLabel,RmaJLongField,RmaJRadioButton,RmaJTable
public interface UnitsComponent
This is an interface for GUI components that use a units system to measure its data.
- Since:
- December 6, 2000
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayUnitsString(int unitSystem) This method allows the retrieves the units string for a given units systemvoidsetDisplayScaleFactor(int paramId, double scaleFactor) Sets a scaling factor to use when displaying the data.voidsetDisplayUnitsSystem(int unitSystem) Sets the current Unit System for this object
-
Method Details
-
getDisplayUnitsString
This method allows the retrieves the units string for a given units system- See Also:
-
setDisplayUnitsSystem
void setDisplayUnitsSystem(int unitSystem) Sets the current Unit System for this object -
setDisplayScaleFactor
void setDisplayScaleFactor(int paramId, double scaleFactor) Sets a scaling factor to use when displaying the data.- Parameters:
paramId- This is the identifier of the paramater to scale. If the data is not of this type then it is ignoredscaleFactor- This is the scaling factor *to* be multiplied to the value when it is rendered
-