public class ViewCfg
extends java.lang.Object
GralCfgZbnf
.
It means the GUI can be configured without any programming in Java.
Especially one GralCurveView
is supported to show currently values.
The class contains a InterProcessComm
, usual Socket Ethernet communication.
The communication protocol, UDP, is adequate the InspcDataExchangeAccess
.
The association between positions in the datagram and the GUI is also script controlled.
See OamOutFileReader
Modifier and Type | Class and Description |
---|---|
static class |
ViewCfg.CallingArguments
The command-line-arguments are stored in an extra class, which can arranged in any other class too.
|
Modifier and Type | Field and Description |
---|---|
(package private) GralUserAction |
actionShowCurveWindow |
(package private) ViewCfg.CallingArguments |
callingArguments |
GralMng |
gralMng
Composition of a class, that reads the oam messages from the target
and writes into the dayly list and into files.
|
LogMessage |
logCfg |
MainCmdLogging_ifc |
logTextbox |
private OamRcvValue |
oamRcvUdpValue |
private OamShowValues |
oamShowValues |
GralTextBox |
outTextbox |
private boolean |
showValuesOk
Composition of a class, that reads the oam output values from the target
and writes into variables, which are displayed.
|
static java.lang.String |
versionViewCfg
Version and history
2022-09-26 Hartmut more refactored.
|
(package private) GralButton |
wdgbtnOnOff |
GralWindow |
window |
Constructor and Description |
---|
ViewCfg(ViewCfg.CallingArguments cargs)
ctor for the main class of the application.
|
Modifier and Type | Method and Description |
---|---|
void |
doSomethinginMainthreadTillClosePrimaryWindow() |
protected void |
initViewCfg(ViewCfg.CallingArguments cargs) |
static void |
main(java.lang.String[] cmdArgs) |
static int |
smain(java.lang.String[] cmdArgs)
The command-line-invocation (primary command-line-call.
|
protected void |
stepMain() |
public static final java.lang.String versionViewCfg
private final OamShowValues oamShowValues
private boolean showValuesOk
private final OamRcvValue oamRcvUdpValue
public final GralMng gralMng
public final GralWindow window
final GralButton wdgbtnOnOff
public final LogMessage logCfg
public final GralTextBox outTextbox
public final MainCmdLogging_ifc logTextbox
final ViewCfg.CallingArguments callingArguments
GralUserAction actionShowCurveWindow
public ViewCfg(ViewCfg.CallingArguments cargs)
MainCmdWin
.
cargs
- The given calling arguments.gui
- The GUI-organization.protected void initViewCfg(ViewCfg.CallingArguments cargs) throws java.io.IOException
java.io.IOException
protected void stepMain()
public void doSomethinginMainthreadTillClosePrimaryWindow()
public static int smain(java.lang.String[] cmdArgs)
args
- Some calling arguments are taken. This is the GUI-configuration especially.
-gui=guiCfg/gui.cfg -size=B -timeZone=GMT --report:T:\tmp\GUI.log --rlevel:334possible in a file called with argument
--@guiCfg/gui.args
The gui.cfg contains widgets to show, especially a curveView, for example: size(500,120); //@ 2,1:Text(GUI SES-Parameter);
public static void main(java.lang.String[] cmdArgs)