Package jisa.gui
Class Configurator<I extends Instrument>
- java.lang.Object
-
- jisa.gui.JFXElement
-
- jisa.gui.Configurator<I>
-
- All Implemented Interfaces:
Element
public class Configurator<I extends Instrument> extends JFXElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.gui.Element
Element.ElementBorder
-
-
Constructor Summary
Constructors Constructor Description Configurator(java.lang.String name, java.lang.Class<I> target)
Configurator(java.lang.String name, kotlin.reflect.KClass<I> target)
Configurator(Configuration<I> configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration<I>
getConfiguration()
void
linkToConfig(ConfigBlock block)
void
loadFromConfig(ConfigBlock block)
void
writeToConfig(ConfigBlock block)
-
Methods inherited from class jisa.gui.JFXElement
addDialogButton, addDialogMenuButton, addToolbarButton, addToolbarMenuButton, addToolbarSeparator, autoAdjustSize, autoSizeWindow, clearDialogButtons, clearToolbar, close, getIcon, getMaxHeight, getMaxWidth, getMaxWindowHeight, getMaxWindowWidth, getMinHeight, getMinWidth, getNode, getStage, getTitle, getWindowHeight, getWindowWidth, hide, iconProperty, isDecorated, isExitOnClose, isMaximised, isShowing, setCentreNode, setDecorated, setExitOnClose, setIcon, setIcon, setMaxHeight, setMaximised, setMaxWidth, setMaxWindowHeight, setMaxWindowWidth, setMinHeight, setMinWidth, setOnClose, setTitle, setWindowHeight, setWindowSize, setWindowWidth, show, showAsAlert, showAsConfirmation, showAsDialog, titleProperty
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.gui.Element
getBorderedNode, isVisible, setVisible
-
-
-
-
Constructor Detail
-
Configurator
public Configurator(Configuration<I> configuration)
-
Configurator
public Configurator(java.lang.String name, java.lang.Class<I> target)
-
Configurator
public Configurator(java.lang.String name, kotlin.reflect.KClass<I> target)
-
-
Method Detail
-
loadFromConfig
public void loadFromConfig(ConfigBlock block)
-
writeToConfig
public void writeToConfig(ConfigBlock block)
-
linkToConfig
public void linkToConfig(ConfigBlock block)
-
getConfiguration
public Configuration<I> getConfiguration()
-
-