Package com.ganteater.ae.desktop.view
package com.ganteater.ae.desktop.view
Swing-based views used by the Anteater Engine desktop application.
This package contains UI components (primarily JPanel implementations) that render task
output and logs in the desktop client. Most views extend AbstractView,
which provides a simple lifecycle (initialization with parameters and subsequent output events).
Core concepts
-
View initialization:
AbstractView.init(java.util.Properties, com.ganteater.ae.AEManager)configures the view layout and captures parameters such as the viewname. -
Output dispatch:
AbstractView.out(Object, java.util.Properties)is the entry point for feeding data/events to a view. -
Logging views:
LogViewimplementsILoggerso log records can be routed directly into a UI representation.
Provided view types
-
Text/markup:
Text,HTML,Markdown -
Charts/gauges:
BarChart,PieChart,XYLineChart,DialScale -
Logging:
ListLogView,TextLogView
Example
Properties params = new Properties();
params.setProperty("name", "output");
AbstractView view = new Text();
view.init(params, manager);
view.out("Started", new Properties());
-
Classes