public static class TraceModel.Element extends Object
| Modifier and Type | Field and Description | 
|---|---|
| int | closureThe closure status | 
| int | intValueThe integer value | 
| static int | OPEN_ENDSay that the element is open at the end | 
| static int | OPEN_STARTSay that the element is open at the start | 
| double | startTimeThe start time | 
| double | stopTimeThe end time | 
| Object | userObjectThe object value | 
| Constructor and Description | 
|---|
| Element()Create a new element with no values set. | 
| Element(double startTime,
       double stopTime,
       int value)Create a new element with the given start time, stop time,
 and integer value. | 
| Element(double startTime,
       double stopTime,
       int value,
       Object o)Create a new element with the given start time, stop time,
 integer value, and user object. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getID()Get the id of the element. | 
| TraceModel.Trace | getTrace()Get the trace that owns this element. | 
| String | toString()Print a string representation | 
public static final int OPEN_START
public static final int OPEN_END
public int closure
public double startTime
public double stopTime
public int intValue
public Object userObject
public Element()
public Element(double startTime,
               double stopTime,
               int value)
public Element(double startTime,
               double stopTime,
               int value,
               Object o)
public int getID()
public TraceModel.Trace getTrace()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.