public class FluigentJobConfigurationAddon extends ComponentAddonUIAdapter<FluigentJobConfiguration>
| Constructor and Description |
|---|
FluigentJobConfigurationAddon(YouScopeClient client,
YouScopeServer server)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitChanges(FluigentJobConfiguration configuration)
Is called when the current state of all forms etc.
|
protected java.awt.Component |
createUI(FluigentJobConfiguration configuration)
Return a Component (typically a JPanel) containing the UI elements of the addon.
|
protected void |
initializeDefaultConfiguration(FluigentJobConfiguration configuration)
This function is called, and only called, if
AddonUIAdapter.toFrame() or AddonUIAdapter.toPanel(YouScopeFrame) is called without
calling before ComponentAddonUIAdapter.setConfiguration(Configuration). |
addUIListener, closeAddon, createUI, getConfiguration, getConfigurationClass, removeUIListener, setConfigurationaddFrameListener, getAddonMetadata, getClient, getCloseButtonLabel, getContainingFrame, getMicroscope, getPreferredSize, getServer, getTitle, isInitialized, isMaximizable, isMaximize, isResizable, isSeparateFrame, isShowCloseButton, notifyLayoutChanged, removeFrameListener, sendErrorMessage, sendMessage, setCloseButtonLabel, setDescription, setMaximizable, setMaximize, setPreferredSize, setResizable, setShowCloseButton, setTitle, toFrame, toPanelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAddonMetadatapublic FluigentJobConfigurationAddon(YouScopeClient client, YouScopeServer server) throws AddonException
client - Interface to the client.server - Interface to the server.AddonExceptionprotected java.awt.Component createUI(FluigentJobConfiguration configuration) throws AddonException
ComponentAddonUIAdapterAddonUIAdapter.setShowCloseButton(boolean)).createUI in class ComponentAddonUIAdapter<FluigentJobConfiguration>configuration - The current configuration which should be loaded.AddonExceptionprotected void commitChanges(FluigentJobConfiguration configuration)
ComponentAddonUIAdaptercommitChanges in class ComponentAddonUIAdapter<FluigentJobConfiguration>configuration - The configuration in which changes should be saved.protected void initializeDefaultConfiguration(FluigentJobConfiguration configuration) throws AddonException
ComponentAddonUIAdapterAddonUIAdapter.toFrame() or AddonUIAdapter.toPanel(YouScopeFrame) is called without
calling before ComponentAddonUIAdapter.setConfiguration(Configuration). The configuration should then be initialized to its default settings,
which may depend on the state of the microscope, etc.initializeDefaultConfiguration in class ComponentAddonUIAdapter<FluigentJobConfiguration>configuration - Configuration to set to initial values.AddonException