public class Driver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
processUserEvents
Indicate wheter this Driver should respond to user events (e.g.
|
Constructor and Description |
---|
Driver() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Base> |
getWidgets()
Get a list of all widgets registerred with this driver.
|
DiscreteMonitor |
inflateDiscreteMonitor(DiscreteMonitor monitor,
COM.hugin.HAPI.DiscreteNode discreteNode)
Pairing the DiscreteMonitor GUI element and DiscreteNode HUGIN API object.
|
HuginCanvas |
inflateNetwork(HuginCanvas canvas,
COM.hugin.HAPI.Domain domain)
Inflates the entire canvas based on the domain.
|
void |
setUserEventHandler(UserEventHandler handler)
Register a UserEventHandler.
|
void |
updateAndReflow()
Updates all GUI elements registerred with this Driver.
|
public boolean processUserEvents
public DiscreteMonitor inflateDiscreteMonitor(DiscreteMonitor monitor, COM.hugin.HAPI.DiscreteNode discreteNode)
public HuginCanvas inflateNetwork(HuginCanvas canvas, COM.hugin.HAPI.Domain domain) throws COM.hugin.HAPI.ExceptionHugin
COM.hugin.HAPI.ExceptionHugin
public void updateAndReflow()
public void setUserEventHandler(UserEventHandler handler)
public java.util.List<Base> getWidgets()