java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JSpinner

public class JSpinnerextends Component
Emulation of javax.swing.JSpinner for the NDT (Network Diagnostic Tool) plugin.

This class provides a minimal stub implementation of a spinner component to allow the NDT tool to run in headless environments. The spinner maintains a number model and can return values but provides no actual UI functionality.

All operations except value retrieval are no-ops, maintaining API compatibility without requiring an actual graphical display system.

  • Field Details

  • Constructor Details

    • JSpinner

      public JSpinner()
      Constructor. A bare instance holds a number model with no bounds and no UI, which is what the headless NDT tool relies on.
  • Method Details

    • getValue

      public int getValue()
      Get the spinner value.
      Returns:
      the current value
    • setModel

      public void setModel(SpinnerNumberModel _model)
      Set the spinner model.
      Parameters:
      _model - the spinner number model