public final class Startup
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addDesignerListener(DesignerListener l)
Add a Listener to get callbacks if some important events happen to the i-net Designer.
|
static DesignerDataModel |
getModel()
Get the data model for the i-net Designer.
|
static void |
main(java.lang.String[] args)
Main method to start the i-net Designer without its own Classloader.
|
static void |
openReport(java.io.File reportFile)
Open a report in the embedded i-net Designer.
|
static void |
removeDesignerListener(DesignerListener l)
Remove a Listener to get callbacks if some important events happen to the i-net Designer.
|
static void |
setModel(DesignerDataModel model)
Set the data model for the i-net Designer.
|
static void |
setProperties(java.util.Properties clearReportsProperties)
Set the properties before the call startEmbedded.
|
static void |
startEmbedded(java.util.Properties clearReportsProperties)
Start the i-net Designer as an embedded Frame in your own application.
|
static void |
startEmbedded(java.util.Properties clearReportsProperties,
java.lang.String[] args)
Start the i-net Designer as an embedded Frame in your own application.
|
public static void setProperties(java.util.Properties clearReportsProperties)
clearReportsProperties
- The configuration properties for the i-net Designer.startEmbedded(Properties)
public static void main(java.lang.String[] args)
args
- Command line arguments to pass to i-net Designer.public static final void startEmbedded(java.util.Properties clearReportsProperties)
clearReportsProperties
- The configuration properties for the i-net Designer.startEmbedded(Properties, String[])
,
setProperties(Properties)
public static final void startEmbedded(java.util.Properties clearReportsProperties, java.lang.String[] args)
clearReportsProperties
- The configuration properties for the i-net Designer. Can be null. If this set then
the menu point "i-net Clear Reports Options" is disabled.args
- The command line parameters with which you can open reports when starting the i-net Designer. The
format on the command line is like this:startEmbedded(Properties)
,
setProperties(Properties)
public static final void openReport(java.io.File reportFile)
reportFile
- The report file which should be opened.java.lang.IllegalStateException
- If startEmbedded(Properties)
was not called first.public static final void addDesignerListener(DesignerListener l)
l
- The Listener to register.public static final void removeDesignerListener(DesignerListener l)
l
- The Listener to unregister.public static final void setModel(DesignerDataModel model)
model
- The model.public static final DesignerDataModel getModel()
Copyright © 1999-2020 by i-net software GmbH