Package org.qdl_lang.gui.editor
Class QDLEditor
- java.lang.Object
-
- org.qdl_lang.gui.editor.QDLEditor
-
- Direct Known Subclasses:
QDLSASEditor
public class QDLEditor extends Object
A standalone editor for QDL. This can be invoked by the GUI.Created by Jeff Gaynor
on 8/10/22 at 1:36 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classQDLEditor.ControlOperationsclassQDLEditor.MyKeyAdapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent$$$getRootComponent$$$()intgetArgState()For functions, this is the number oif arguments, for variables it is a representation of various state flags.Map<String,String>getCharMap()UUIDgetID()StringgetLocalName()protected SwingTerminalgetSwingTerminal()intgetType()The type of object, as perEditDoneEvent.WorkspaceCommandsgetWorkspaceCommands()protected voidinit()static voidmain(String[] args)voidsetArgState(int argState)voidsetLocalName(String localName)voidsetType(int type)voidsetup()voidsetup(String content)voidsetWorkspaceCommands(WorkspaceCommands workspaceCommands)
-
-
-
Constructor Detail
-
QDLEditor
public QDLEditor(WorkspaceCommands workspaceCommands, String alias, int handle) throws HeadlessException
- Throws:
HeadlessException
-
QDLEditor
public QDLEditor()
-
QDLEditor
public QDLEditor(File file)
-
-
Method Detail
-
getSwingTerminal
protected SwingTerminal getSwingTerminal()
-
getWorkspaceCommands
public WorkspaceCommands getWorkspaceCommands()
-
setWorkspaceCommands
public void setWorkspaceCommands(WorkspaceCommands workspaceCommands)
-
getLocalName
public String getLocalName()
-
setLocalName
public void setLocalName(String localName)
-
getArgState
public int getArgState()
For functions, this is the number oif arguments, for variables it is a representation of various state flags.- Returns:
-
setArgState
public void setArgState(int argState)
-
getType
public int getType()
The type of object, as perEditDoneEvent.- Returns:
-
setType
public void setType(int type)
-
getID
public UUID getID()
-
init
protected void init()
-
$$$getRootComponent$$$
public JComponent $$$getRootComponent$$$()
-
main
public static void main(String[] args)
-
setup
public void setup(String content)
-
-