Class BinaryOptionPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class BinaryOptionPanel extends JPanel
The BinaryOptionPanel class allows the user to choose from a set of data export binary options.
Since:
3.1.7
Author:
Peter Hollemans
See Also:
  • Field Details

    • TYPE_UBYTE

      public static final int TYPE_UBYTE
      The data type for 8-bit unsigned integers.
      See Also:
    • TYPE_SHORT

      public static final int TYPE_SHORT
      The data type for 16-bit signed integers.
      See Also:
    • TYPE_FLOAT

      public static final int TYPE_FLOAT
      The data type for 32-bit floating-point.
      See Also:
    • ORDER_HOST

      public static final int ORDER_HOST
      The byte order for host.
      See Also:
    • ORDER_MSB

      public static final int ORDER_MSB
      The byte order for most-significant-byte first.
      See Also:
    • ORDER_LSB

      public static final int ORDER_LSB
      The byte order for least-significant-byte first.
      See Also:
    • SCALING_RANGE

      public static final int SCALING_RANGE
      The scaling type for min/max range.
      See Also:
    • SCALING_FACTOR

      public static final int SCALING_FACTOR
      The scaling type for factor/offset.
      See Also:
  • Constructor Details

    • BinaryOptionPanel

      public BinaryOptionPanel()
      Creates a new binary option panel.
  • Method Details

    • getScaling

      public void getScaling(double[] scaling)
      Gets the scaling factor and offset.
      Parameters:
      scaling - the scaling factor and offset as [factor, offset] (modified).
    • getMissing

      public double getMissing()
      Gets the missing value.
    • getRange

      public void getRange(double[] range)
      Gets the range.
      Parameters:
      range - the range as [min,max] (modified).
    • getHeader

      public boolean getHeader()
      Gets the dimension header flag.
    • getDataType

      public int getDataType()
      Gets the data type.
    • getByteOrder

      public int getByteOrder()
      Gets the byte order.
    • getScalingType

      public int getScalingType()
      Gets the scaling type.
    • main

      public static void main(String[] argv)
      Tests this class.
      Parameters:
      argv - the array of command line parameters.