public class VirtualText extends VirtualScalar
Constructor and Description |
---|
VirtualText(ScalarType type,
ucar.netcdf.Variable var)
Constructs from a scalar type and a 2-D char netCDF variable
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones this instance.
|
protected Scalar |
getScalar(Context context)
Gets the Scalar object corresponding to this virtual, data
object.
|
getData, getDataFactory, getDoubles, getRangeSet, getScalarType, getType, getUnit, getVariable, getVetter, isReal, setDataFactory
getData, toString
public VirtualText(ScalarType type, ucar.netcdf.Variable var)
type
- The type of the nested scalar.var
- The 1-D netCDF variable.protected Scalar getScalar(Context context) throws VisADException, InvalidContextException, IOException
getScalar
in class VirtualScalar
InvalidContextException
- if the indicial context is invalid.VisADException
- Couldn't create necessary VisAD object.RemoteException
- if a Java RMI failure occurs.IOException
- I/O failure.public Object clone()
clone
in class VirtualData
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.