Class VMDConnectionWidget

All Implemented Interfaces:
Accessible, org.openide.util.Lookup.Provider

public class VMDConnectionWidget extends ConnectionWidget
This class represents a connection widget in the VMD visualization style. Can be combined with any other widget.
  • Constructor Details

    • VMDConnectionWidget

      public VMDConnectionWidget(Scene scene, Router router)
      Creates a connection widget with a specific router.
      Parameters:
      scene - the scene
      router - the router
    • VMDConnectionWidget

      public VMDConnectionWidget(Scene scene, VMDColorScheme scheme)
      Creates a connection widget with a specific color scheme.
      Parameters:
      scene - the scene
      scheme - the color scheme
  • Method Details

    • notifyStateChanged

      public void notifyStateChanged(ObjectState previousState, ObjectState state)
      Implements the widget-state specific look of the widget.
      Overrides:
      notifyStateChanged in class ConnectionWidget
      Parameters:
      previousState - the previous state
      state - the new state