Klasse OurParameterArea

Alle implementierten Schnittstellen:
ImageObserver, MenuContainer, Serializable, Accessible

public class OurParameterArea extends ParameterArea
This class extends visualisation.ParameterArea and provides an example for using it. It includes functionality for managing a graph selection and creation based on user input.
Siehe auch:
  • Felddetails

  • Konstruktordetails

    • OurParameterArea

      public OurParameterArea()
      Standard constructor. Creates SumUpParameterArea with an empty JTextField.
  • Methodendetails

    • getSelectedGraph

      public DirectedGraph<VertexMarking,EdgeMarking> getSelectedGraph()
      Retrieves the selected graph based on the user's choice.
      Gibt zurück:
      The selected graph as a DirectedGraph instance.
    • createGraph

      public DirectedGraph<VertexMarking,EdgeMarking> createGraph(String vertices, String edges)
      Creates a directed graph based on input vertex and edge data.
      Parameter:
      vertices - String representation of vertices in the format "Name-X-Y;..."
      edges - String representation of edges in the format "Source-Target-Weight;..."
      Gibt zurück:
      DirectedGraphUngültige Eingabe: "<"VertexMarking, EdgeMarking> created from the input data.