public class DataViewFrame extends Object implements PrintFrame
DataViewPanel
Modifier and Type | Class and Description |
---|---|
private class |
DataViewFrame.DataViewReceiver
Die Klasse verarbeitet die Daten, die vom Datenverteiler gesandt werden.
|
Modifier and Type | Field and Description |
---|---|
private Aspect |
_aspect |
private AttributeGroup |
_attributeGroup |
private ClientDavInterface |
_connection |
private DataDescription |
_dataDescription |
private DataViewModel |
_dataViewModel |
private DataViewPanel |
_dataViewPanel |
private Debug |
_debug |
private UnsubscribingJFrame |
_frame |
private List<SystemObject> |
_objects |
private ReceiveOptions |
_receiveOptions |
private ReceiverRole |
_receiverRole |
static int |
ADD_ABOVE
fügt einen neuen Datensatz oben vor die Dargestellten ein
|
static int |
ADD_BELOW
hängt einen neuen Datensatz unten an die Dargestellten an
|
static int |
ONLY_LATEST
stellt nur den neuesten Datensatz dar
|
Constructor and Description |
---|
DataViewFrame(ClientDavInterface connection,
AttributeGroup attributeGroup,
Aspect aspect,
int simulationVariant)
Ein Konstruktor, der nur das allernötigste liefert; er ist private, weil er nur in initPrintFrame zur Anwendung kommt.
|
DataViewFrame(ClientDavInterface connection,
List<SystemObject> objects,
AttributeGroup attributeGroup,
Aspect aspect,
int simulationVariant)
Konstruktor, der anhand der Datenidentifikation sich beim Datenverteiler anmeldet und die Daten in Tabellenform darstellt.
|
DataViewFrame(ClientDavInterface connection,
SystemObject[] objects,
AttributeGroup attributeGroup,
Aspect aspect,
int simulationVariant)
Konstruktor, der anhand der Datenidentifikation sich beim Datenverteiler anmeldet und die Daten in Tabellenform darstellt.
|
Modifier and Type | Method and Description |
---|---|
DataViewPanel |
getDataViewPanel()
Gibt das DataViewPanel zurück.
|
UnsubscribingJFrame |
getFrame()
Gibt das UnsubscribingJFrame-Objekt zurück.
|
void |
setReceiveOptions(ReceiveOptions receiveOptions)
Setzt die Empfängeroptionen.
|
void |
setReceiverRole(ReceiverRole receiverRole)
Setzt die Empfängerrolle.
|
void |
showConfigurationData(List<DataTableObject> configuringData)
Zeigt die in der Liste übergebenen konfigurierenden Daten an.
|
void |
showOnlineData(int displayOptions)
Zeigt die Onlinedaten der angemeldeten Datenidentifikation an.
|
public static final int ADD_BELOW
public static final int ADD_ABOVE
public static final int ONLY_LATEST
private final Debug _debug
private final UnsubscribingJFrame _frame
private final DataViewModel _dataViewModel
private final DataViewPanel _dataViewPanel
private final ClientDavInterface _connection
private final List<SystemObject> _objects
private final AttributeGroup _attributeGroup
private final Aspect _aspect
private final DataDescription _dataDescription
private ReceiveOptions _receiveOptions
private ReceiverRole _receiverRole
public DataViewFrame(ClientDavInterface connection, SystemObject[] objects, AttributeGroup attributeGroup, Aspect aspect, int simulationVariant)
connection
- Verbindung zum Datenverteilerobjects
- die zu betrachtenden SystemobjekteattributeGroup
- die zu betrachtende Attributgruppeaspect
- der zu betrachtende AspektsimulationVariant
- die Simulationsvariantepublic DataViewFrame(ClientDavInterface connection, List<SystemObject> objects, AttributeGroup attributeGroup, Aspect aspect, int simulationVariant)
connection
- Verbindung zum Datenverteilerobjects
- die zu betrachtenden SystemobjekteattributeGroup
- die zu betrachtende Attributgruppeaspect
- der zu betrachtende AspektsimulationVariant
- die Simulationsvariantepublic DataViewFrame(ClientDavInterface connection, AttributeGroup attributeGroup, Aspect aspect, int simulationVariant)
connection
- die Datenverteiler-VerbindungattributeGroup
- die Attributgruppeaspect
- der AspektsimulationVariant
- die Simualtionsvariantepublic UnsubscribingJFrame getFrame()
getFrame
in interface PrintFrame
public DataViewPanel getDataViewPanel()
getDataViewPanel
in interface PrintFrame
public void setReceiveOptions(ReceiveOptions receiveOptions)
receiveOptions
- die Empfängeroptionenpublic void setReceiverRole(ReceiverRole receiverRole)
receiverRole
- die Empfängerrollepublic void showConfigurationData(List<DataTableObject> configuringData)
configuringData
- die konfigurierenden Datenpublic void showOnlineData(int displayOptions)
displayOptions
- gibt an, wie neue Daten dargestellt werden sollen