public abstract class StartStoppElementEditor<T>
extends com.googlecode.lanterna.gui2.dialogs.DialogWindow
Constructor and Description |
---|
StartStoppElementEditor(de.bsvrz.sys.startstopp.api.jsonschema.StartStoppSkript skript,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
abstract T |
getElement() |
de.bsvrz.sys.startstopp.api.jsonschema.StartStoppSkript |
getSkript() |
com.googlecode.lanterna.gui2.WindowBasedTextGUI |
getTextGUI() |
boolean |
handleInput(com.googlecode.lanterna.input.KeyStroke key) |
protected abstract void |
initComponents(com.googlecode.lanterna.gui2.Panel mainPanel) |
java.lang.Boolean |
showDialog(com.googlecode.lanterna.gui2.WindowBasedTextGUI textGUI) |
addWindowListener, close, draw, fromGlobal, getDecoratedSize, getHints, getPosition, getPostRenderer, getPreferredSize, getSize, getTitle, isVisible, removeWindowListener, setCloseWindowWithEscape, setContentOffset, setDecoratedSize, setHints, setPosition, setSize, setTextGUI, setTitle, setVisible, setWindowPostRenderer, toGlobal, waitUntilClosed
addBasePaneListener, getBasePaneListeners, getComponent, getCursorPosition, getFocusedInteractable, getTheme, invalidate, isInvalid, removeBasePaneListener, setComponent, setEnableDirectionBasedMovements, setFocusedInteractable, setFocusedInteractable, setStrictFocusChange, setTheme
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public StartStoppElementEditor(de.bsvrz.sys.startstopp.api.jsonschema.StartStoppSkript skript, java.lang.String title)
public java.lang.Boolean showDialog(com.googlecode.lanterna.gui2.WindowBasedTextGUI textGUI)
showDialog
in class com.googlecode.lanterna.gui2.dialogs.DialogWindow
protected abstract void initComponents(com.googlecode.lanterna.gui2.Panel mainPanel)
public abstract T getElement()
public boolean handleInput(com.googlecode.lanterna.input.KeyStroke key)
handleInput
in interface com.googlecode.lanterna.gui2.BasePane
handleInput
in interface com.googlecode.lanterna.gui2.Window
handleInput
in class com.googlecode.lanterna.gui2.AbstractWindow
public de.bsvrz.sys.startstopp.api.jsonschema.StartStoppSkript getSkript()
public com.googlecode.lanterna.gui2.WindowBasedTextGUI getTextGUI()
getTextGUI
in interface com.googlecode.lanterna.gui2.BasePane
getTextGUI
in interface com.googlecode.lanterna.gui2.Window
getTextGUI
in class com.googlecode.lanterna.gui2.AbstractWindow