cz.zcu.fav.kiv.jsim.gui
Interface JSimDisplayable

All Known Implementing Classes:
JSimHead, JSimProcess, JSimSemaphore

public interface JSimDisplayable

An object that implements the JSimDisplayable interface can be displayed in a component of the main GUI window.

Since:
J-Sim version 0.2.0
Version:
J-Sim version 0.3.0
Author:
Pavel DOMECKÝ

Method Summary
 javax.swing.JDialog createDetailedInfoWindow(JSimMainWindow parentWindow)
          Creates a detailed info window that shows information about an object.
 java.util.Collection getDetailedInformationArray()
          Returns a collection of object's characteristics.
 java.lang.String getObjectListItemDescription()
          Returns a string containing basic informations about an object.
 

Method Detail

getObjectListItemDescription

public java.lang.String getObjectListItemDescription()
Returns a string containing basic informations about an object. The string will be displayed in a JSimMainWindowList component.

Returns:
A string containing basic informations about an object.

getDetailedInformationArray

public java.util.Collection getDetailedInformationArray()
Returns a collection of object's characteristics. Always return a collection of JSimPair objects. The collection will be displayed in a JSimDetailedInfoWindow table.

Returns:
A collection of object's characteristics

createDetailedInfoWindow

public javax.swing.JDialog createDetailedInfoWindow(JSimMainWindow parentWindow)
Creates a detailed info window that shows information about an object. Returns a reference to the created window.

Returns:
A reference to the created info window.


Copyright © 2000-2004 University of West Bohemia, FAV-KIV. All Rights Reserved. Build date 20040510.