Package OurApplication
Klasse OurLogElement
java.lang.Object
logging.LogElement
OurApplication.OurLogElement
This class extends logging.LogElement to provide additional functionality
for logging various elements related to graph visualization.
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected Edge
protected Graph
protected long
The sum up value associated with this log element.protected Vertex
Von Klasse geerbte Felder logging.LogElement
description, step
-
Konstruktorübersicht
KonstruktorBeschreibungStandard constructor.OurLogElement
(int step, String description, long value, Edge edge) Extended constructor.OurLogElement
(int step, String description, long value, Graph ourGraph) Extended constructor.OurLogElement
(int step, String description, long value, Vertex vertex) Extended constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetEdge()
Retrieves the edge associated with this log element.getGraph()
Retrieves the graph associated with this log element.long
getValue()
Retrieves the sum up value associated with this log element.Retrieves the vertex associated with this log element.Von Klasse geerbte Methoden logging.LogElement
getDescription, getStep, setDescription, setStep
-
Felddetails
-
value
protected long valueThe sum up value associated with this log element. -
vertex
-
edge
-
ourGraph
-
-
Konstruktordetails
-
OurLogElement
public OurLogElement()Standard constructor. Initializes the log element with default values. -
OurLogElement
Extended constructor. Initializes the log element with specified step number, description, sum up value, and vertex.- Parameter:
step
- the step number of the log elementdescription
- the description of the log elementvalue
- the sum up value associated with the log elementvertex
- the vertex associated with the log element
-
OurLogElement
Extended constructor. Initializes the log element with specified step number, description, sum up value, and edge.- Parameter:
step
- the step number of the log elementdescription
- the description of the log elementvalue
- the sum up value associated with the log elementedge
- the edge associated with the log element
-
OurLogElement
Extended constructor. Initializes the log element with specified step number, description, sum up value, and graph.- Parameter:
step
- the step number of the log elementdescription
- the description of the log elementvalue
- the sum up value associated with the log elementourGraph
- the graph associated with the log element
-
-
Methodendetails
-
getValue
public long getValue()Retrieves the sum up value associated with this log element.- Gibt zurück:
- the sum up value of the log element
-
getEdge
Retrieves the edge associated with this log element.- Gibt zurück:
- the edge associated with the log element
-
getVertex
Retrieves the vertex associated with this log element.- Gibt zurück:
- the vertex associated with the log element
-
getGraph
Retrieves the graph associated with this log element.- Gibt zurück:
- the graph associated with the log element
-