SCViewer/plugins/com.minres.scviewer.database/src/com/minres/scviewer/database/IWaveform.java

82 lines
1.6 KiB
Java
Raw Normal View History

/*******************************************************************************
2021-01-09 14:26:49 +01:00
* Copyright (c) 2015-2021 MINRES Technologies GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* MINRES Technologies GmbH - initial API and implementation
*******************************************************************************/
2015-01-06 17:14:16 +01:00
package com.minres.scviewer.database;
2015-01-20 18:50:15 +01:00
2021-01-14 23:55:47 +01:00
// TODO: Auto-generated Javadoc
/**
* The Interface IWaveform.
*
* @author eyck
*/
public interface IWaveform extends IHierNode {
2015-01-06 17:14:16 +01:00
/**
* Gets the id.
*
* @return the id
*/
2021-02-27 14:59:00 +01:00
public long getId();
2015-01-06 17:14:16 +01:00
/**
* Checks if is same.
*
* @param other the other
* @return true, if is same
*/
public boolean isSame(IWaveform other);
2015-01-06 17:14:16 +01:00
/**
* Gets the events.
*
* @return the events
*/
2021-02-27 13:26:07 +01:00
public IEventList getEvents();
2020-11-28 10:22:22 +01:00
/**
* Gets the events at time.
*
* @param time the time
* @return the events at time
*/
2021-02-27 14:59:00 +01:00
public IEvent[] getEventsAtTime(long time);
2020-11-28 10:22:22 +01:00
/**
* Gets the events before time.
*
* @param time the time
* @return the events before time
*/
2021-02-27 14:59:00 +01:00
public IEvent[] getEventsBeforeTime(long time);
/**
* Gets the type.
*
* @return the type
*/
2020-11-28 14:08:34 +01:00
public WaveformType getType();
/**
* Gets the kind.
*
* @return the kind
*/
2021-01-09 10:34:22 +01:00
public String getKind();
/**
* Gets the width.
*
* @return the width
*/
2021-01-14 23:13:11 +01:00
public int getRowCount();
2015-01-06 17:14:16 +01:00
}